aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <nyamatongwe@gmail.com>2012-09-06 10:06:27 +1000
committernyamatongwe <nyamatongwe@gmail.com>2012-09-06 10:06:27 +1000
commitd3274754216291aad17111312b2b7749bb99a362 (patch)
tree453016aa432926d98f328a9c47459d94bce79f6e
parent9f6689d44770e6384a645a7be520bf7d8a9de2b6 (diff)
downloadscintilla-mirror-d3274754216291aad17111312b2b7749bb99a362.tar.gz
Stop setting the save point from calls that should only be reading.
-rw-r--r--cocoa/ScintillaView.mm2
1 files changed, 0 insertions, 2 deletions
diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm
index 178762d68..a43cf74b0 100644
--- a/cocoa/ScintillaView.mm
+++ b/cocoa/ScintillaView.mm
@@ -1132,7 +1132,6 @@ static void notification(intptr_t windowid, unsigned int iMessage, uintptr_t wPa
try
{
mBackend->WndProc(SCI_GETSELTEXT, length + 1, (sptr_t) buffer);
- mBackend->WndProc(SCI_SETSAVEPOINT, 0, 0);
result = [NSString stringWithUTF8String: buffer];
delete[] buffer;
@@ -1165,7 +1164,6 @@ static void notification(intptr_t windowid, unsigned int iMessage, uintptr_t wPa
try
{
mBackend->WndProc(SCI_GETTEXT, length + 1, (sptr_t) buffer);
- mBackend->WndProc(SCI_SETSAVEPOINT, 0, 0);
result = [NSString stringWithUTF8String: buffer];
delete[] buffer;