Hi Ben, It’s noticeable if you use small windows a lot, like I do. I guess you must have a bigger screen than mine ;-)
There is a description halfway down the thread on how to reproduce it, just before I uploaded the slice. Date is 19/08/2014 <https://pharo.fogbugz.com/f/cases/12569/TextModel-should-not-move-scroll-when-accepting-text#BugEvent.107762> > On Mar 22, 2015, at 09:00, Ben Coman <[email protected]> wrote: > > Can't say that I noticed it. There is no information on that issue on how to > reproduce it. Sounds like you've got two use cases. Can you provide some > specific examples of these so I can observe the behaviour. > cheers -ben > > On Sun, Mar 22, 2015 at 3:19 AM, Johan Fabry <[email protected] > <mailto:[email protected]>> wrote: > Hi all, > > I am assuming that I am not the only one that gets very annoyed when a > TextMorph scrolls the text when typing, such that the line I am typing is > always at the bottom, or scrolls the debugger when I am stepping over > instructions. I looked into this (bug > https://pharo.fogbugz.com/f/cases/12569/TextModel-should-not-move-scroll-when-accepting-text > > <https://pharo.fogbugz.com/f/cases/12569/TextModel-should-not-move-scroll-when-accepting-text> > actually) and I found a fix. > > But first I want to understand why the code is as it is. Anybody have any > idea why PluggableTextMorph>>setTextBasic: starts with scrollBar setValue: > 0.0. ?? If I remove this line the very annoying behavior is gone, and as far > as I can see there are no negative consequences on text handling (and > scrolling) in general. So I am wondering why it is there at all. > > A slice with my fix is in the inbox if you want to play a bit with it: > SLICE-Issue-12569-TextModel-should-not-move-scroll-when-accepting-text-johanfabry.1 > > Please have a look, this behavior has been getting on my nerves for quite > some time now … > > > ---> Save our in-boxes! http://emailcharter.org <http://emailcharter.org/> > <--- > > Johan Fabry - http://pleiad.cl/~jfabry <http://pleiad.cl/~jfabry> > PLEIAD lab - Computer Science Department (DCC) - University of Chile > > > ---> Save our in-boxes! http://emailcharter.org <--- Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile
