aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-02-02 22:12:47 +1100
committernyamatongwe <devnull@localhost>2011-02-02 22:12:47 +1100
commit1358e229fd2b44a03dca665a50ca98b1f5ced5e3 (patch)
tree72bd71347d240ac59128b71e88753653e14ffcdb
parent00e49b085ffd982a394057feee62d271798555d0 (diff)
downloadscintilla-mirror-1358e229fd2b44a03dca665a50ca98b1f5ced5e3.tar.gz
Calling ClearSelection with explicit argument to make compile for Cocoa.
-rw-r--r--cocoa/ScintillaCocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm
index 6d3296a51..823bcfd3f 100644
--- a/cocoa/ScintillaCocoa.mm
+++ b/cocoa/ScintillaCocoa.mm
@@ -525,7 +525,7 @@ void ScintillaCocoa::Paste(bool forceRectangular)
return;
pdoc->BeginUndoAction();
- ClearSelection();
+ ClearSelection(false);
int length = selectedText.len - 1; // One less to avoid inserting the terminating 0 character.
if (selectedText.rectangular)
{