Enrico Tröger
628331a85b
Rename editor_auto_forif() in editor_auto_complete().
...
Allow using auto completion in PHP files outside of the PHP tags, generally in comments, for news files without filetype and on non-empty lines.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1754 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-28 10:27:42 +00:00
Nick Treleaven
2e500fb403
Use AE spelling of 'color'.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1753 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-27 11:56:50 +00:00
Nick Treleaven
109a7aee67
Convert 'Insert Special HTML Characters' tool into a plugin;
...
keybinding support will be added later.
Add plugin functions for inserting text into the current document.
Add plugin support for disabling a menu item when no documents are
open.
Destroy plugin_fields->menu_item on unloading if set by a plugin.
Use G_MODULE_BIND_LOCAL for plugins to prevent symbol shadowing by
other modules, and to help detect unresolved symbols at loading time.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1734 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-23 15:41:08 +00:00
Nick Treleaven
fc9e92cf0f
Make pressing escape focus the editor when using incremental search
...
or the Goto Line entries.
Add keybindings_cmd() to mimic a keybinding action.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1723 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-18 15:35:52 +00:00
Enrico Tröger
34a760d549
Add keybinding for scroll to current line.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1719 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 16:27:49 +00:00
Enrico Tröger
3bcd10b0d8
Add keybindings for smart indent and indent/deindent by one space.
...
Fix possible selection errors on commenting multiple lines when using CR/LF line endings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1705 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-16 15:42:12 +00:00
Nick Treleaven
8fe0974d8a
Capitalize some dialog titles.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1694 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-12 11:59:13 +00:00
Enrico Tröger
6146162d5f
Fix wrong default value (thanks John).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1685 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-09 15:35:25 +00:00
Enrico Tröger
a63323142c
Use Ctrl-B for Goto matching brace.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1683 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-09 13:53:27 +00:00
Enrico Tröger
fe74823881
Use a TreeView for keybinding list in the preferences dialog and add descriptive sections for better usability.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1682 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-09 13:48:41 +00:00
Enrico Tröger
7a18268a19
Change default shortcut for Find Next/Previous to Ctrl-G and Ctrl-Shift-G.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1675 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-07 15:24:17 +00:00
Enrico Tröger
7b99a9f325
Add keybinding for Select, Transpose, Cut, Copy and Delete line.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1674 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-07 15:12:13 +00:00
Enrico Tröger
a707774d52
Add keybinding for select current paragraph.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1669 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-06 10:16:51 +00:00
Enrico Tröger
1db1865319
Change comment toggle shortcut to Ctrl-E, undefine shortcuts for comment/uncomment.
...
Improve some selection issues when using comment/uncomment.
Improve comment toggling by adding an additional character to mark.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1668 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-05 18:19:56 +00:00
Enrico Tröger
f90fc4f005
Change Help shortcut to F1, use Ctrl-H for Replace.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1662 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-04 14:41:58 +00:00
Enrico Tröger
a42f1f93c5
Add keybindings for forward/back code navigation.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1593 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-03 16:03:46 +00:00
Nick Treleaven
4193196248
Move MyApp::pref_editor_* to editor.h, using editor_prefs struct.
...
Move INDENT_* enums to editor.h.
Move utils_get_whitespace() to editor.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1587 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-29 16:30:54 +00:00
Nick Treleaven
fdaa689bff
Rename sci_cb.[hc] editor.[hc].
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1584 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-28 16:07:30 +00:00
Enrico Tröger
b5f8992a5d
Added many widget names to different dialogs for use with custom styles. Menu items still don't work.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1535 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-15 15:16:16 +00:00
Enrico Tröger
5b01f262e3
Added menu item to hide or show all additional widgets and renamed keybinding to menu_toggleall.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1511 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-06 14:49:51 +00:00
Nick Treleaven
ad56cd59de
Make marker and matching brace keybindings global.
...
(Also indent some case statement bodies).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1507 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-05 16:35:59 +00:00
Enrico Tröger
0514bba3d3
Added keybinding to show and hide all additional widgets(statusbar, toolbar, sidebar and messages window).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1505 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-04 16:59:00 +00:00
Nick Treleaven
2acfbdf2d6
Merge file menu keybinding callbacks into cb_func_file_action().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1502 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-03 16:13:30 +00:00
Nick Treleaven
dc47b38ee0
Add keybinding to show project properties dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1501 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-03 15:38:02 +00:00
Enrico Tröger
398ddf6d73
Added context actions to run custom commands on current selection or the current word below cursor.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1453 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-15 18:09:59 +00:00
Nick Treleaven
4e13a55645
Only construct-complete when the editor widget has focus.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1438 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-05 11:53:52 +00:00
Enrico Tröger
e123af1c55
Fixed warning about shadowing a local variable.
...
Add keybinding for switching to the search bar (as suggested by Nikolas Arend).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1430 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-30 10:38:13 +00:00
Nick Treleaven
7dc7e55951
Add headings for the Keyboard Shortcuts dialog to group related
...
commands.
Shorten the 'Send to custom command' labels slightly.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1429 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-29 14:39:04 +00:00
Nick Treleaven
a52574c582
Add keybinding for construct completion, and set the default to tab.
...
Separate complete_constructs() code from sci_cb_auto_forif().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1426 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-27 15:48:16 +00:00
Nick Treleaven
e7e2c6056e
Change comment/uncomment keybinding to Ctrl-G/Ctrl-Shift-G.
...
Change duplicate KB to Ctrl-D (Scintilla default).
Change goto line KB to Ctrl-J (so Ctrl-L line cut Sci KB works).
Remove default goto matching brace KB (doesn't work on all
keyboards).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1423 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-26 12:13:04 +00:00
Enrico Tröger
b187533760
Use Ctrl+Shift+Space always for showing calltips because Alt+Space is used often by window managers (not only under Windows).
...
Added keybinding for inserting alternative whitespace characters.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1422 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-25 20:51:45 +00:00
Nick Treleaven
a581744a05
Ignore Caps Lock in keybindings_got_event() (could cause problems
...
with e.g. Shift-F9).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1420 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-24 16:10:20 +00:00
Nick Treleaven
b05c0a7f0e
Rename dialogs_show_prefs_dialog() to prefs_show_dialog().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1416 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-23 16:47:27 +00:00
Nick Treleaven
7ae070145b
Move dialogs_show_keyboard_shortcuts() to keybindings.c.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1415 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-23 16:34:54 +00:00
Enrico Tröger
94a1b00fe2
Applied patch from Anh Phạm to add a keybinding for selecting the current word under the cursor (thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1413 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-22 15:51:39 +00:00
Nick Treleaven
af0675be2f
Prevent NULL warnings with send to command keybindings.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1399 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-15 13:24:27 +00:00
Nick Treleaven
0a88e35c31
Add Toggle Marker keybinding (Ctrl-M).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1398 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-15 13:14:04 +00:00
Nick Treleaven
3293150f92
Add Goto Previous/Next Marker keybindings (Ctrl-, and Ctrl-.).
...
Make sci_marker_next() and sci_marker_previous() return marker line
number.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1397 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-15 12:52:16 +00:00
Nick Treleaven
20115f6f54
Add 'Switch to last used document' keybinding.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1390 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-13 17:00:12 +00:00
Enrico Tröger
549f19444e
Added custom commands to send selected text through some definable commands and replace the selection with the output.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1334 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-25 14:26:55 +00:00
Nick Treleaven
806dd5be1d
Add descriptions for all .c source files below the file header.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1329 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-24 11:41:56 +00:00
Enrico Tröger
f548b5b5bb
Added possibility to create and open non-existent files from command line ( closes #1635094 and #1652917 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1290 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-15 23:56:15 +00:00
Enrico Tröger
3f360fcdd9
Improved the auto scrolling of documents (actually done by Nick).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1237 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-31 15:53:11 +00:00
Enrico Tröger
8bd2debe4d
Added keybinding and menu entry to open a file which is selected in current tab.
...
Made Insert Special HTML characters insensitive if there are no open tabs.
Removed Zoom items from popup menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1225 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-24 19:20:12 +00:00
Nick Treleaven
e8a22dee62
Applied patch from Jeff Pohlmeyer to add 'Find Selected' and
...
'Find Prev Selected' Search commands and keybindings (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1222 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-23 17:51:30 +00:00
Nick Treleaven
13bcd7868c
Change default keybinding for Close All to Ctrl-Shift-W to avoid
...
conflict with Document menu (thanks to Jeff Pohlmeyer).
Remove Alt-P default KB for Preferences to avoid conflict with
Project menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1201 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-18 11:31:37 +00:00
Enrico Tröger
7b61ad934d
Updated copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1188 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-14 17:36:42 +00:00
Enrico Tröger
692d2aa731
Added keyboard shortcut for Save As.
...
Added missing documentation for some keyboard shortcuts.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1169 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-08 18:15:06 +00:00
Nick Treleaven
eb2c45e278
Ensure the VTE visual settings are applied when switching to VTE
...
when the Message Window is hidden.
Show the Message Window when switching to Scribble.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1158 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-06 11:55:01 +00:00
Nick Treleaven
b71c227f55
Add 'Hide Message Window' popup menu item for each window in the
...
message window area.
Add msgwin_menu_add_common_items().
Move remaining message window setup code to msgwin_init().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1090 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-13 16:41:25 +00:00