Snow: > Neil Hodgson wrote: > > This change makes the scroll width too variable I think: it will > > extend the scroll range when painting a wide line, but may also, > > sometimes, shrink the scroll range when moving to a narrow portion of > > the file. It should really only act to widen the range automatically. > > Well, that was the intended behaviour. It mirrors how many of the > editors/IDEs that I use work.
I have never used an editor that does this. If they try to expand the horizontal scroll range to match the text width they try to match the widest line in the file rather than just the widest line viewed recently. > currentPageWidth is the width of the page that is visible. scrollWidth > is the width of the scrollbar. If they aren't equal then scrollWidth is > set to currentPageWidth and the scrollbars updated. What else is there > to be defined? When state changes. > I can make 0 an invalid setting, but what do you want it to do? It should not be propagated to scrollWidth. Neil _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
