331 Commits

Author SHA1 Message Date
Nick Treleaven
ac11289415 Fix Ctrl-Shift-[CV] keybindings to work outside the VTE.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5722 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-13 15:04:37 +00:00
Colomban Wendling
a788a38240 Revert "Don't update parent WorkObjects when updating one in real-time"
This reverts commit 877cc1d97acd185cc7e0e88bb0b014fb74e16072.

This commit broke calltips, we need another fix for it.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5711 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-11 15:54:43 +00:00
Colomban Wendling
8640d845d0 Don't update parent WorkObjects when updating one in real-time
Updating the parent may lead to performance issues if an object have
too many parents since they are updated recursively.

Parent objects are still updated when saving the file.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5642 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-28 20:36:06 +00:00
Enrico Tröger
b235ae2f7e Add new keybinding 'Remove Markers and Error Indicators'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5641 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-27 16:05:00 +00:00
Colomban Wendling
dbb260f5bb Fix some compiler warnings
* Shadowed function (splitwindow plugin);
 * Invalid escape sequence (classbuilder plugin);
 * Non-static local functions (classbuilder plugin);
 * Missing function argument type (keybindings.c).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5626 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-24 22:00:34 +00:00
Nick Treleaven
ff7d6b9cad Make VTE copy/paste shortcuts work if 'Override Geany
keybindings' is not set.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5624 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-24 17:59:05 +00:00
Nick Treleaven
e3d3765ae6 Add fixed shortcuts for VTE copy (Ctrl-Shift-C) and paste
(Ctrl-Shift-V).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5623 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-24 17:33:47 +00:00
Enrico Tröger
6ac2623208 Update copyright information.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5528 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-19 19:39:09 +00:00
Nick Treleaven
6c30fc692f Add Edit->Insert Alternative White Space menu item (was previously
removed from Edit->Commands submenu).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5498 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-24 13:31:39 +00:00
Nick Treleaven
d65d3adcc4 Fix segfaults when using 'Send Selection to Terminal' and the VTE
is not loaded, and when using Ctrl-A after enabling the 'Load VTE'
pref (patch by Dimitar Zhekov, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5470 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 13:02:46 +00:00
Nick Treleaven
ff6354d833 Remove unnecessary 'global' from long line editor pref field names.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5432 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 17:36:29 +00:00
Nick Treleaven
a29d75af2c Add editor_get_prefs() instead of editor_get_long_line_*()
functions. This general function can be extended to support
various project and document overrides.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5431 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 17:25:58 +00:00
Nick Treleaven
47372d9331 Add 'Mark All' Search menu command.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5427 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 12:50:24 +00:00
Nick Treleaven
cb9982480f Make Reflow Lines/Block command use the current indented block, not
the whole paragraph, which could have mixed indentation.
Fix memory leak and off-by-one bug on first line when using Select
Paragraph command.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5408 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-16 13:26:04 +00:00
Nick Treleaven
3b7c8cdeb0 Restore top-level editor popup item 'Find Document Usage'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5382 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-08 12:35:50 +00:00
Nick Treleaven
98489fed51 Fix Alt+[0-9] switching tabs when other modifiers are also held.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5355 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-02 15:03:16 +00:00
Nick Treleaven
9e1ff83085 Add 'Insert New Line Before/After Current' keybindings (based on
patch by Eugene Arshinov, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5297 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-15 17:15:13 +00:00
Nick Treleaven
acd07db9c1 Move 'Edit->Commands->Insert Alternative White Space' to editor popup
Insert menu.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5255 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-23 14:32:32 +00:00
Nick Treleaven
911ed30800 Unify Find Selection strings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5249 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-21 16:40:29 +00:00
Nick Treleaven
0eca783f97 Simplify keybindings_check_event().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5225 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-13 15:37:46 +00:00
Nick Treleaven
d7f7ff0678 Remove 3 popup menu items to save space:
Find Document Usage because Find Usage can be used instead.
Go to Tag Declaration because Go to Tag Definition is more common.
Go to Line because the toolbar item can be used instead.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5223 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-13 14:39:32 +00:00
Nick Treleaven
1fc8a5bc19 Add Find Usage and Go to Tag items to Search menu for easier
discovery.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5211 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 11:58:55 +00:00
Nick Treleaven
eb359f09f7 Reorder Focus keybindings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5125 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-10 16:34:51 +00:00
Nick Treleaven
0c4b7a2ab0 Use single binding_ids keybinding array instead of individual
arrays for core keybindings. This allows the keybinding IDs to be
merged into one enum; the order of keybindings is now just the
order they are added to each group. Keybindings can be reordered
without breaking the plugin ABI but groups must stay the same.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5120 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-10 12:43:30 +00:00
Enrico Tröger
67c7f1bbfb Implement 'Select All' for the VTE widget.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5108 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-29 18:28:37 +00:00
Nick Treleaven
702956d65a Focus toolbar item when pressing Go to Line keybinding only when
it's not in the toolbar's drop down overflow menu (fixes #3027454).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5104 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-12 17:09:57 +00:00
Nick Treleaven
a6462959d0 Remove unnecessary comment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5014 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-10 11:55:39 +00:00
Nick Treleaven
2fbf396790 Fix the wrong file being put on top of the stack when switching tabs
too quickly (patch from Jiří Techet, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5013 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-10 11:37:39 +00:00
Enrico Tröger
6cd54a2cdd Improve jumping to matching braces by consistently position the cursor before or after the matching brace dependent where it was before (patch by Dimitar Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4885 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-08 13:32:23 +00:00
Nick Treleaven
f97b90c37d Fix setting wrong accelerator for 2 Edit->Commands items (patch by
Anonymous, #2995593).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4868 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-03 14:38:25 +00:00
Nick Treleaven
7b8d62a255 Constify some more string pointers in the API (patch by
Colomban Wendling, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4851 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-22 12:25:20 +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
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
Peter Scholtens
904bc7e44d Added Ctrl+0 for zoom reset / normal size
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4786 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-25 22:18:00 +00:00
Enrico Tröger
1864e6e6a5 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT to not set Geany's minimum window size anymore (closes #2972992).
As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4782 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-20 16:20:55 +00:00
Nick Treleaven
9a15e2e074 Mention plugin_set_key_group() in API docs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4773 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-18 13:17:05 +00:00
Nick Treleaven
138cbaa02f Use 3rd person (gets not get) for API function brief descriptions.
Avoid using 'convenience function' in API brief descriptions.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4757 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-12 18:15:48 +00:00
Nick Treleaven
7c27b1e009 Apply patch from Eugene Arshinov to add project long line marker
customisation (thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4751 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-10 16:20:34 +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
21f7989c37 Strip trailing spaces after reflowing a paragraph, patch by Dominik Wagenfuehr, thanks (closes #2945497).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4662 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-13 16:30:09 +00:00
Enrico Tröger
d79d5ea18c Add special cases for handling the Select All keybinding (Ctrl-A) in the toolbar search and goto line text entries (closes #2948040).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4661 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-13 16:13:00 +00:00
Enrico Tröger
54d1b3ae7e Rename fold_symbol_click() to editor_toggle_fold().
Use editor_toggle_fold() when the 'Toggle current fold' keybinding was used to respect the 'Fold/unfold all children' preference (closes #2935053).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4542 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-24 16:30:29 +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
93f66de4e2 Add MessageWindow::scribble and use it instead of searching the widget pointer everytime.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4499 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 20:07:04 +00:00
Nick Treleaven
759a051347 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu item
labels.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4490 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-09 17:16:54 +00:00
Enrico Tröger
9f444ac698 Add keybindings_check_event() to manually check GdkKeyEvents against Geany's keybindings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4441 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-23 22:25:11 +00:00
Nick Treleaven
0a97a24b3e Fix reflow paragraph command when cursor < anchor using
sci_fix_selection().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4424 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-12 15:46:05 +00:00
Nick Treleaven
dd1bb7c278 Fix moving correct lines after selecting whole line(s).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4404 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-05 18:11:10 +00:00