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
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
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
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
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
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
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
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
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
Nick Treleaven
b20537db3d
Add spaces after RO when using %r in statusbar_template setting.
...
Add space between encoding and BOM.
Note \t means tab for default text.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5070 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-29 15:44:41 +00:00
Nick Treleaven
e80e88646a
Add statusbar_template hidden pref (based on patch by Dimitar
...
Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5069 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-29 12:11:21 +00:00
Nick Treleaven
ea81430704
Restore tabbing past Find in Files combo box drop down menus.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5067 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-28 13:47:14 +00:00
Nick Treleaven
148975afa3
Move plugin signals docs to pluginsignals.c, using function
...
pointer syntax instead of @signaldef as this puts a summary of
the signal names at the top of the page and sorts alphabetically.
(Note: the syntax is similar to Vala signal syntax).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5065 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-25 16:50:27 +00:00
Lex Trotman
3d361d3c55
Make default dialog entries use GTK_STATE_INSENSITIVE color not
...
a fixed color (Suggestion by Ditmar Zhekov)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5064 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-24 06:39:24 +00:00
Nick Treleaven
4476a79127
Use ui_hookup_widget() instead of g_object_set_data_full() for
...
widgets.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5063 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-23 16:57:28 +00:00
Nick Treleaven
c3a7b3e126
Add file pattern to combo box history.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5061 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-23 16:06:10 +00:00
Nick Treleaven
5b0dc2b8f8
Implement Find in Files file pattern search.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5060 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-23 12:34:11 +00:00
Nick Treleaven
a4c31a2156
Add Files checkbox and combo to Find in Files dialog, currently
...
does nothing & is disabled.
Don't try to focus the next entry on pressing tab anymore as this
is more complicated now.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5059 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-22 16:51:01 +00:00
Nick Treleaven
2f5285cb53
Move 2 Find in Files checkboxes for even spacing.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5057 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-21 15:16:31 +00:00
Nick Treleaven
8d4d759ab5
Simplify FIF 'Fixed strings, Grep regular expressions, Extended
...
regular expressions' radio buttons with a 'Use regular expressions'
checkbox. This uses the extended syntax (which is the same as the
Find/Replace regex syntax).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5056 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-21 14:57:03 +00:00
Nick Treleaven
94ee5132d2
Put Find in Files Search field above Directory field.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5055 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-21 14:27:20 +00:00
Frank Lanitz
582e841e3f
Change of description of tm_get_real_path(). Patch by Dimitar Zhekov. Thanks.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5054 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-20 15:03:30 +00:00
Nick Treleaven
6b4ba38e6d
Add API signal "build-start" (patch by Jiří Techet, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5053 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-18 17:15:28 +00:00
Nick Treleaven
aca9e894fc
Allow Find in Files when no items are selected.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5052 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-18 17:03:35 +00:00
Nick Treleaven
de29305a31
Fix not loading plugins built against a newer API when Geany doesn't
...
provide the required version given in PLUGIN_VERSION_CHECK().
Improve documentation for PLUGIN_VERSION_CHECK().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5051 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-18 15:04:07 +00:00
Nick Treleaven
9dc088c1e7
Add history to path entry.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5049 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-18 12:22:00 +00:00