438 Commits

Author SHA1 Message Date
Colomban Wendling
e5245eb053 Increase the number of lines where filename is replaced upon save as
Search the first 4 lines (instead of 3) for Python templates support.
2013-03-05 23:58:04 +01:00
Lex
5acb92a3cb More verbose update to manual for Terminal setting
Provide a more complete description of the use of the changed
Terminal setting in several places.
2013-02-22 15:07:50 +01:00
Colomban Wendling
dba93f3854 Allow Quit keybinding to be configured
This removes the last unmodifiable keybinding relying on GTK's
defaults, and allows somebody to change this keybinding.
2013-02-21 01:31:38 +01:00
Colomban Wendling
a0dc8af9c4 Fix GTK default keybindings being still active after being unbound
If we provide an AccelGroup when creating a menu item using a sock ID,
it installs the GTK default accelerator, accelerator we can't remove
since we don't know about it.  So, don't give an AccelGroup so GTK
don't install it's own accelerator.

This fix also required to properly update the accelerator on some item
we used to ignore since the update didn't work anyway (since the GTK
accelerator was displayed instead).

Note that this doesn't fix the fact the editor popup menu accelerators
are never updated after startup so they don't get updated before
restart after changing a keybinding in the preferences.  This is a
separate (and less problematic) issue due to a simple lack of update.

Closes #1912683 and #3599251.
2013-02-21 01:31:38 +01:00
Lex
3c2dc547cd Make the tools->terminal setting more flexible.
Previously was hard coded with options to suit xterm.  As this is
being replaced with different terminal programs some do not accept
the same options.  The new setting stores the whole command with
%c to substitute the script name.  Upgrades old settings if a new
one does not exist.
2013-02-17 11:38:53 +11:00
Matthew Brush
1a7a26682d Add doc for terminal background image and regen HTML 2013-01-06 19:15:00 -08:00
Colomban Wendling
b9c1c90938 Revert "Alter default and document icon setting"
This reverts commit 306eaab3916649567c892215ad8390b9d39de82f.
2013-01-01 19:04:47 +01:00
Nick Treleaven
6ca889c78b Add Document->Clone keybinding 2012-12-12 14:02:50 +00:00
Colomban Wendling
8f96498323 Fix a typo in the docs 2012-12-02 16:45:17 +01:00
Nick Treleaven
535b7a6b6e Copy selected text only (when present) for Document->Clone 2012-11-23 15:39:50 +00:00
Nick Treleaven
22d5b4795b Update manual for Document->Clone command 2012-11-23 15:37:08 +00:00
Nick Treleaven
b8fa21ff3b Never strip trailing spaces for Diff documents 2012-11-15 13:39:55 +00:00
Nick Treleaven
3cfd8fa8b1 Clear search markers on Mark All keybinding when already set 2012-10-26 14:37:31 +01:00
Lex
306eaab391 Alter default and document icon setting
Previous default value prevented the preceding commit from working
(by default), oops.
2012-10-15 11:56:03 +11:00
Colomban Wendling
3070738df8 Make wordchars have precedence over whitespacechars
This makes the "wordchars" setting from filetypes.common and each
specific filetype override filetype.common's "whitespace_chars"
setting, rather than it overriding filetype-specific "wordchars".

This makes the it easy to chose filetype-specific "wordchars", where
before user had not only to update this setting, but also the
filetype.common "whitespace_chars" setting if it listed one or more of
the new characters for the change to actually have an effect -- and
changing "whitespace_chars" for every filetype.

Closes #3429368.
2012-10-06 01:32:54 +02:00
Colomban Wendling
d80bc7ce56 Update FSF address
Closes #3557875.
2012-08-24 19:25:57 +02:00
Nick Treleaven
f90bdc5957 Only set Find in Files directory once per-document
Use the current document's directory unless the directory field has
already been edited and the current document has not changed.
Otherwise, prepend the current document's directory to the drop-down
history in case it is wanted.

