diff options
author | nyamatongwe <unknown> | 2003-04-18 10:19:52 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-04-18 10:19:52 +0000 |
commit | 3b031e3e5ec28064ce2bb4e67e0d9e48a40ee594 (patch) | |
tree | be79d641bf1864cfc90539159dff2769ab5541d3 /include | |
parent | 9a1ee8d945b1aeeb1dab0d7e7d0710194a5cad5b (diff) | |
download | scintilla-mirror-3b031e3e5ec28064ce2bb4e67e0d9e48a40ee594.tar.gz |
New methods for finding the next or previous position taking multi byte
characters into account.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 2 | ||||
-rw-r--r-- | include/Scintilla.iface | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index c377d07cc..470425e76 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -535,6 +535,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_PARADOWNEXTEND 2414 #define SCI_PARAUP 2415 #define SCI_PARAUPEXTEND 2416 +#define SCI_POSITIONBEFORE 2417 +#define SCI_POSITIONAFTER 2418 #define SCI_STARTRECORD 3001 #define SCI_STOPRECORD 3002 #define SCI_SETLEXER 4001 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 8ad828cd0..3b71a37a3 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1441,6 +1441,14 @@ fun void ParaDownExtend=2414(,) fun void ParaUp=2415(,) fun void ParaUpExtend=2416(,) +# Given a valid document position, return the previous position taking code +# page into account. Returns 0 if passed 0. +fun position PositionBefore=2417(position pos,) + +# Given a valid document position, return the next position taking code +# page into account. Maximum value returned is the last position in the document. +fun position PositionAfter=2418(position pos,) + # Start notifying the container of all key presses and commands. fun void StartRecord=3001(,) |