Third attempt SLICE-Issue-12144-TextModelgetSelection-NicolaiHess.3 please review, I really don't know what would be the correct way to handle selection from a) TextModel to View (PluggableTextMorph) b) View to TextModel
I now use TextModel>>#setSelection: for changes that should be announced (send ->valuechange) and setSelectionInterval: for changes that comes from the Morph and should not be announced (->use rawvalue:) Nicolai 2014-02-15 11:17 GMT+01:00 Sven Van Caekenberghe <[email protected]>: > The debugger is very important and since we have a new one, the QA is > essential. > > So I vote for doing it right in 3.0 > > On 15 Feb 2014, at 11:02, Nicolai Hess <[email protected]> wrote: > > > Should we tag issue 12144 for Pharo3? At the moment, this is only an > isseu for the debugger, but is is related to spec. We can expect more > apps/developer suffer from this in the future and I dont want to see, > everyone invents its own workaround. > > > > I made to slices, with the first the textmodel only recognizes > selections done by the mouse, with the second, selection by keyboard works > too. But than you can only select text from left to right :( > >
