From 87b343765c4cdf578b60d5926b061132b0465041 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 15 Jul 2009 23:50:36 +0000 Subject: 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. --- src/Selection.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Selection.h') 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 -- cgit v1.2.3