aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaCocoa.mm
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-02-02 22:12:47 +1100
committernyamatongwe <unknown>2011-02-02 22:12:47 +1100
commitafa7e10eaef14b89b75d6c9cc1e192f12f1b619e (patch)
tree58b6af3e8192f703cab2db113b69bd9b80c0c3cd /cocoa/ScintillaCocoa.mm
parentf9ea03b65b8bf43301f9cf12600e4133700e5f1c (diff)
downloadscintilla-mirror-afa7e10eaef14b89b75d6c9cc1e192f12f1b619e.tar.gz
Calling ClearSelection with explicit argument to make compile for Cocoa.
Diffstat (limited to 'cocoa/ScintillaCocoa.mm')
-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)
{