2970 Commits

Author SHA1 Message Date
Nick Treleaven
ce31ebda16 Don't complete snippets if there's a selection.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4331 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-16 16:42:38 +00:00
Nick Treleaven
a7f252dd3f Improve CamelCase word part autocompletion for runs of capital letters.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4330 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-16 16:36:09 +00:00
Nick Treleaven
d5404fa57f Undo merge of Scintilla.h, Scintilla.iface from upstream - could be confusing.
Keep new SCI_AUTOCGETCURRENTTEXT message though.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4328 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-16 16:19:51 +00:00
Nick Treleaven
fc00f011c8 Improve word part autocompletion so AC list is not cancelled and
reshown (this also stops the selection changing).
Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
Merge Scintilla.h, Scintilla.iface from upstream.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4327 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-16 12:13:01 +00:00
Nick Treleaven
3b129fdaea Remove unnecessary line number margin padding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4326 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-16 11:07:49 +00:00
Lex Trotman
24ed3cd619 Fix crash opening project when Geany started with no geany.conf.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4325 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-16 00:53:00 +00:00
Nick Treleaven
120af21ccb Call editor_apply_update_prefs() from editor_create_widget() so
correct tab width and other settings are applied for Split Window
plugin.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4323 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-15 17:55:30 +00:00
Nick Treleaven
0b8c46a8a8 Add highlighting_set_styles() to API, use for Split Window plugin so
filetypes.common settings get set too.
Make highlighting_set_styles() take GeanyFiletype pointer instead of
filetype id.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4322 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-15 16:54:15 +00:00
Nick Treleaven
cf35a8a495 Revert r4301 - utils_free_pointers() taking 4 arguments.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4321 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-15 16:15:28 +00:00
Nick Treleaven
6befde884b Add word part autocompletion for the current selected item when
pressing Tab - Enter still completes normally.
Add foreach_str() API macro.
Temporarily modify scintilla to say if tab was used for
autocompletion.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4320 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-15 14:57:11 +00:00
Nick Treleaven
d83416fdd1 Fix warning when using Find in Files with no documents open; make
keybinding work in this case.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4315 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-14 14:07:28 +00:00
Nick Treleaven
d9a5d81356 Move Tools configuration items to top of menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4314 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-14 13:51:43 +00:00
Nick Treleaven
fb7d31512f Fix wrong escaping (patch by dmaphy, thanks - closes 2878138).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4312 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-14 12:43:51 +00:00
Nick Treleaven
539f8b3068 Add document_get_notebook_page() to API.
Minor edits of dox.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4311 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-14 12:21:18 +00:00
Nick Treleaven
d2a93f351d Add stock close buttons to notebook tab popup menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4310 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-14 12:04:05 +00:00
Nick Treleaven
a50c65602b Don't include trailing newlines when using reflow command.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4309 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-14 11:46:56 +00:00
Nick Treleaven
39cdcac742 Make Split Window 'Show current document' button have a drop-down menu
to select the other documents.
Add new API function ui_menu_add_document_items().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4308 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-13 17:14:25 +00:00
Lex Trotman
563cca15c0 Fix sensitivity settings for compile and build toolbar items
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4307 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-12 23:54:47 +00:00
Nick Treleaven
2ed2fe1af6 Fix memory leaks with gtk_container_get_children().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4305 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-12 16:31:38 +00:00
Frank Lanitz
717f0b6009 Add Galician translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4304 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-12 16:19:11 +00:00
Nick Treleaven
f36c9024a3 Make utils_free_pointers() take 4 arguments, add to API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4301 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-12 16:03:10 +00:00
Nick Treleaven
f453cc456e Add GeanyKeyGroup callback support, which allow keybinding callbacks
to be ignored if inappropriate so a later keybinding with the same
key combination can intercept it. (Also group callbacks are usually
tidier than separate callbacks).
Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4300 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-12 11:50:45 +00:00
Nick Treleaven
f7165a030f Put old filetype template menu items in 'Old' submenu as they should
be removed after the 0.19 release.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4299 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-12 11:15:08 +00:00
Nick Treleaven
ccd566e2d1 Don't use filetype submenus for templates (slower to navigate, often
only 1 per-filetype anyway).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4297 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-12 10:53:39 +00:00
Lex Trotman
d94e2085fa Ensure that old style build config is not loaded if it does not exist.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4296 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-12 08:25:04 +00:00
Enrico Tröger
541d7689ff Apply set default encoding for existing files only if the files are non-Unicode (patch by Alexey Antipov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4294 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-11 10:51:12 +00:00
Nick Treleaven
f47acb132c Call apply_filetype_properties() from styleset_c_like().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4291 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-04 12:15:29 +00:00
Nick Treleaven
90bdc7e35a Move new_styleset() and preprocessor setup code into styleset_c_like[_init]().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4290 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-04 11:55:50 +00:00
Enrico Tröger
62c474ffad Map global types (read from tags files) to keyword style for filetype Java.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4287 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-03 16:35:34 +00:00
Enrico Tröger
a41e95b392 Enable embedded page setup properties in the (Unix) Print dialog on newer GTK versions (closes #2870596).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4286 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-03 16:17:22 +00:00
Enrico Tröger
3a04de1144 Improve information about predefined keybindings which are commonly used across applications (patch by Lex Trotman, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4285 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-03 16:04:05 +00:00
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
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
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
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
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
efce57c588 Remove unused [styling] arguments.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4253 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-28 11:32:38 +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