432 Commits

Author SHA1 Message Date
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
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
Nick Treleaven
c877db21df Use filetypes.foo [lexer_properties] group instead of hardcoding
lexer properties (more flexible e.g. for custom filetypes).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4432 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-18 16:48:17 +00:00
Enrico Tröger
7b39597f9c Fix slightly wrong description of how to insert Unicode characters.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4427 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-17 21:10:29 +00:00
Nick Treleaven
cf540a712f Deprecate documents_foreach() as it looks more like a function; use
foreach_document() instead.
Generate dox even for GEANY_DISABLE_DEPRECATED declarations.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4399 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-04 15:28:38 +00:00
Nick Treleaven
f64aaf5250 Update for Plugin Preferences keybinding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4387 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-28 18:07:49 +00:00
Nick Treleaven
60046e000d Enable switching the sidebar to the right on Windows again, as it
apparently works after all.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4378 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-27 14:59:46 +00:00
Nick Treleaven
f064df0699 Disable switching the sidebar to the right on Windows as it will
probably fail like the Split Window plugin.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4370 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-26 15:45:12 +00:00
Nick Treleaven
091bfac4ac Add sidebar position interface pref.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4357 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-23 16:18:05 +00:00
Lex Trotman
71470ef9bf Add missing underscores to links.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4355 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-22 21:38:37 +00:00
Nick Treleaven
078a9cdc7d Add 'Move line(s) up/down' keybindings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4354 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-22 11:28:59 +00:00
Lex Trotman
8c70e03ed8 Make non-project execute configuration save to filetypes not geany.conf.
Fix closing of project failing to remove build commands dialog entry.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4352 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-22 09:19:30 +00:00
Nick Treleaven
225dd7d4dd Add 'Switch to Messages' focus keybinding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4347 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-20 16:59:00 +00:00
Nick Treleaven
af8d96f077 Add 'Select to previous/next word part' keybindings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4346 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-20 16:01:07 +00:00
Nick Treleaven
42119d8f3b Add 'Word part completion' keybinding so keys other than Tab can be
used, or to clear/change the combination so Tab does full completion
like before.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4344 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-20 15:35:44 +00:00
Nick Treleaven
d17141ca9a Support loading global tags files for custom filetypes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4343 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-20 12:07:12 +00:00
Nick Treleaven
7c450e2939 Add filetype "lexer_filetype" key so custom filetypes can use an
existing lexer.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4340 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-19 14:58:51 +00:00
Nick Treleaven
68657d327b Add filetype "tag_parser" key so custom filetypes can use an existing
tag parser.
Add tm_source_file_get_named_lang().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4339 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-19 14:24:40 +00:00
Nick Treleaven
c7159b7974 Add 'Custom filetypes' section.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4338 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-19 12:15:42 +00:00
Nick Treleaven
6befde884b Add word part autocompletion for the current selected item when
pressing Tab - Enter still completes normally.
Add foreach_str() API macro.
Temporarily modify scintilla to say if tab was used for
autocompletion.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4320 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-15 14:57:11 +00:00
Enrico Tröger
3a04de1144 Improve information about predefined keybindings which are commonly used across applications (patch by Lex Trotman, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4285 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-03 16:04:05 +00:00
Nick Treleaven
8ef5e42261 Update file templates section, minor edits.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4282 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-01 16:26:44 +00:00