aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2012-05-26 15:15:07 +1000
committernyamatongwe <devnull@localhost>2012-05-26 15:15:07 +1000
commit1596a6d6b4540980cd6a8249460d881d6d190c1f (patch)
tree498aeab1fe1cf973892c069753d8d06ea5420785 /src/Editor.cxx
parent25e91c5a5870ea1138684dbd2d67888bccce5876 (diff)
downloadscintilla-mirror-1596a6d6b4540980cd6a8249460d881d6d190c1f.tar.gz
Add GetRangePointer and GetGapPosition methods.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx6
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();