From ee6a5a8ecf0498fd2bc48803335f858eccfece69 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 7 Jul 2014 23:51:04 +1000 Subject: Fix bug where too many characters may be deleted when a rectangular selection is deleted. --- 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 9e95fb043..499f83771 100644 --- a/src/Selection.h +++ b/src/Selection.h @@ -115,6 +115,7 @@ struct SelectionRange { anchor.SetVirtualSpace(0); caret.SetVirtualSpace(0); } + void MoveForInsertDelete(bool insertion, int startChange, int length); bool Contains(int pos) const; bool Contains(SelectionPosition sp) const; bool ContainsCharacter(int posCharacter) const; -- cgit v1.2.3