lite-xl/data
Francesco Abbate 3b30bfa18b Improve left/right scrolling behavior for DocView
With the new behavior when moving right and triggering a scroll in the
right direction a subsequent movement left do not longer triggers a
scrolling to the left.
The scrolling to the left happens only when needed for the visibility of
the current position.

In other terms with the old behavior the scrolling was purely a function
of the position and was adjusted even when not strictly needed for the
visibility of the cursor.
Now the scrolling is no longer a pure function of the position but it
has a "memory" behavior. The scrolling will be adjusted only if needed
to accommodate the position of the cursor.

Reduce also the width of the margin when the scrolling will be
triggered and calculate as a function of the font character width.

With the modification now Lite behaves like the other editors. In
addition the selection of text with the mouse is much more easy when
a scrolling of the line is needed.
2020-12-12 20:26:27 +01:00
..
colors Implement user's config as init file and add directory into package.path 2020-12-02 16:03:31 +01:00
core Improve left/right scrolling behavior for DocView 2020-12-12 20:26:27 +01:00
fonts Changed mapping of collapsed/expanded icons on icon font 2020-03-25 23:36:56 +00:00
plugins Move project manager into core init file 2020-12-08 16:57:57 +01:00
user Complete the initial user configuration file 2020-12-11 14:49:03 +01:00