diff options
author | nyamatongwe <unknown> | 2012-05-26 15:15:07 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2012-05-26 15:15:07 +1000 |
commit | 00c771cecda620db28cec9e4c50830f542e3a829 (patch) | |
tree | b14ac398aa30f650cf9c38fd43407d13e32384e8 /src/Editor.cxx | |
parent | 0af9eecdbfe8e8260ef67316e7208e1385715c73 (diff) | |
download | scintilla-mirror-00c771cecda620db28cec9e4c50830f542e3a829.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(); |