Committed.

Thanks for the review!

cya
Robert

Roman Kennke wrote:
> Hi Robert,
> 
> Am Mittwoch, den 15.02.2006, 12:32 +0100 schrieb Robert Schuster:
> 
>>Hi,
>>with this patch JTextArea's caret learns to move and select up and down
>>correctly. The patch mainly adds code that updates the so called magic caret
>>position.
>>
>>In the respective actions this properties value is then used to determine the
>>new location.
>>
>>The actions for up & down selections are, the other ones have been tweaked 
>>only
>>(to make use of the viewToModel related fix I committed a few days ago).
>>
>>Please comment.
> 
> 
> Looks good to me. Please commit.
> 
> /Roman
> 
> 
>>The ChangeLog:
>>
>>2006-02-15  Robert Schuster  <[EMAIL PROTECTED]>
>>
>>        * javax/swing/text/JTextComponent.java:
>>        (replaceSelection): Added code to update the magic caret position.
>>        * javax/swing/text/DefaultEditorKit.java: Added code to update
>>        the magic caret position of the text component in all relevant
>>        movement actions, make use of the magic caret position in up
>>        and down movements and selections, simplified some actions
>>        (code-wise).
>>
>>cya
>>Rober
> 
> t

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to