diff options
author | nyamatongwe <devnull@localhost> | 2012-05-26 15:15:07 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2012-05-26 15:15:07 +1000 |
commit | 1596a6d6b4540980cd6a8249460d881d6d190c1f (patch) | |
tree | 498aeab1fe1cf973892c069753d8d06ea5420785 /src/Editor.cxx | |
parent | 25e91c5a5870ea1138684dbd2d67888bccce5876 (diff) | |
download | scintilla-mirror-1596a6d6b4540980cd6a8249460d881d6d190c1f.tar.gz |
Add GetRangePointer and GetGapPosition methods.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index c3a4eafb4..8aea4db1d 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -8910,6 +8910,12 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { case SCI_GETCHARACTERPOINTER: return reinterpret_cast<sptr_t>(pdoc->BufferPointer()); + case SCI_GETRANGEPOINTER: + return reinterpret_cast<sptr_t>(pdoc->RangePointer(wParam, lParam)); + + case SCI_GETGAPPOSITION: + return pdoc->GapPosition(); + case SCI_SETEXTRAASCENT: vs.extraAscent = wParam; InvalidateStyleRedraw(); |