SF.net SVN: geany:[5381] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Mon Nov 8 12:10:17 UTC 2010
Revision: 5381
http://geany.svn.sourceforge.net/geany/?rev=5381&view=rev
Author: ntrel
Date: 2010-11-08 12:10:17 +0000 (Mon, 08 Nov 2010)
Log Message:
-----------
Respect 'Smart' home key for Shift+Alt+Home (patch by Dimitar
Zhekov, thanks).
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/editor.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-11-07 18:54:18 UTC (rev 5380)
+++ trunk/ChangeLog 2010-11-08 12:10:17 UTC (rev 5381)
@@ -1,3 +1,10 @@
+2010-11-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * src/editor.c:
+ Respect 'Smart' home key for Shift+Alt+Home (patch by Dimitar
+ Zhekov, thanks).
+
+
2010-11-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c 2010-11-07 18:54:18 UTC (rev 5380)
+++ trunk/src/editor.c 2010-11-08 12:10:17 UTC (rev 5381)
@@ -5095,6 +5095,8 @@
sci_assign_cmdkey(sci, SCK_HOME | (SCMOD_SHIFT << 16),
editor_prefs.smart_home_key ? SCI_VCHOMEEXTEND : SCI_HOMEEXTEND);
+ sci_assign_cmdkey(sci, SCK_HOME | ((SCMOD_SHIFT | SCMOD_ALT) << 16),
+ editor_prefs.smart_home_key ? SCI_VCHOMERECTEXTEND : SCI_HOMERECTEXTEND);
sci_set_autoc_max_height(sci, editor_prefs.symbolcompletion_max_height);
SSM(sci, SCI_AUTOCSETDROPRESTOFWORD, editor_prefs.completion_drops_rest_of_word, 0);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list