This is useful to avoid losing the edited directory when it is less
likely the user wants to use the current document's directory.
2012-07-26 16:13:34 +01:00
Nick Treleaven
98452edcc9 Update manual for search pref changes; add some links 2012-07-26 15:34:45 +01:00
Nick Treleaven
40da14b5b1 Add keybinding for 'Go to Start of Display Line' (#3182425) 2012-06-25 14:31:36 +01:00
Colomban Wendling
e9d61aa7e5 Post release version bump 2012-06-18 19:16:05 +02:00
Colomban Wendling
b7d245a7df Set release date 2012-06-18 16:12:59 +02:00
Colomban Wendling
1c2c455b1d Update copyright information 2012-06-18 01:15:04 +02:00
Matthew Brush
cfdedf4e67 Remove sentence from documentation that doesn't apply anymore
With newer GTK+ releases, leaving this field blank causes the "Recent
Files" "feature" to be used rather the the expected current working
directory. No replacement text added to explain the new behaviour since
it would be incorrect with older GTK+ versions, would likely be incorrect
on Windows with native dialogs and it will possibly be reverted in GTK+
in the future.

Recenerate HTML manual, including previous changes from other commits.
2012-06-04 14:07:41 -07:00
Colomban Wendling
084f43ed71 Suggest to provide git-formatted patches rather than git diff ones 2012-06-02 22:08:47 +02:00
Frank Lanitz
7b339b8d30 Added a missing word and some smaller changes on spelling (GitHub; pull request) 2012-05-31 22:33:07 +02:00
Frank Lanitz
54ed2189fe Use capitilized version of Git inside documentation 2012-05-31 22:30:44 +02:00
Frank Lanitz
81c84e553d Removing reference to svn from sending a patch for this document 2012-05-31 22:18:03 +02:00
Frank Lanitz
dbeb690f67 Fixing one apperance of svn inside documentation 2012-05-31 22:18:03 +02:00
Nick Treleaven
a56373cabd Support PREFIX* in ignore.tags 2012-04-25 15:54:56 +01:00
Nick Treleaven
003185f897 Grep isn't required for tag file generation; remove replacing c99.tags
This removes 'Replacing the default C/C++ tags file' - we should
not encourage users to do this as it's unnecessary and error-prone
when updating Geany.
2012-04-24 16:41:18 +01:00
Dimitar Zhekov
373734980b altered Geany manual "Startup" to reflect that the default session is loaded even if opening file(s) 2012-02-22 14:54:59 +01:00
Nick Treleaven
951b5a9da5 Rectangular selection modifiers are Alt+Shift on Windows 2012-01-25 12:46:42 +00:00
Nick Treleaven
5288dbe5d3 Add Project New, Close keybindings 2012-01-09 16:35:29 +00:00
Nick Treleaven
8f44132dcd Add 'Open Project' keybinding 2012-01-08 17:14:04 +00:00
Nick Treleaven
6de8f97cb3 Remove GNU regex now we have GRegex 2012-01-02 18:03:21 +00:00
Matthew Brush
3efe11c4b9 Update documentation for HTML/CSS-style colors and [named_colors] section 2011-12-25 14:37:30 -08:00
Nick Treleaven
0c6aed700d Make 'Replace Spaces by Tabs' only match leading spaces
Replacing spaces used for alignment with tabs would often break the
alignment as tab stop positions were not checked. It's also not
possible to distinguish between a true space and a single aligning
space, so we should ignore all spaces outside of indentation.
2011-12-21 17:06:32 +00:00
Nick Treleaven
3baaa53679 GTK tags are no longer distributed with Geany 2011-12-08 13:31:58 +00:00
Nick Treleaven
03152902a9 Mention 'Go to tag' commands can use the current selection
Cleanup 'Go to tag' sections and keybinding descriptions.
2011-11-17 16:15:38 +00:00
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
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