that document model is cool, but it's a whole other thing not for keyboard char by char input it's too intensive unless it's doing something really unnecessary with invalidation and layout
On Fri, Mar 20, 2009 at 9:31 AM, John Pritchard <[email protected]> wrote: > > i'm thinking CharSequence inside text area > a Char Sequence with setSelection and insert and delete > > > > On Thu, Mar 19, 2009 at 7:07 PM, Greg Brown <[email protected]> wrote: > >> Do you have a different approach in mind? FWIW, Swing, WPF, and various >> other toolkits, including HTML, use some form of document model, so I'm >> inclined to say that the approach itself is probably pretty valid. >> >> >> On Mar 19, 2009, at 5:52 PM, John Pritchard wrote: >> >> i'm having serious doubts about the whole document thing in the text >>> area.. >>> >>> >>> On Thu, Mar 19, 2009 at 12:34 PM, Todd Volkert <[email protected]> >>> wrote: >>> >>> I'll let Greg look at the code, but just reiterating what Greg said: >>>> TextArea is the *one* component in WTK that's not yet ready for >>>> prime-time, so it's likely to have a ton of bugs if you try to use it >>>> in a real app. Greg's actively working on this component. >>>> >>>> -T >>>> >>>> 2009/3/19 John Pritchard <[email protected]>: >>>> >>>>> >>>>> the attached patch fixes a bug in textarea >>>>> the bug was that instantiating an editable text area, it would not >>>>> accept >>>>> input >>>>> >>>>> >>>>> >>>> >> >
