aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-04-14 23:02:55 +0000
committernyamatongwe <unknown>2001-04-14 23:02:55 +0000
commitbaf44aa397372e8250e360d47bedbaf048cd00fc (patch)
treee8603936a6255143f56a6d94d68d6e2891824da1 /src
parentbb8af679dd05150fc7966d5e33566a62a4958011 (diff)
downloadscintilla-mirror-baf44aa397372e8250e360d47bedbaf048cd00fc.tar.gz
Added implementations for SCI_GETTARGETSTART and SCI_GETTARGETEND.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index e9a258775..e44fbc9f9 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -3606,10 +3606,16 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
targetStart = wParam;
break;
+ case SCI_GETTARGETSTART:
+ return targetStart;
+
case SCI_SETTARGETEND:
targetEnd = wParam;
break;
+ case SCI_GETTARGETEND:
+ return targetEnd;
+
case SCI_REPLACETARGET:
PLATFORM_ASSERT(lParam);
return ReplaceTarget(wParam, reinterpret_cast<char *>(lParam));