93 Commits

Author SHA1 Message Date
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
Enrico Tröger
ad37f83878 New files tools.c and tools.h.
Added a dialog to insert HTML special characters.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1088 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-13 00:46:14 +00:00
Nick Treleaven
a0da812c93 Add keybindings for Next Message and Next Error commands.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1077 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-09 17:03:03 +00:00
Nick Treleaven
0dfb4736cb Show the Message window when switching to the vte.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1076 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-09 16:23:29 +00:00
Nick Treleaven
978de6fe6f Add Next Message and Next Error menu items.
Don't select the last build message on completing a build.
Change build_get_menu_items(-1) to return current build menu.
Add Copy popup menu item for Status and Messages windows.
Move on_message_treeview_clear_activate(),
on_compiler_treeview_copy_activate() to msgwindow.c.
Create the Recent files submenu item manually because Glade 2.10
removes empty menus.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1068 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-08 15:50:10 +00:00
Nick Treleaven
e458304ce3 Make all filetypes except LaTeX use the same build menu, disabling
any items that don't apply for the current document.
Move BuildMenuItems struct type to build.h.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1038 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-30 15:42:52 +00:00
Nick Treleaven
e39cf19730 Make stop button only apply for killing running programs.
Disable build commands when building is in progress.
Make build_menu_update() detect how to call set_stop_button().
Make build_menu_update() also update the LaTeX build menu.
Make build keybindings only active when the equivalent menu item
is also active.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1036 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-29 10:29:34 +00:00
Nick Treleaven
a9722ee94a Add switching to a notebook tab number using Alt-1 to Alt-9; Alt-0
switches to the last tab.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1021 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-23 12:23:36 +00:00
Enrico Tröger
fd09ada211 Use plural for line commentation description labels.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@992 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-13 22:26:55 +00:00
Nick Treleaven
7b1ca9594f Scroll matching selection to 1/3 of the view when searching.
Add sci_scroll_to_line(); remove sci_goto_line_scroll().
Show 'not found' message on status bar also when enter is pressed in
the search bar.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@964 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-03 15:09:13 +00:00
Enrico Tröger
643318c14e Changed keybinding for Print to Ctrl+C.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@953 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-01 16:03:41 +00:00
Nick Treleaven
2857094ec8 Only accept editing keybindings when the current Scintilla widget
has focus.
Group editing keybindings together in cb_func_edit.
Change keybinding callbacks to pass keybinding index as an argument.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@935 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-26 15:22:27 +00:00
Nick Treleaven
e821acb863 Move build menu related functions and callbacks to build.c.
Renamed ui_update_build_menu -> build_menu_update.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@902 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-18 19:35:42 +00:00