diff options
author | nyamatongwe <nyamatongwe@gmail.com> | 2012-09-06 10:06:27 +1000 |
---|---|---|
committer | nyamatongwe <nyamatongwe@gmail.com> | 2012-09-06 10:06:27 +1000 |
commit | d3274754216291aad17111312b2b7749bb99a362 (patch) | |
tree | 453016aa432926d98f328a9c47459d94bce79f6e | |
parent | 9f6689d44770e6384a645a7be520bf7d8a9de2b6 (diff) | |
download | scintilla-mirror-d3274754216291aad17111312b2b7749bb99a362.tar.gz |
Stop setting the save point from calls that should only be reading.
-rw-r--r-- | cocoa/ScintillaView.mm | 2 |
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; |