[FIX][BUG] [ShrinkingSelection] cursorEnd:

Hernan Tylim htylim at yahoo.com.ar
Tue May 27 23:32:55 UTC 2003


Hi Torge, 
	
	I am sending you a fix for what I think is a Bug in the
ShrinkingSelection package.

>From preamble:

This change set fix a bug in the ShrinkingSelection package.

bug description: when #wordStyleCursorMovement preference is turned on,
the End keystroke doesn't position the cursor at the end of a line when
that line is the last one of the text. What it does is position the
cursor behind the last character instead of after it. This change-set
fix this.

fix description: If the index that would be returned in the block
defined on cursorEnd: is the size of the string, this is changed to
return the index but incremented in one.

Note: this is a resend because I think the first one was sent to a wrong
email address. Sorry if you receive this twice.

Regards, 
Hernán
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cursorEnd.1.cs
Type: application/octet-stream
Size: 1352 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030527/25786505/cursorEnd.1.obj


More information about the Squeak-dev mailing list