240 Commits

Author SHA1 Message Date
Nick Treleaven
49b3d27ba1 Reorder Focus keybindings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5130 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-11 12:33:31 +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
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
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
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
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
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
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
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
Enrico Tröger
8e1c7ffa32 Post-release version bump.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5023 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-12 13:42:50 +00:00
Nick Treleaven
24381f49e3 Minor fixes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4998 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-04 16:34:15 +00:00
Nick Treleaven
40ed48c2f1 Build section: minor rewording, formatting fixes; some sentences
moved.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4997 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-04 16:29:46 +00:00
Enrico Tröger
f8040a0e89 Add hidden preference to disable automatic scrolling in the Compiler tab (closes #3004714).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4946 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-22 19:40:12 +00:00
Enrico Tröger
c1a17653ec Update documentation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4930 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 18:25:38 +00:00
Nick Treleaven
435a479d98 Reload templates if saving a document in the templates config dir.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4878 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-06 12:45:19 +00:00
Nick Treleaven
c3383930eb Divide template wildcards into groups.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4875 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-05 15:05:57 +00:00
Nick Treleaven
31571a39cf Add {project}, {description} template wildcards (#2954737).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4874 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-05 13:06:53 +00:00
Nick Treleaven
bf09ed5c48 Fix replacing {filename} template wildcard for custom file
templates with non-default file extension.
Add search_find_text() for POSIX regex searches.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4873 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-05 12:50:59 +00:00
Nick Treleaven
1b51823339 Hide 'Tabs and Spaces: Hard tab width' preference - it should
always be 8. (Hidden setting kept in case users have modified it).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4866 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-28 13:08:15 +00:00
Nick Treleaven
5a20dacdec Add Folding section link to filetypes.common custom settings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4865 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-28 12:49:09 +00:00
Nick Treleaven
751f8be508 Support more folding icon styles: arrows, +/- and no lines
(#2935059).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4854 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-22 17:16:46 +00:00
Nick Treleaven
6786e05e03 Support {pc} wildcard in snippets to escape percent char.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4852 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-22 13:01:45 +00:00
Nick Treleaven
cdd93f7ab8 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4847 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-21 17:19:27 +00:00
Nick Treleaven
84938b8f04 Minor edits of Template Wildcards table:
s/filetype templates/file templates.
Add full stop for third column.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4844 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-21 16:58:02 +00:00
Nick Treleaven
90ddffd836 Support {ob} and {cb} in fileheader and file templates; they are
replaced last with { and }. This allows 'escaping' of wildcard
strings (fixes #2937008).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4843 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-21 16:47:54 +00:00
Nick Treleaven
dae2aa8f44 Minor fixes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4837 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-19 12:33:41 +00:00
Enrico Tröger
b9d32c470c Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
Add missing documentation for 'Reset Zoom' keybinding.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4827 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-17 14:55:14 +00:00
Enrico Tröger
2b5d711a11 Fix a too long line (oops).
Generate HTML documentation.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4821 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-12 17:48:17 +00:00
Enrico Tröger
5c7197b6ee Improve wording.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4807 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-07 19:51:48 +00:00
Nick Treleaven
cf30b64029 Make Ctrl-click on any notebook tab switch to the last used
document.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4800 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-05 11:44:56 +00:00
Nick Treleaven
49827bbd42 Warn about some GNU extensions for regular expressions & clarify
some points.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4750 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-10 13:52:41 +00:00
Nick Treleaven
2266594ecd Remove warning about no visual indication for zero-column-mode
editing.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4748 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-09 17:20:15 +00:00
Nick Treleaven
aaa1e9657a Merge gnu-regex branch:
Use POSIX system/GNU regex engine for find & replace 'Use regular
expressions' option. This alters regex syntax a bit - see the docs
for details; we now support '?' operator and replacement backslash
escaping is more standard.
Make regex search imply replacing escaped chars.
Allow \0 backreference replacement for the whole match.
Note: Replace All may be slower; if this is a problem please let me
know.
- code:
Add argument to utils_str_replace_escape() for keeping
uninterpreted backslash escapes e.g. '\\', '\e'.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4746 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-09 16:56:04 +00:00
Nick Treleaven
bf3b46bc26 Update for POSIX-regexes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4743 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-08 17:03:03 +00:00
Enrico Tröger
49dff98485 Add preference for virtual spaces.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4724 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 10:36:27 +00:00
Nick Treleaven
483742b69f Make Switch to Editor keybinding reshow the document statistics
line, so user doesn't have to move the cursor.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4700 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-24 15:08:41 +00:00
Enrico Tröger
6826240858 Add keybindings to switch to the sidebar's Document and Symbol list as well as to the Message Window's current tab (patch by Eugene Arshinov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4686 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-21 18:06:42 +00:00
Enrico Tröger
0fb7faca80 Describe the defined environment variables GEANY_FILETYPE, GEANY_FILENAME and GEANY_FUNCNAME.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4540 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-24 16:17:11 +00:00
Enrico Tröger
d461084743 Add new special template wildcard "{command:...}" to use the output of a command in templates.
Adjust template functions to mostly work with GeanyDocuments.
Minor cleanups in the template code.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4539 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-24 14:52:46 +00:00
Enrico Tröger
de50230c68 Add keybinding to open the last closed tab (closes #2912692).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4519 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-01 23:20:21 +00:00
Enrico Tröger
1090159b54 Add a checkbox in the preferences dialog to explicitly toggle the visibility of the sidebar (closes #2923340).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4517 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-31 15:48:39 +00:00
Enrico Tröger
9f9ceb1953 Add new style to change foreground and background colours for calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4513 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:45:21 +00:00
Nick Treleaven
6a93a7de1d Add debug message warning if recursive lexer_filetype is set.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4471 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-07 14:12:40 +00:00
Nick Treleaven
37605ff27a Warn about not using BOM for configuration files (confuses GKeyFile
parser, at least on my system).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4463 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-02 16:34:25 +00:00
Enrico Tröger
2669ad3b1b Add a hidden pref to allow executing text which was sent to the terminal directly, i.e. do not strip trailing newline characters.
Also fix the stripping of trailing newline characters if there was more than one.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4456 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-29 20:59:31 +00:00
Enrico Tröger
ec9818d7fc Add new command line option "--socket-file" to be able to specify separate socket filenames for instances (closes #2896027, patch by Jörn Reder, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4440 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-23 21:03:24 +00:00