3468 Commits

Author SHA1 Message Date
Nick Treleaven
4b000e09ae Move %ws and %newline% replacement into snippets-only code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3387 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-16 16:27:17 +00:00
Nick Treleaven
604fb1c627 Set Find in Files directory entry to project base path or current
working directory if the current file has no path.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3386 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-16 13:38:10 +00:00
Nick Treleaven
b5b26551e8 Snippet indentation will be replaced according to indent mode.
Minor edit of snippet docs.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3385 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-16 13:26:39 +00:00
Nick Treleaven
9fd3fd612c Fix replacing %ws% and %newline% in snippets (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3384 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-16 13:16:33 +00:00
Nick Treleaven
8de6b131c9 Remember Find in Files mode at startup.
Add configuration_add_pref_group(), with separate array for GUI
prefs.
Move search pref group to search.c.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3383 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-16 13:01:47 +00:00
Enrico Tröger
9d84753cdf Remove checks for the executable when executing a file.
The executed interpreter or the shell should handle file not found error and print appropriate messages.
This makes it a bit more flexible, e.g. allowing to use gcj for Java files.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3382 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-15 21:21:19 +00:00
Enrico Tröger
8f7c80a15a Use wrapper instead of SCI_BRACEMATCH.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3381 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-15 21:20:53 +00:00
Enrico Tröger
43ecef8c55 Fix a few compiler warnings about unused return values caused by recent glibc versions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3380 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-15 21:20:34 +00:00
Enrico Tröger
860fd1a842 Replace the 'else if's by a switch contruct.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3379 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-15 21:20:04 +00:00
Enrico Tröger
ff8664150b Improve auto-closing of braces, brackets and quotes (patch by Guillaume de Rorthais, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3378 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-15 21:19:44 +00:00
Frank Lanitz
9c230d280a Update of Turkish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3377 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-15 18:13:31 +00:00
Nick Treleaven
8a8c90f3ca Use wrappers instead of SCI_LINEFROMPOSITION, SCI_BRACEMATCH.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3376 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-15 16:30:54 +00:00
Nick Treleaven
f4fd1ea2ca Use Stash radio button prefs instead of RadioPrefEntry.
Add stash_group_add_radio_buttons().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3375 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-15 13:02:29 +00:00
Frank Lanitz
aaf3e6aa4f Update of German translations
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3374 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-13 11:36:05 +00:00
Nick Treleaven
6300da581f Add comment for editor_read_word_stem().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3373 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-12 13:32:13 +00:00
Enrico Tröger
6a27ca2d34 On Windows rectangular selections can only be created by pressing Ctrl and Alt where on other systems Ctrl and Shift works too (thanks to SlashLife and ioguix for reporting).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3372 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 19:21:08 +00:00
Enrico Tröger
c8a5db5f6b Update comment about using different configuration directories with multiple instance support on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3371 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 19:05:17 +00:00
Nick Treleaven
7aa181f2e2 Make snippets only complete for the word stem to the left of the
cursor (#2390597).
Make snippets complete even when text is to the right of the
cursor and the hidden pref is not set, unless the snippet
completion key is space.
Fix possible memory leak when reading current word.
Add editor_read_word_stem().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3370 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 18:54:35 +00:00
Enrico Tröger
caa6e43a43 Oops, sorry.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3369 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 17:49:27 +00:00
Enrico Tröger
6de08d45d2 Typo
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3368 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 17:47:13 +00:00
Enrico Tröger
bfdfc25327 Fix Windows build.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3367 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 17:46:13 +00:00
Enrico Tröger
c536d51915 Fix compiler warning about a possibly uninitialised variable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3366 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 17:43:43 +00:00
Enrico Tröger
023c70b887 Mention Hiro in the copyright notice as the code is based on Sylpheed's socket implementation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3365 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 17:37:21 +00:00
Enrico Tröger
0d0ac9fe4e Rename symbol list label for embedded script functions from 'Javascript functions' to 'Functions' to avoid confusion when it finds symbols from other embedded languages (part of #2317001).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3364 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 17:32:11 +00:00
Nick Treleaven
35b3b5895a Make Shift+Mouse wheel scroll the editor view horizontally
(#2410732).
Add function sci_scroll_columns().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3363 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 17:18:06 +00:00
Enrico Tröger
030f9c5c77 Move ui_auto_separator_add_ref() and related code back to ui_utils.c since it's no toolbar specific code (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3362 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 16:56:28 +00:00
Enrico Tröger
5d97590d21 Fix plugin toolbar icon placement. Now they are always inserted before the Quit button if it is the last toolbar element or at the end otherwise.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3361 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 16:51:46 +00:00
Nick Treleaven
f40aedeffd Fix indentation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3360 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 16:49:59 +00:00
Nick Treleaven
89fce6dd26 Add an interface pref for whether to hide additional widgets when
double-clicking on document notebook tabs (off by default).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3359 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 16:29:54 +00:00
Nick Treleaven
b280806a40 Add note about not duplicating static arrays passed to Stash.
Don't duplicate default_value argument for string prefs.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3358 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 13:25:08 +00:00
Nick Treleaven
8488e08726 Reformat stash function arguments.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3357 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 13:14:33 +00:00
Nick Treleaven
a6992526e8 Add foreach_ptr_array() macro to utils.h.
Merge toggle button prefs code into keyfile.c Stash code.
Add toggle button support to Stash code.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3356 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 12:49:26 +00:00
Nick Treleaven
b8f05b5719 Minor rewording.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3355 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 12:37:45 +00:00
Enrico Tröger
428b93da88 Add new toolbar elements: Close All and Preferences.
The icon for Close All was kindly provided by Tyler Mulligan, thanks.
Remove GeanyStockItem and add ui_new_pixbuf_from_stock() as a replacement.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3354 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-09 20:31:38 +00:00
Enrico Tröger
88707e86a2 Remove the list of available actions and instead refer to the documentation for an up to date list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3353 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-09 20:30:23 +00:00
Enrico Tröger
7c5fd2c6ec Various improvements for parsing Vala files (mainly fix handling of function attributes, fix nested types handling, add some missing keywords, patch by Colomban Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3352 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-09 19:00:45 +00:00
Nick Treleaven
f0d4bcee11 Don't expand Prefs dialog Editor->Completions tab frames.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3351 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-09 13:35:16 +00:00
Nick Treleaven
740a3e8066 Fix 2 comments.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3350 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-09 13:18:55 +00:00
Nick Treleaven
5c5dfe9df5 Move Stash data types to stash.c, so Stash functions could be used
by plugins without breaking the ABI when appending fields. Also the
user code is neater and has type checking.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3349 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-09 13:16:52 +00:00
Nick Treleaven
ec20664068 Add -q quiet option to not print warnings. (Must be first argument).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3348 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-09 12:38:00 +00:00
Enrico Tröger
73aa9138da Move stock image name macro and image enum to ui_utils.h.
Remove old, unused images.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3347 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-08 21:58:11 +00:00
Enrico Tröger
14a90d6079 Little reformatting.
Beautify the Waf output when generating geanyfunctions.h.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3346 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-08 21:24:13 +00:00
Enrico Tröger
da2448cf02 Add a note about adding 'sed' as build-dep when it is used.
(thanks to 'dmaphy' and 'rsc' for their help in reporting and finding the workaround for this problem)

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3345 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-08 21:23:56 +00:00
Nick Treleaven
d204b0532e Fix GLib warning when user enters out of range line number in
toolbar.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3344 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-08 17:05:15 +00:00
Nick Treleaven
9fb349fcd2 Fix showing tooltips for notebook tab labels (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3343 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-08 12:59:13 +00:00
Enrico Tröger
cc04ba744b Update 'geanyfunctions.h' when using Waf.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3342 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-07 19:12:43 +00:00
Enrico Tröger
5394a14f4f When using the focus path entry and file list keyboard shortcuts, make sure the filebrowser tab is the current notebook tab in the sidebar (closes #2402290).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3341 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-07 19:12:27 +00:00
Enrico Tröger
7c6ff4d5bb Add Line number and Markers margin settings to the prefs dialog.
Add View->Editor submenu and group there the Line numbers, Markers margin, Show white space, Show line endings and Show indentation guides settings.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3340 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-07 19:12:08 +00:00
Enrico Tröger
3c35ed1d55 Some cleanup in vte.c.
Add a setting for the VTE to enable/disable a blinking cursor.
This is useful for future VTE versions where the cursor blinks by default which might be not be desirable.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3339 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-07 19:11:36 +00:00
Enrico Tröger
7f3de8507f Fix pressing escape in the sidebar and toolbar focus the editor.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3338 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-07 19:11:13 +00:00