Nick Treleaven
a54ddf4795
Added File Browser sidebar plugin.
...
Rename 'Open Files' sidebar tab 'Documents'.
Add keybindings->send_command() and tm->get_real_path() to the plugin
API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1966 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-22 12:42:19 +00:00
Enrico Tröger
ebf639e243
Try to fix a bug with toggling of full path setting in the open files list.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1946 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-15 14:14:56 +00:00
Enrico Tröger
1d9c244ad1
Add menu accelerators to the symbol and open files list popup menus.
...
Add option to display full path name in the open files list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1941 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-13 09:28:26 +00:00
Enrico Tröger
4a0977c905
Add full file name as tooltip in the open files list (only for GTK 2.12 and above).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1936 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-09 12:26:44 +00:00
Enrico Tröger
2eaa1d8dcf
Fix wrong insert position of Insert Date function when using keyboard shortcut and place the cursor behind the inserted date.
...
Enable horizontal scrollbar for the Open Files list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1932 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-08 12:10:03 +00:00
Nick Treleaven
852a4dbb50
Fix bug when using Navigate backwards after using the keyboard to
...
set the cursor position on the current word.
Add symbols_goto_tag().
Replace navqueue_append() with navqueue_goto_line().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1900 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-25 12:39:41 +00:00
Nick Treleaven
04802a6a8c
Only focus the current document after switching pages if the open
...
files treeview currently has focus (otherwise focus commands can be
overridden, e.g. when pressing F4 during opening several files).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1843 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-30 14:24:26 +00:00
Nick Treleaven
ef1399e000
Rename MyApp -> GeanyApp.
...
Move most GeanyApp fields into:
GeanyPrefs for (most) Preferences dialog fields;
UIPrefs for non-Prefs dialog visual settings;
UIWidgets for less commonly used widgets such as menuitems and
dialogs;
GeanyStatus for various states the application can be in.
Move some GeanyApp fields into EditorPrefs (and one into each of
CommandLineOptions and SidebarTreeviews).
Add plugin API prefs field.
Move disabling build widgets on Windows to build_init().
Make build callbacks static.
Add treeviews_init() to prepare popup menus and open files treeview.
Replace treeviews_find_node() with treeviews_select_openfiles_item().
Make utils_isbrace() and utils_is_opening_brace() take an
'include_angles' argument (to separate from editor_prefs).
Make 'Goto matching brace' keybinding include <> angle brackets.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1815 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-23 11:34:06 +00:00
Enrico Tröger
4f74783fb1
Add menu items for different sorting of the symbol list to the symbol list popup menu.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1802 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-15 17:58:58 +00:00
Nick Treleaven
9f46d083c5
Move #define PLAT_GTK to geany.h.
...
Move filetype typedef to geany.h.
Don't #include any src/*.h files from headers.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1800 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-15 15:37:21 +00:00
Enrico Tröger
a7975ccc93
Extend icon search path to get symbol list icons working when using a non-standard installation prefix.
...
Query default icon theme only once to improve startup speed.
Store the line number separately in the tree store.
Remove utils_get_local_tag().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1731 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-22 14:38:47 +00:00
Nick Treleaven
0994c76194
Apply patch to add symbol list icons from Jean-François Wauthy
...
(thanks). Also thanks to KDevelop for the icons.
Add list of projects to THANKS.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1728 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-20 16:33:16 +00:00
Nick Treleaven
367465ba51
Prevent warning when clicking on symbol list parent items.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1724 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-19 11:15:42 +00:00
Nick Treleaven
048a5e40fa
Add a navigation queue position when clicking on symbol list items.
...
Prevent duplicates in the navigation queue.
Add navqueue_append() which adds the current document position to the
queue before adding the new position.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1718 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 16:11:38 +00:00
Nick Treleaven
80e0695bd8
Prevent warning when closing files when Geany is busy (e.g. pressing
...
Ctrl-W when opening files).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1698 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-13 10:46:11 +00:00
Enrico Tröger
34e0036c10
Focus the editor widget after switching between files with the open files list.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1686 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-09 16:01:23 +00:00
Enrico Tröger
0cf4d764ec
Prevent double jump to line when clicking on a symbol list item.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1606 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-10 11:28:54 +00:00
Nick Treleaven
58e151698e
Replace filetype::has_tags member with filetype_has_tags().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1578 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-26 12:13:53 +00:00
Nick Treleaven
638af6cd6d
Don't recreate the open files items when DnD reordering tabs, now
...
that the open files treeview is sorted alphabetically.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1394 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-14 12:11:50 +00:00
Nick Treleaven
806dd5be1d
Add descriptions for all .c source files below the file header.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1329 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-24 11:41:56 +00:00
Enrico Tröger
25e41fbf3b
Aligned "No symbols found" label to top.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1289 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-15 23:20:41 +00:00
Nick Treleaven
df55c90164
Allow popup Symbols menu when the current document has no tags, so
...
the sidebar can be hidden.
Use a GtkLabel to display 'No tags found'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1273 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-13 12:02:16 +00:00
Nick Treleaven
b8491a2b7d
Move ui_update_tag_list() to treeviews.c.
...
Make treeviews_prepare_taglist() static.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1249 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-05 16:17:44 +00:00
Nick Treleaven
807751de31
Prevent right click in Symbol list from selecting a tag.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1248 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-05 15:40:33 +00:00
Enrico Tröger
420533087f
Applied patch from Tomás Vírseda to sort the list of open files in the sidebar alphabetically (thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1241 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-01 15:43:13 +00:00
Enrico Tröger
7b61ad934d
Updated copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1188 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-14 17:36:42 +00:00
Nick Treleaven
23d856ae93
Move treeviews_init_tag_list() and symbol list GtkTreeIters to
...
symbols.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1183 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-14 12:12:18 +00:00
Nick Treleaven
4fa9eb2e8c
Don't select the current document when reordering tabs (fixes
...
#1632708 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1175 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-12 13:04:39 +00:00
Nick Treleaven
fe39c70821
Fix for C89 compatibility.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1154 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-03 12:50:57 +00:00
Enrico Tröger
0760d24a2e
When opening a file, set the current selected entry in the open files list to the file's filename.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1151 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-31 15:47:37 +00:00
Nick Treleaven
606fef2b13
Fix tag treeview not being freed (because of g_object_ref).
...
Separate recreate_tag_list() from ui_update_tag_list().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1129 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-20 10:47:01 +00:00
Nick Treleaven
533d61fb68
Fix memory leaks when using GdkPixbuf, PangoFontDescription and some
...
strings.
Capitalize main window title.
Add ui_widget_modify_font_from_string().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1089 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-13 15:18:49 +00:00
Enrico Tröger
c36e8de3c8
Let the LaTeX parser recognise the keyword \chapter.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1054 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-05 16:03:18 +00:00
Nick Treleaven
1edaaa3d6c
Show read-only notebook tabs in green.
...
Add document_get_status() to get the tab colour for the document.
Use ui_update_tab_status() to update notebook tabs and open files
treeview items.
Avoid using GtkTreeIter struct as treeviews function arguments.
Remove unneeded arguments for treeviews_openfiles_add(),
notebook_new_tab().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1053 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-05 10:37:36 +00:00
Enrico Tröger
9b7569e3ef
Added new filetype VHDL.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@991 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-13 22:11:19 +00:00
Nick Treleaven
e45929b446
Don't unset openfiles & symbols visible settings when hiding the Sidebar.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@983 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-10 12:56:13 +00:00
Enrico Tröger
aecd641ce3
Fixed unintentional appearance of sidebar after it was hidden and the preferences dialog was closed.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@973 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-07 13:33:50 +00:00
Enrico Tröger
432e7d734f
Removed "begin" section in symbol list and sort it at environment.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@949 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-30 23:00:26 +00:00
Enrico Tröger
1aa3a761ac
Moved all treeview related callback functions from callbacks.c to msgwindow.c and treeviews.c.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@945 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-29 13:48:39 +00:00
Enrico Tröger
77a424a270
Colour also the open files list items according to their changed state.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@944 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-29 13:03:13 +00:00
Enrico Tröger
59335b597f
Use enum values to reference different treeview widgets (code cleanup).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@904 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-18 20:48:54 +00:00
Enrico Tröger
10c0780d4d
Use "::" as context separator only for C++, otherwise use ".".
...
Detect module declarations in D and put them in the symbol list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@903 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-18 20:11:05 +00:00
Enrico Tröger
2f5ee59a29
Improved symbol list view for filetype Java.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@895 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-13 23:47:18 +00:00
Enrico Tröger
adc721c522
Added simple parser for filetype Diff to create tags for each patched file in a diff file.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@883 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-11 19:45:40 +00:00
Nick Treleaven
a63fc1e40e
Moved UI related utils from utils.c to ui_utils.c
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@790 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-05 14:24:47 +00:00
Enrico Tröger
b362185772
Fixed a crash when switching between several filetypes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@771 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-28 16:27:16 +00:00
Nick Treleaven
7d8637f549
Fixed all sign comparison warnings
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@684 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-08 13:01:50 +00:00
Nick Treleaven
063c703225
Fix a warning when updating open files treeview.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@608 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-22 19:27:12 +00:00
Enrico Tröger
285cda8924
Keep the list of open files in sync when reordering notebook tabs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@606 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-22 14:36:20 +00:00
Enrico Tröger
2269d3d47e
Reload also the symbol list when reloading a file.
...
Changed some titles to plural. Added own definitions for filetype Python.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@489 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 16:19:28 +00:00