diff options
author | Colomban Wendling <ban@herbesfolles.org> | 2012-08-25 00:07:55 +0200 |
---|---|---|
committer | Colomban Wendling <ban@herbesfolles.org> | 2012-08-25 00:07:55 +0200 |
commit | 1f4b5abefa8e7e1ca19e290898b7fa1a5103cd7c (patch) | |
tree | e56c27e88d6178a73a26a82dd9ec3b1b09c2339c /include | |
parent | dcc97971562b924d0cc488b8c9b486c5ded88f1c (diff) | |
download | scintilla-mirror-1f4b5abefa8e7e1ca19e290898b7fa1a5103cd7c.tar.gz |
Add SCI_VCHOMEDISPLAY keyboard command
This works like SCI_HOMEDISPLAY but goes to the first visible character
if on a logical line, like does SCI_VCHOME. This command makes it
possible to use display-line-aware commands while keeping the "smart
home" feature.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 1 | ||||
-rw-r--r-- | include/Scintilla.iface | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 63fe4fff5..f415b8e59 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -874,6 +874,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_PROPERTYTYPE 4015 #define SCI_DESCRIBEPROPERTY 4016 #define SCI_DESCRIBEKEYWORDSETS 4017 +#define SCI_VCHOMEDISPLAY 4018 #define SC_MOD_INSERTTEXT 0x1 #define SC_MOD_DELETETEXT 0x2 #define SC_MOD_CHANGESTYLE 0x4 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 138730e61..677dcf855 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -2328,6 +2328,10 @@ fun int DescribeProperty=4016(string name, stringresult description) # Retrieve a '\n' separated list of descriptions of the keyword sets understood by the current lexer. fun int DescribeKeyWordSets=4017(, stringresult descriptions) +# Move caret to before first visible character on display line. +# If already there move to first character on display line. +fun void VCHomeDisplay=4018(,) + # Notifications # Type of modification and the action which caused the modification. # These are defined as a bit mask to make it easy to specify which notifications are wanted. |