633 Commits

Author SHA1 Message Date
Nick Treleaven
9ae71ab6cc Add default keybindings for Go to Tag, remove Transpose default
This does not affect existing users.

Ctrl-T          Go to tag definition
Ctrl-Shift-T    Go to tag declaration

A default keybinding for 'Transpose current line' is no longer
necessary as it does the same as 'Move line(s) up', which we now have
a default for.
2011-11-17 15:58:27 +00:00
Nick Treleaven
82769a046c Set Move Line(s) default keybindings, change Move Tab defaults
This does not affect existing users.

Ctrl-Shift-PageUp   Move document left
Ctrl-Shift-PageDown Move document right

The above shortcuts were aliases for selecting left/rightmost
documents, but those are not necessary as Alt-1/Alt-0 does the same.

Alt-PageUp      Move line(s) up
Alt-PageDown    Move line(s) down

Alt is easier to press than Ctrl-Shift, so is better for moving lines
as this needs more accuracy.
2011-11-17 15:49:09 +00:00
Thomas Martitz
8f280ed884 New --read-only commandline option
This adds a new commandline option --read-only (or -r). It's implemented
according to the behavior agreed on on the mailing list:

--read-only applies to all files on the command line
irrespective of positioning and has no effect on any other files
opened by session or menu (...)

Current behaviour on attempting to re-open a file with different
read-only status is that nothing happens, the already open
file is raised but not changed. (...)
2011-11-17 16:41:51 +01:00
Colomban Wendling
59eb0557b6 Add a configurable prefix for commands sent to the shell in the VTE
This adds an hidden VTE preference, send_cmd_prefix, that allows to
define a prefix for the commands Geany sends to the shell in the VTE
like "cd" when following current path.

This can be used for example to prevent some shells (Bash, ZSH, maybe
others) from putting these commands in the history by setting this to
a space.
2011-11-17 03:57:14 +01:00
Nick Treleaven
5b41e177de Explain Windows paths for data and plugins 2011-11-16 17:27:33 +00:00
Nick Treleaven
a97c3597eb Add default shortcuts for Find Usage, Forward/Back, Make Object
Note: This doesn't affect existing user shortcuts.

Ctrl-Shift-D    Find Document Usage
Ctrl-Shift-E    Find [Session] Usage (one letter after doc usage and
                close on the keyboard)

These are standard shortcuts for browsers:
Alt-Right   Forward
Alt-Left    Back

This matches the build/make symmetry for compile (F8):
Shift-F8    Make Object
2011-11-15 13:50:29 +00:00
Nick Treleaven
c39390aae8 Fix using American spelling of color 2011-11-03 18:16:13 +00:00
Nick Treleaven
83d9f9e82b Fix generating API docs (Windows makefile).
Also fixes a doxygen warning.
2011-11-02 15:03:17 +00:00
Matthew Brush
a23e999b7b Bump GTK+ version to 2.16 2011-10-28 10:25:58 -07:00
Enrico Tröger
deb2d4a7f9 Add a few notes about generating tags files on Windows 2011-10-23 16:24:39 +02:00
Lex Trotman
cdb748c2c4 Add filetype extraction by regex
Adds the ability to set filetype on open by extracting it from the
file using a regex on the first few lines (default 2).
2011-10-22 22:55:57 +11:00
Colomban Wendling
d06e9f4575 Remove $Id$ and $Date$ SVN keywords 2011-10-09 22:57:35 +02:00
Nick Treleaven
75da162c1c Add doc/makefile.win32 for docs generation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6012 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 12:21:06 +00:00
Nick Treleaven
d63f1f052b Use <geanyplugin.h> not "geanyplugin.h" in the howto.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5999 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-05 15:59:26 +00:00
Colomban Wendling
d6dfedf4a0 Post-release version bump
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5989 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-03 14:39:01 +00:00
Nick Treleaven
5b220d70a2 * Merge branches/unstable:
- tagmanager/php.c:
   Fix parsing keyword-qualified functions strictly, e.g. don't 
   parse 'staticfunction' or 'fatfunction'.
 - src/utils.c, src/utils.h, src/editor.c:
   Use GRegex for snippet indentation replacement - fixes wrong 
   behaviour with Mac line endings.
 - tagmanager/lregex.c, TODO:
   Use GRegex for CTags instead of POSIX regex - GRegex is more 
   powerful. This also fixes a (HTML) performance issue on Windows. 
   Geany will now print a debug warning when using the "b" CTags 
   regex flag option for non-extended syntax. This is not currently 
   used by Geany's parsers.
   Note: GNU regex can't be removed yet as it's still used elsewhere 
   by Geany.
 - src/build.c, doc/pluginsignals.c:
   When saving on build, prompt for a filename if necessary.
   Emit the "build-start" signal only if saving succeeds.
 - src/build.c:
   Use #ifdef SYNC_SPAWN instead of G_OS_WIN32 for easier testing with 
   glib's asynchronous spawning (which doesn't work on Windows).
 - src/win32.c, src/win32.h, src/dialogs.c:
   Use GTK unsaved file dialog on Windows too because the button names 
   should be specific.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5987 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-03 14:35:11 +00:00
