diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 2 | ||||
-rw-r--r-- | include/Scintilla.iface | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 677cd0325..b31e81831 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -705,6 +705,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_ANNOTATIONGETSTYLEOFFSET 2551 #define UNDO_MAY_COALESCE 1 #define SCI_ADDUNDOACTION 2560 +#define SCI_CHARPOSITIONFROMPOINT 2561 +#define SCI_CHARPOSITIONFROMPOINTCLOSE 2562 #define SCI_STARTRECORD 3001 #define SCI_STOPRECORD 3002 #define SCI_SETLEXER 4001 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index a2c905fb7..9c9eeb1be 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1907,6 +1907,13 @@ val UNDO_MAY_COALESCE=1 # Add a container action to the undo stack fun void AddUndoAction=2560(int token, int flags) +# Find the position of a character from a point within the window. +fun position CharPositionFromPoint=2561(int x, int y) + +# Find the position of a character from a point within the window. +# Return INVALID_POSITION if not close to text. +fun position CharPositionFromPointClose=2562(int x, int y) + # Start notifying the container of all key presses and commands. fun void StartRecord=3001(,) |