diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/Scintilla.h | 3 | ||||
| -rw-r--r-- | include/Scintilla.iface | 9 | 
2 files changed, 10 insertions, 2 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index b91c78c2a..efb536742 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -669,6 +669,9 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,  #define SCI_FINDCOLUMN 2456  #define SCI_GETCARETSTICKY 2457  #define SCI_SETCARETSTICKY 2458 +#define SC_CARETSTICKY_OFF 0 +#define SC_CARETSTICKY_ON 1 +#define SC_CARETSTICKY_WHITESPACE 2  #define SCI_TOGGLECARETSTICKY 2459  #define SCI_SETPASTECONVERTENDINGS 2467  #define SCI_GETPASTECONVERTENDINGS 2468 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index d7c850840..f40530fda 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1780,10 +1780,15 @@ fun int EncodedFromUTF8=2449(string utf8, stringresult encoded)  fun int FindColumn=2456(int line, int column)  # Can the caret preferred x position only be changed by explicit movement commands? -get bool GetCaretSticky=2457(,) +get int GetCaretSticky=2457(,)  # Stop the caret preferred x position changing when the user types. -set void SetCaretSticky=2458(bool useCaretStickyBehaviour,) +set void SetCaretSticky=2458(int useCaretStickyBehaviour,) + +enu CaretSticky=SC_CARETSTICKY_ +val SC_CARETSTICKY_OFF=0 +val SC_CARETSTICKY_ON=1 +val SC_CARETSTICKY_WHITESPACE=2  # Switch between sticky and non-sticky: meant to be bound to a key.  fun void ToggleCaretSticky=2459(,)  | 
