Re: [scite] Re: caret.policy.xjumps not working anymore?
Philippe Lhoste <PhiLho <at> gmx.net>
2002-02-07 17:39:40 GMT
> Andy Sy:
> > > Under Scite 1.41 and 1.43 (didn't try 1.42), I find
> > > that setting caret.policy.xjumps=1 no longer prevents the
> > > text display area from jumping around when editing a
> > > line that's longer than the display area.
> > Display area stays put when you highlight and delete stuff
> > via the mouse, but not when you click somewhere to move the
> > cursor and then start typing something in.
> Not an option I use but trying 1.39 seems to work the same as 1.43 to me
> which is not how I assumed it worked. There is one jump and then it acts
> like xjumps not set. The code in EnsureCaretVisible appears unchanged
> for a comment change and a change that should only be active when wrapping
> is on. IIRC, this feature was done by Philippe. Any comments, Philippe?
I took a look. Indeed, when approaching the right margin, for example, the
display jumps, then move only by little steps. I believe it should move by
little step from the start.
When rereading the SciTE doc. and the Scintilla code, I found out that some
caret.policy settings are not used in horizontal moves. It wasn't clear from
I rewrote the text, trying to be more clear/explicit.
Please, feel free to change it as fitting, rewrite it is real English, or
restore actual meaning