453 Commits

Author SHA1 Message Date
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
7159c7c371 Add new command line option --list-documents to return a list of currently opened documents (closes #2979933).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4820 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-11 21:56:50 +00:00
Enrico Tröger
e28ca32274 Add option 'System Default' for toolbar icon style and size to use the GTK default value.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4817 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-11 21:56:08 +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
ab8d1b20d9 Add API docs for keybinding enums.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4799 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-05 11:42:31 +00:00
Nick Treleaven
90acc27a7a Add Stash setting functions to API.
Remove unnecessary argument to stash_group_load_from_file().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4790 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-30 16:29:38 +00:00
Nick Treleaven
809a37ddd2 Add stash_group_load_from_file() and stash_group_save_to_file().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4778 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-19 17:38:27 +00:00
Nick Treleaven
201b595b51 Rename Stash data types to be independently named from Geany (so
Stash can be reused for other projects).
Rename GeanyPrefGroup to StashGroup.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4776 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-18 17:04:17 +00:00
Nick Treleaven
39a6d76e2a Improve API docs contents page by listing all commonly-used files.
Fix 'Date' appearing twice on the date line.
Don't generate API docs for prefs.h, toolbar.h (unused).
Move some '@file' doc-comments to the .c file.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4772 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-18 13:13:11 +00:00
Nick Treleaven
aa872a4545 Add doc-comments for Stash setting functions.
Add an example file showing usage of Stash.
(Not enabled yet until added to the plugin API).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4769 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-17 17:15:47 +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
Dominic Hopf
185a1685ac fix the instruction how to insert unicode characters
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4690 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-21 22:45:21 +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
Dominic Hopf
e9fc322d2e add more detailed hints about reloading configuration (thanks to Tony Ricks)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4676 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-20 13:56:57 +00:00
Nick Treleaven
9021717031 Use full function name for GeanyFunctions function pointers. This
avoids naming conflicts e.g. with C++'s 'new' keyword.
Remove deprecated header pluginmacros.h - use geanyfunctions.h instead.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4552 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-25 15:53:54 +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
Nick Treleaven
2e878dc91b Edit wording/section names.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4535 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-19 15:48:42 +00:00
Nick Treleaven
a81094c197 Fix some spacing.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4534 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-18 17:17:34 +00:00
Nick Treleaven
920f5a55b8 Add gcc commands to build a plugin to the HowTo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4531 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-18 16:55:49 +00:00
Enrico Tröger
cc19e09d83 Add new signal: "geany-startup-complete" which is sent once all initialization and startup tasks has been done.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4527 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-17 15:17:30 +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
7ba4a81181 Update copyright information.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4518 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-01 22:55:18 +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
Frank Lanitz
3aead1e225 Fix a minor typo inside plugin API reference.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4507 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-26 14:13:35 +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