Nick Treleaven
7e90bfb369
Warn if custom template file no longer exists.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4283 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-01 16:39:38 +00:00
Nick Treleaven
aa55a88a2b
Simplify file menu signal connection a little.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4281 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-01 16:10:33 +00:00
Nick Treleaven
02e7da5466
Don't create templates/filetype.none either.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4280 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-01 15:56:51 +00:00
Nick Treleaven
02fabf16c2
Only use one 'New with template' submenu - reparent as needed.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4279 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-01 14:40:42 +00:00
Nick Treleaven
050971120d
Group 'New with template' items by filetype submenu (currently only for
...
toolbar menu).
Show custom file template items before filetype template items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4278 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-01 11:56:04 +00:00
Nick Treleaven
48c3918e13
Use jscript_keyword for SCE_HB[A]_WORD markup styles.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4276 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-01 11:16:12 +00:00
Nick Treleaven
86f6f8621e
Fix wrong creation of filetype template menu items for custom
...
filetypes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4275 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-01 11:06:08 +00:00
Enrico Tröger
8d79e62937
Add missing icon for Java packages in the Symbol List.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4274 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-30 19:44:59 +00:00
Nick Treleaven
7bb57aca2b
Move filetype template defaults into custom file template files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4273 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-30 17:40:10 +00:00
Nick Treleaven
ed260aa72d
Read custom file templates from $prefix/share/geany/templates/files as
...
well as user dir.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4271 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-30 14:39:47 +00:00
Nick Treleaven
d83caa6481
Add Vala keywords to conf file.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4270 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-30 12:10:24 +00:00
Nick Treleaven
640795260c
Fix minor memory leak.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4268 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-29 14:12:55 +00:00
Nick Treleaven
8bdacdf027
Use foreach_dir().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4267 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-29 13:57:43 +00:00
Nick Treleaven
3ae9a30e57
Add utils_get_file_list_full() to API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4265 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-29 13:51:54 +00:00
Nick Treleaven
550acb30be
Add utils_get_file_list_full() which can optionally sort or include
...
a full path for each list item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4264 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-29 12:10:17 +00:00
Nick Treleaven
59c90a1a41
Use static toolbar_new_file_menu pointer.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4263 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-29 11:39:35 +00:00
Nick Treleaven
8f7f5f95cf
Use foreach_dir() instead of utils_get_file_list() as list is resorted anyway.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4262 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-29 11:31:25 +00:00
Nick Treleaven
e8d7322871
Change Perl tag parser to ctags SVN r601. This removes support for
...
buggy local/my/our but it parses constant/format/labels and should
be less buggy overall (closes #2861232 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4261 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-29 11:07:10 +00:00
Nick Treleaven
783204f6ff
Add sci_set_keywords() wrapper.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4260 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-28 16:27:14 +00:00
Nick Treleaven
ed72eeefce
Show build 'Compilation failed' message in blue also, to distinguish it from build output.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4259 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-28 16:24:58 +00:00
Nick Treleaven
b897991cad
Remove filetype keyword defaults from the code - just read them from
...
configuration files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4258 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-28 16:14:24 +00:00
Nick Treleaven
2f3a5ac325
Add apply_style_entries() to simplify implementing styleset_foo().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4257 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-28 15:55:49 +00:00
Nick Treleaven
deeef8d1d1
Remove style defaults from the code - just read them from
...
configuration files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4256 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-28 15:33:05 +00:00
Nick Treleaven
caec1ec7c3
Rename treeviews.[hc] -> sidebar.[hc].
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4252 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-28 11:16:59 +00:00
Enrico Tröger
41b97edf06
Fix setting the appropriate page of the combined plugins preferences dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4251 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-27 20:31:16 +00:00
Nick Treleaven
e0bf328c15
Fix possible segfault in get_keyfile_int() if key value is malformed.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4247 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-27 16:38:37 +00:00
Nick Treleaven
c0dcc7002b
Change new html_asp_default_language markup pref to use integer,
...
not hex in config file.
Fix minor issue with changing pref back to 0.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4246 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-27 16:16:18 +00:00
Nick Treleaven
4e386fcc2b
Add get_keyfile_ints() instead of using tmp_style hack.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4245 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-27 15:59:58 +00:00
Nick Treleaven
8c38bdd745
Add plugin_show_configure() API utility function.
...
Add File Browser popup menu 'Preferences' item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4244 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-27 14:07:24 +00:00
Nick Treleaven
7b122a3bf8
Don't build pluginutils.o if HAVE_PLUGINS is not defined.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4243 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-27 13:41:08 +00:00
Nick Treleaven
ce104016c9
Show plugins that only implement plugin_configure_single() in the
...
multiple-configure dialog as a page with a configure button on it.
Add padding for multiple-configure dialog.
Make the multiple-configure dialog notebook tabs scrollable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4241 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-27 12:01:36 +00:00
Nick Treleaven
6334ec1676
Focus editor after entering a number in the goto line toolbar entry.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4239 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-27 11:06:04 +00:00
Nick Treleaven
d4b03c6ee4
Update for 1 contributor.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4238 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-27 10:54:34 +00:00
Nick Treleaven
e34c8879d9
Only focus toolbar goto line entry when pressing keybinding if it's
...
visible (patch by Eugene Arshinov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4237 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-27 10:51:44 +00:00
Enrico Tröger
edd50b5f6c
Add "html_asp_default_language" pseudo style to filetypes.xml to allow setting the used language in embedded ASP code (patch by Ross McKay, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4235 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-24 17:12:36 +00:00
Nick Treleaven
83f0cdbec0
Show multiple plugins in the 'Configure Plugins' dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4234 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-24 16:54:08 +00:00
Nick Treleaven
20a5fb25f6
Add plugin_configure_single() plugin symbol which is easier to
...
implement than plugin_configure() but won't support a
multiple-plugin configure dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4233 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-24 16:28:59 +00:00
Nick Treleaven
a60a63cc39
Fix showing the document before reload dialog when opening an
...
already-open file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4232 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-24 16:19:27 +00:00
Nick Treleaven
8cb41745c2
Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
...
keybinding use line breaking column when enabled.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4231 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-24 11:26:59 +00:00
Enrico Tröger
ae11cb9b1a
When reloading files, use the previously set encoding instead of detecting it again ( closes #2862041 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4223 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 20:48:50 +00:00
Enrico Tröger
f8b18257ee
Fix compiler warnings about uninitialised variables.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4222 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 20:31:39 +00:00
Nick Treleaven
4dd1081278
Make 'Go to Line' keybinding focus the toolbar entry if visible.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4221 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 17:11:42 +00:00
Nick Treleaven
bc2b6829c5
Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4220 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 16:46:16 +00:00
Nick Treleaven
dcd66f09a0
Add & use ui_label_set_markup(), ui_label_new_bold().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4219 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 16:21:03 +00:00
Nick Treleaven
67c743fe72
Fix none filetype Build Commands dialog label.
...
Make group labels bold.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4218 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 13:24:39 +00:00
Nick Treleaven
d769afa138
Add padding for Build Commands dialog separators.
...
Add colons for regex field labels; fix 1 capitalisation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4217 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 13:08:36 +00:00
Nick Treleaven
cd97d9b446
Split Build Commands dialog notes label and edit text.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4216 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 12:58:05 +00:00
Nick Treleaven
77b060e1cc
Expand command entry width when expanding Build Commands dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4215 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 12:47:20 +00:00
Nick Treleaven
64dc60bd82
Speed up sorting in utils_get_file_list(). This reduces the file
...
browser delay on displaying a big directory, e.g. /usr/bin.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4214 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 12:34:16 +00:00
Enrico Tröger
058cb32aa7
Fix integer conversion
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4213 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-20 19:09:24 +00:00