Colomban Wendling
e96cb6be9f Set release date
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5984 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-02 13:20:09 +00:00
Colomban Wendling
ee2ff42071 Add myself as an author in the docs
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5983 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-02 13:13:10 +00:00
Enrico Tröger
cd6b2f8540 Update documentation for new images.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5978 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-01 10:44:17 +00:00
Enrico Tröger
53419b001c Update documentation images.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5977 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-01 10:43:03 +00:00
Nick Treleaven
c6b38b861e When saving on build, prompt for a filename if necessary.
Emit the "build-start" signal only if saving succeeds.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5972 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-29 18:03:36 +00:00
Nick Treleaven
fb7bce5894 Update for use_atomic_file_saving change.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5938 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-21 13:31:00 +00:00
Nick Treleaven
1cca4b5449 Add info about updating NEWS.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5922 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-15 17:09:38 +00:00
Colomban Wendling
6c616e4bff Fix a few typos in the docs
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5913 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-12 23:11:49 +00:00
Colomban Wendling
18388077e6 Add support for filetype-specific indentation settings
Closes #3339420 and #3390435.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5902 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-25 20:14:17 +00:00
Frank Lanitz
a2ef453ea3 Update of wording to fix some grammatical issues etc. on plugin howto.
Patch provided by Matthew Brush. Thanks.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5891 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-19 06:55:34 +00:00
Frank Lanitz
4db82ba7fa Update API version used inside plugin howto to a more recent version (API v211).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5888 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-15 19:26:36 +00:00
Frank Lanitz
a9f4dcfbbb Adding a hint to prevent double usage of main_local_init() also to function documentation and correct word order.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5881 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-01 19:31:56 +00:00
Frank Lanitz
26cffeba92 Add hint to prevent double calling of main_local_init() into plugin HowTo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5880 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-01 19:20:39 +00:00
Frank Lanitz
9aaeea1fd6 Adding a hint to main_locale_init() to plugin HowTo
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5879 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-07-31 17:37:12 +00:00
Frank Lanitz
3ee49c6e93 Putting section about Translatable plugin information into subsection
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5878 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-07-31 17:36:53 +00:00
Frank Lanitz
e582590136 Adding some content about PLUGIN_SET_TRANSLATABLE_INFO() into plugin HowTo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5877 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-07-31 17:35:22 +00:00
Colomban Wendling
44e5687e0b Allow editing of formerly hidden preferences in the preferences dialog
Patch by Dimitar Zhekov, thanks! (closes P#3313315)

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5871 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-07-28 17:59:22 +00:00
Enrico Tröger
dac3d64413 More GTK 2.8 => GTK 2.12 transition.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5862 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-26 21:28:20 +00:00
Colomban Wendling
d61dea84ed Add an hidden pref to choose between GIO and plain C unsafe file saving.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5860 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-20 16:11:18 +00:00
Colomban Wendling
ebca594c3c Remove GTK version check for setting show_symbol_list_expanders
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5843 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-13 20:43:17 +00:00
Colomban Wendling
a465369044 Stop talking about pre-GTK 2.12 tricks in the manual
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5842 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-13 20:42:55 +00:00
Colomban Wendling
acc1ad557c Enable GTK printing support unconditionally
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5841 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-13 20:42:31 +00:00
Enrico Tröger
243ddcb671 Do not allow 'Save All' even if 'allow_always_save' is set (patch by Dimitar Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5815 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-22 10:32:31 +00:00
Colomban Wendling
a9c64e3365 Update the documentation for project patterns and recent FIF dialog changes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5759 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-03 20:37:00 +00:00
Nick Treleaven
003a11c576 Allow translations for color scheme [theme_info] keys.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5757 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-03 15:18:52 +00:00
Nick Treleaven
f09bac178d Read color scheme name and description for menu item label and
tooltip (based on patch by Matthew Brush, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5751 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-30 16:24:53 +00:00
Nick Treleaven
cc71ca0cca Add section 'Filetype group membership'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5750 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-30 15:25:09 +00:00
Nick Treleaven
d7277f17bc Remove Preferences label warning about restarting after editing
template data - this is no longer necessary.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5743 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-26 16:39:41 +00:00
Nick Treleaven
b39f33004b Remove notes about which headers to include as geanyplugin.h should be used instead.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5710 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-11 14:40:27 +00:00
Enrico Tröger
d91810115a Add and use signal "document-reload" to the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5703 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-10 13:53:05 +00:00
Colomban Wendling
c9aaf4a775 Improve the Set Custom Commands dialog
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5676 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-02 18:36:35 +00:00
Colomban Wendling
8365912850 Make Send selection to send the current line if there is no selection
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5675 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-01 20:52:31 +00:00
Nick Treleaven
da4edc441b Remove old filetype templates support - users can use custom file
templates instead.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5674 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-01 16:27:38 +00:00
Nick Treleaven
e8c68d7e11 Move Preferences dialog Toolbar tab under Interface tab.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5671 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-01 12:41:26 +00:00