aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Selection.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2009-07-15 23:50:36 +0000
committernyamatongwe <unknown>2009-07-15 23:50:36 +0000
commit4e11c05935799050dbacbe689b47143ddee728eb (patch)
treeb8ef2601c062e93bc8fc1b619aba7283a5c3dda7 /src/Selection.h
parentb9cb2eb38f6dc23b2b6a46d59de2436b2b9824da (diff)
downloadscintilla-mirror-4e11c05935799050dbacbe689b47143ddee728eb.tar.gz
Remove duplicate carets after Delete or Backspace.
Adding 1 to size returned for GetSelText so that container will allocate enough memory to hold \0 for empty selection.
Diffstat (limited to 'src/Selection.h')
-rw-r--r--src/Selection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Selection.h b/src/Selection.h
index 9e5372638..2c4ee120b 100644
--- a/src/Selection.h
+++ b/src/Selection.h
@@ -155,6 +155,7 @@ public:
int InSelectionForEOL(int pos) const;
int VirtualSpaceFor(int pos) const;
void Clear();
+ void RemoveDuplicates();
};
#ifdef SCI_NAMESPACE