class: EditTextView
changed: #validateCursorLine:
fix: edit bug when deleting selection
--- a/EditTextView.st Sun Jun 28 03:54:33 2015 +0000
+++ b/EditTextView.st Tue Jun 30 14:14:38 2015 +0200
@@ -2534,10 +2534,12 @@
"/
"/ in st80Mode, the cursor may not be positioned
- "/ beyond the last line
+ "/ beyond the last line
+ "/ (but it must be posible to place it on one line below the last one
+ "/ - otherwise deleteSelection and some others fail to delete from previousToLastLine)
"/
self st80EditMode ifTrue:[
- ^ (line min:(list size)) max:1
+ ^ (line min:(list size + 1)) max:1
].
^ line