5054 Commits

Author SHA1 Message Date
Nick Treleaven
75a681b15a Revert r4840 scope completion mode as it sometimes breaks
autocompletion.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5123 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-10 16:12:24 +00:00
Nick Treleaven
689ad7e83e Move some interface hidden prefs to ui_utils.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5122 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-10 12:49:16 +00:00
Nick Treleaven
cc736eb4af Fix writing the default value when a key is missing for hidden
prefs, even if it was overridden when it was originally read.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5121 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-10 12:46:30 +00:00
Nick Treleaven
0c4b7a2ab0 Use single binding_ids keybinding array instead of individual
arrays for core keybindings. This allows the keybinding IDs to be
merged into one enum; the order of keybindings is now just the
order they are added to each group. Keybindings can be reordered
without breaking the plugin ABI but groups must stay the same.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5120 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-10 12:43:30 +00:00
Nick Treleaven
608c484655 Remove unnecessary dialog_key_name global.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5119 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-10 12:25:35 +00:00
Enrico Tröger
36f6292cc3 Make debug message more clear
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5118 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-05 21:54:18 +00:00
Enrico Tröger
217fc5ab50 Inherit 'beep on errors' preference for the audible bell preference for the VTE (closes #3038215).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5117 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-05 21:45:58 +00:00
Enrico Tröger
af8f5fc921 Make ui_label_new_bold() a function.
Escape the name of the current document for markup when using
document name for menu items (closes #3038844).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5116 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-05 21:13:47 +00:00
Frank Lanitz
392fb93fc4 Update of Russian translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5115 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-02 17:34:24 +00:00
Enrico Tröger
befcb63e59 Ensure inserted templates always have proper line ending characters
according to the current document's preference.
This is also fixes problems with templates on Windows which had
always Unix line ending characters but now since they are read
from files, these have Windows line ending characters and had been
converted twice.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5114 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-01 17:20:50 +00:00
Enrico Tröger
a18f00ae62 Add utils_get_eol_char().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5113 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-01 10:23:19 +00:00
Enrico Tröger
292de5d513 Make make_comment_block() work with a GString. This is not yet perfect but a bit better than before.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5112 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-31 15:31:30 +00:00
Enrico Tröger
b2df283b05 Update developer status
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5111 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-31 14:38:46 +00:00
Enrico Tröger
cced81027b Update AUTHORS file
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5110 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-31 14:33:48 +00:00
Enrico Tröger
45d5c856bb Fix build with GTK 2.8, use the stock icon name directly instead of the macro. Though, the icon is still missing for GTK 2.8.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5109 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-31 14:25:30 +00:00
Enrico Tröger
67c7f1bbfb Implement 'Select All' for the VTE widget.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5108 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-29 18:28:37 +00:00
Enrico Tröger
b264ba6107 Fix missing template files in the Windows installer.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5107 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-25 11:11:04 +00:00
Enrico Tröger
f425a75cbb Update list of Python builtins, based on Python 2.6.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5106 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-18 17:56:12 +00:00
Enrico Tröger
441b37589e On Windows, convert filetype extensions read from config files to lower case (closes #3028856).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5105 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-13 20:53:25 +00:00
Nick Treleaven
702956d65a Focus toolbar item when pressing Go to Line keybinding only when
it's not in the toolbar's drop down overflow menu (fixes #3027454).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5104 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-12 17:09:57 +00:00
Lex Trotman
5be7577f1b Fix build menu translation problems.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5103 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-11 03:20:25 +00:00
Enrico Tröger
6f12f4cfe2 Fix './waf install'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5102 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-10 12:01:18 +00:00
Nick Treleaven
ae4d82b7f1 Use Stash to save statusbar_template setting, instead of the
load/save-settings signal.
Add ui_init_prefs().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5101 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-09 17:15:16 +00:00
Nick Treleaven
b0621e13e8 Add note to restart Geany after installing/updating before editing
hidden prefs.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5100 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-09 15:14:55 +00:00
Nick Treleaven
37c874f9b5 Add note about using Stash to make implementing preferences easier.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5099 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-09 15:13:14 +00:00
Nick Treleaven
49ed139da7 Fix scrolling the editor line in view after loading a session and
switching document tabs. Note this causes repainting so needs
improvement.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5098 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-09 12:12:23 +00:00
Nick Treleaven
2b771854ae Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5097 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-08 16:59:11 +00:00
Nick Treleaven
d05db879d1 Fix writing empty hidden pref "statusbar_template" key so users can
find it (patch by Dimitar Zhekov, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5096 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-08 11:35:32 +00:00
Frank Lanitz
63fadbda13 Minor update of German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5095 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-07 21:05:17 +00:00
Nick Treleaven
598e7c91e2 Show the Project Properties build tab when choosing 'Set Build
Commands' for now to prevent confusion with non-project commands.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5094 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-07 12:04:28 +00:00
Nick Treleaven
132a053c0d Make stash_group static (patch by Dimitar Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5093 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-07 11:50:16 +00:00
Nick Treleaven
67537a9918 Revert (most of) last 2 commits as Grep's --exclude-dir=.?* doesn't seem to be working as expected.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5092 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-06 14:20:12 +00:00
Nick Treleaven
ab124475a6 Make Find in Files extra options default to --exclude-dir=.?* to
filter out hidden directories. (Still disabled by default so
non-GNU/older Grep works).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5091 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-06 14:01:26 +00:00
Nick Treleaven
135d7fd1c5 Fix Grep --exclude-dir example to not filter out the current
directory (oops).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5090 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-06 13:54:49 +00:00
Nick Treleaven
2265fe283a Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5089 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-05 12:03:27 +00:00
Nick Treleaven
fa9acc8caa Tidy comment; remove unnecessary assignment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5088 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-05 11:59:08 +00:00
Nick Treleaven
1132d0f219 Add sidebar Documents popup menu item 'Find in Files'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5087 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-05 11:55:44 +00:00
Peter Scholtens
67aff7d4ca Update Dutch translation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5086 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-02 17:22:46 +00:00
Nick Treleaven
1579f306a2 Replace regex flag warning with debug message.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5085 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-02 13:54:36 +00:00
Nick Treleaven
56b844a509 Parse lines in the Messages window even if Find in Files hasn't
been used yet (patch by Jiří Techet, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5084 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-02 12:43:39 +00:00
Nick Treleaven
8358177099 Fix only adding project base path to Find in Files history if it
isn't already there (oops).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5083 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-02 12:19:00 +00:00
Nick Treleaven
fdeb6391be Fix wording - restarting is required for hidden prefs.
File templates don't need manual reloading anymore.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5082 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-02 12:05:43 +00:00
Nick Treleaven
ada3336bd8 Limit build error editor indicators to 50, but parse all errors in
the Compiler tab (fixes #3019823).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5081 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-01 17:08:00 +00:00
Nick Treleaven
77c759319f Add item: print text size/zoom option.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5080 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-01 16:48:56 +00:00
Nick Treleaven
ed96015c98 Always use white background color when printing (except for text
with a white foreground) to save ink (should fix #2968998).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5079 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-01 16:22:45 +00:00
Nick Treleaven
4d8c71d5ab Add filetypes.common fold_symbol_highlight color setting.
Add API macro foreach_range().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5078 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-01 14:33:41 +00:00
Nick Treleaven
9f3677d3e2 Add C++ lexer property fold.cpp.comment.explicit (patch sent); set
it disabled.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5076 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-01 11:49:30 +00:00
Nick Treleaven
0168e3e475 Use SCI_SETFIRSTVISIBLELINE for editor_scroll_to_line(). Note this
doesn't affect the bug with document switching not scrolling cursor
in view after loading a session.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5075 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-30 12:15:13 +00:00
Nick Treleaven
293ba9bee7 Use g_free instead of free (patch by Daniel Marjamäki, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5074 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-30 11:49:05 +00:00
Nick Treleaven
95c8f687fc Re-enable fold.comment for the C lexer - it was disabled to prevent
//{ explicit folding, but that also disables stream comments /* */.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5073 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-30 11:34:11 +00:00