105 Commits

Author SHA1 Message Date
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
Enrico Tröger
01ace30125 Removed URL highlighting code(useless feature, never was enabled).
Set policy settings for the scolledwindow.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@476 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 18:43:56 +00:00
Enrico Tröger
4b66194a4f updated FSF address in COPYING, replaced "Members" by "Methods" to make it clearer
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@417 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-06 17:53:03 +00:00
Enrico Tröger
88e763b9cc improved parser to detect variables and members
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@327 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-12 23:23:52 +00:00
Enrico Tröger
887f75bb18 improved symbol list for filetype Perl
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@321 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-10 23:00:22 +00:00
Enrico Tröger
771b490c07 disabled interactive search function since it never worked and is unnecessary and confusing
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@285 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-28 15:05:11 +00:00
Enrico Tröger
4cd5a52af8 replaced GEANY_FILETYPES_TEX by GEANY_FILETYPES_LATEX
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@269 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-25 16:30:31 +00:00
Enrico Tröger
cbee7ba9f3 added tag support for "\begin" in filetype LaTeX
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@149 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-23 17:06:12 +00:00
Enrico Tröger
0d200827e0 added category class to the symbol list, changed category names for filetype DocBook and LaTeX
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@138 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-16 17:46:14 +00:00