90 Commits

Author SHA1 Message Date
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
Enrico Tröger
b3dd894a5e Implemented simple printing support.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@505 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 17:14:52 +00:00
Enrico Tröger
4a8efb4d80 Remember the active page when toggling the sidebar. Simplified code for toggling messages window.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@482 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 17:02:27 +00:00
Enrico Tröger
378d614885 Added some sanity checks to prevent crashes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@477 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 18:46:08 +00:00
Enrico Tröger
f375a6be68 Added missing shortcut for "Close".
Added option in the preferences dialog to replace tabs by spaces when saving a file.
Added option for default encoding for new files.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@470 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-21 18:54:07 +00:00
Nick Treleaven
f8c92268f7 Use correct current_word buffer for popup menu item keybindings; also use GEANY_MAX_WORD_LENGTH
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@461 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-18 20:21:19 +00:00
Enrico Tröger
67ac0f1888 Fixed a segfault when pressing shortcut for "Find Usage" and there is no open file. Removed unneeded label padding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@460 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-18 17:14:32 +00:00
Nick Treleaven
e77a953d95 Show shortcut keys for Undo/Redo and popup items
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@459 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-18 17:05:09 +00:00
Nick Treleaven
e07a1a8387 Add keybindings for Find Usage, Go to definition/declaration, based on the current cursor position. Also ensure null termination in utils_find_current_word
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@456 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-17 21:08:47 +00:00
Nick Treleaven
7b0f931a2f Set default keybindings for switch page left/right; also group toggle sidebar keybinding with toggle messages
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@455 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-17 17:05:41 +00:00
Nick Treleaven
0c9a5af71e Made Duplicate Line command duplicate selection if present
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@453 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-17 15:39:47 +00:00
Enrico Tröger
e14cbbae1c Added labels for each defined shortcut to have a nicer representation in the dialogs. Hide make and terminal settings in the preferences dialog under Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@425 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-08 15:12:55 +00:00
Enrico Tröger
9ebcde14a5 changed default keybinding for menu_replace to Ctrl+E
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@405 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-04 13:06:25 +00:00
Enrico Tröger
3dc7be7033 Added shortcut for Replace Tabs by Space, extend usage of GEANY_ADD_ACCEL macro
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@376 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-30 15:28:13 +00:00
Nick Treleaven
ecc808190f Set shortcut for Replace and split keybindings_init code
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@362 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-24 16:56:14 +00:00
Nick Treleaven
764f99c131 Add shortcuts for Find Previous, Go to line
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@361 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-24 13:18:42 +00:00
Enrico Tröger
db7f89ca65 improved toggle visibility of sidebar when toggled by keyboard
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@356 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-22 13:43:56 +00:00
Enrico Tröger
57e78ec32d added menu_messagewindow and toggle_sidebar shortcuts
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@350 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-21 14:02:55 +00:00
Enrico Tröger
d47e10998f make keyboard shortcuts user-definable
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@342 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-19 17:18:06 +00:00