4492 Commits

Author SHA1 Message Date
Nick Treleaven
078a9cdc7d Add 'Move line(s) up/down' keybindings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4354 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-22 11:28:59 +00:00
Nick Treleaven
270a8d8b14 Update for 2 changes yesterday (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4353 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-22 11:04:45 +00:00
Lex Trotman
8c70e03ed8 Make non-project execute configuration save to filetypes not geany.conf.
Fix closing of project failing to remove build commands dialog entry.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4352 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-22 09:19:30 +00:00
Lex Trotman
a231fa36d8 Include code for project filetype execute commands and fix bug in
saving project filetypes list.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4351 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-22 00:46:54 +00:00
Nick Treleaven
f4620698ae Set border width for project properties build table.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4350 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-21 11:59:33 +00:00
Nick Treleaven
5944520301 Don't expand hard tab width alignment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4349 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-21 11:49:48 +00:00
Nick Treleaven
b2cdf67d51 Edit label.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4348 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-21 11:31:58 +00:00
Nick Treleaven
225dd7d4dd Add 'Switch to Messages' focus keybinding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4347 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-20 16:59:00 +00:00
Nick Treleaven
af8d96f077 Add 'Select to previous/next word part' keybindings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4346 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-20 16:01:07 +00:00
Nick Treleaven
c21db70d46 Fix typo GEANY_KEYS_GOTO_[NEXT|PREV]WORDSTART -> WORDPART.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4345 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-20 15:45:07 +00:00
Nick Treleaven
42119d8f3b Add 'Word part completion' keybinding so keys other than Tab can be
used, or to clear/change the combination so Tab does full completion
like before.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4344 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-20 15:35:44 +00:00
Nick Treleaven
d17141ca9a Support loading global tags files for custom filetypes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4343 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-20 12:07:12 +00:00
Frank Lanitz
a14cd5fe97 Update of Galician translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4342 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-19 18:28:46 +00:00
Nick Treleaven
e9547d1664 Avoid allocating GError in utils_get_setting_string().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4341 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-19 15:19:09 +00:00
Nick Treleaven
7c450e2939 Add filetype "lexer_filetype" key so custom filetypes can use an
existing lexer.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4340 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-19 14:58:51 +00:00
Nick Treleaven
68657d327b Add filetype "tag_parser" key so custom filetypes can use an existing
tag parser.
Add tm_source_file_get_named_lang().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4339 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-19 14:24:40 +00:00
Nick Treleaven
c7159b7974 Add 'Custom filetypes' section.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4338 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-19 12:15:42 +00:00
Nick Treleaven
fdb87f98cc Rerun ./scripts/fix-alignment.pl.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4337 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-19 11:50:36 +00:00
Nick Treleaven
6d99470e78 Enforce 'fn(void);' in function prototypes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4336 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-19 11:49:22 +00:00
Frank Lanitz
9f3fd037bc Update of simplified Chinese translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4335 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-19 08:54:36 +00:00
Frank Lanitz
de40d5205a Update of simplified Chinese translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4334 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-19 07:12:37 +00:00
Frank Lanitz
a7415bbf3c Add Xhacker Liu to list of translators.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4333 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-19 07:12:08 +00:00
Frank Lanitz
92099c0999 Minor update of German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4332 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-17 08:15:28 +00:00
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
d3350e0bbc Revert temporary change for scintilla to say if tab was used for autocompletion.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4329 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-16 16:25:17 +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
Frank Lanitz
9fd485f204 Set English for default babel language
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4324 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-15 19:20:12 +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
46ef07f0ab Change many SSM() macros to use sciwrappers.h instead.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4319 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-14 16:00:40 +00:00
Nick Treleaven
bb6526e717 Remove unnecessary case statement braces.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4318 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-14 15:40:12 +00:00
Nick Treleaven
7b18977916 Remove unnecessary CalltipReshowInfo struct - as the calltip reshowing is delayed, autocompletion has already worked normally.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4317 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-14 14:29:05 +00:00
Nick Treleaven
49a8d9dc0b Use sci_insert_text() instead of SSM().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4316 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-14 14:13:24 +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
f41037f219 Remove another wrong escape.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4313 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-14 12:45:06 +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
Frank Lanitz
59971e7929 Don't escape \ on LaTeX template
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4306 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-12 17:45: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