68 Commits

Author SHA1 Message Date
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
Nick Treleaven
219eaf3dcd Change goto matching brace default keybinding to
CTRL-SHIFT-< (requires shift on some keyboards).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@896 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-16 14:09:20 +00:00
Enrico Tröger
c4cbce1584 Added keyboard shortcut Ctrl+< to jump between matching braces(closes #1571283).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@884 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-11 22:01:26 +00:00
Enrico Tröger
9f5b32cd9a Added menu items for toggle line commentation.
Changed some mnemonics in the "format" submenu.
Added keyboard shortcuts for "Convert Selection to lower-case".


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@814 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-12 08:32:52 +00:00
Enrico Tröger
aff687fd33 Added comment toggle functionality to easily comment and uncomment a line with one shortcut (default Ctrl+B) (closes #1552184).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@808 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-10 11:47:26 +00:00
Nick Treleaven
a63fc1e40e Moved UI related utils from utils.c to ui_utils.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@790 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-05 14:24:47 +00:00
Nick Treleaven
dff3122273 Move current_word and clickpos to editor_info struct in sci_cb.c.
Move on_editor_button_press_event to sci_cb.c.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@789 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-04 15:57:46 +00:00
Enrico Tröger
b1b4a4e157 Split filetype PHP/HTML into PHP and HTML.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@779 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-01 17:07:49 +00:00
Nick Treleaven
0bd427bd05 Remove filetypes.h and Scintilla includes from geany.h; Add VALID_DOC_IDX macro
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@751 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 20:39:59 +00:00
Enrico Tröger
312579d70a Added menu items to insert configurable date/time strings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@744 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-19 12:56:30 +00:00
Nick Treleaven
725a2b7de0 Return to showing calltips after successful autocompletion; Use separate functions for html and tag autocompletion
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@727 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 21:00:43 +00:00
Nick Treleaven
f75fd1402a Group search related code
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@698 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-11 21:12:49 +00:00
Enrico Tröger
2a30d0abe3 Added some menu items to the edit menu for editing tasks.
Added keyboard shortcuts for increase/decrease of line indentation (closes #1521717).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@656 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-01 10:35:32 +00:00
Enrico Tröger
74e1d66c13 Added functionality to uncomment code and added keyboard shortcut Ctrl+Shift+D for this (closes #1521714).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@653 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-31 09:39:33 +00:00
Enrico Tröger
31c17438cb Removed unused colour parsing functions.
Let the colour chooser pick the colour under the cursor.
Fixed bug in parsing strings containing hex values, modified the styles to keep the syntax highlighting consistent.
Removed startup warning.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@641 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-27 20:57:13 +00:00
Enrico Tröger
4e122c97b7 Removed macro GEANY_WIN32, use G_OS_WIN32 instead.
Introduced global variables for PACKAGE_DATA_DIR and  PACKAGE_LOCALE_DIR, removed macro DOCDIR (these changes are important for the Windows port).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@639 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-26 17:02:16 +00:00
Nick Treleaven
67de8f7217 Use CTRL-SHIFT-space for Windows show calltips (ALT-space is taken by the window manager)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@636 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-26 14:28:20 +00:00
Enrico Tröger
0ba2c566da Oops, forgot these files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@601 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-22 02:06:30 +00:00
Enrico Tröger
978a6fee93 Added menu item View->Show Sidebar and improved code around it.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@598 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-21 11:41:33 +00:00
Enrico Tröger
f21e623e27 Show auto completion list immediately when called by a keybinding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@562 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-15 12:38:45 +00:00
Nick Treleaven
e719640914 Add keybinding for Find in files
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@559 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-15 11:17:23 +00:00
Enrico Tröger
a1da3923df Added return value and tag name to the calltip.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@550 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-11 17:44:42 +00:00
Enrico Tröger
100987ee91 Improved toolbar popup menu.
Added new preferences tab for toolbar settings, several toolbar buttons can be hidden.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@548 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-11 14:15:56 +00:00
Enrico Tröger
0f061ee31a Improved behaviour of toggle sidebar after a restart. Introduced new flag sidebar_visible, renamed configuration keys.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@538 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-07 14:34:43 +00:00
Nick Treleaven
d9361d4328 Add keybinding for Make object, update Make descriptions
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@536 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-06 09:43:10 +00:00
Enrico Tröger
424bfd32ca Added shortcut for Select All.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@517 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 14:12:05 +00:00