Hi Robert, Am Dienstag, den 07.02.2006, 16:15 +0100 schrieb Robert Schuster: > Hi, > I am starting to grok that swing stuff. :)
Great! Welcome in the Swing hacker boat. > I added TextAction implementations for selecting the current line (backward > and > forward), the whole text from the current position (backward & forward) and > corrected the behavior of single character deletions when the text has a > selection. > > Or textfield and textareas now do what you would expect from them when > pressing > shift-home, shift-end, shift-ctrl-home, shift-ctrl-end and del/backspace when > your text has a selection. > > 2006-02-07 Robert Schuster <[EMAIL PROTECTED]> > > * javax/swing/text/DefaultEditorToolkit.java: Changed behavior > of actions "delete-next" and "delete-previous", added new TextAction > implementations for "selection-begin", "selection-begin-line", > "selection-end" and "selection-end-line". > > Please comment. Looks fine. Except that I personally don't like all those anonymous inner classes lined up in a huge(!) array. But that's how it was implemented for the other actions, so this is ok. Please commit. /Roman
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil