Guldoman
6b754eb628
Refactor scrollbar into its own file ( #1124 )
...
* Move scrollbar to its own file
* Don't call `Scrollbar` functions if `View` is not scrollable
* Allow horizontal scrolling in `Scrollbar`
* Add horizontal scrollbar to `View`
* Add `root:horizontal-scroll` command with `shift+wheel` keymap
* Prioritize vertical scrollbar hover
* Don't send mouse movement to vertical scrollbar when dragging horizontal one
* Fix clicking on horizontal scrollbar track
* Implement `start` scrollbar alignment
* Add documentation to `Scrollbar`
* Make `DocView` infinitely scrollable horizontally
* Handle horizontal scroll SDL event
2022-10-15 20:12:15 -04:00
jgmdev
de63574b53
plugin linewrapping: added priority
...
Since the linewrapping plugin modifies some of the DocView line
calculation and positioning functions we need to make sure of loading it
before other plugins. This way we make sure that plugins that also overwrite
and depend on DocView functionality aren't using the original methods without
the linewrapping changes, which leads to wrong line and column calculations.
2022-06-03 04:13:54 -04:00
jgmdev
2d8a15f3ab
plugins: dropped --lite-xl version tag
2022-05-31 16:34:14 -04:00
jgmdev
8bbca7c0b0
plugins: added settings gui support
2022-05-23 17:50:10 -04:00
Adam Harrison
2eaba8ab92
Erroneously added padding.
2022-05-04 20:08:08 -04:00
Adam Harrison
09bfb8d869
Updated linewrap and autocomplete to use the new get_line_screen_position which takes a col.
2022-05-04 20:05:41 -04:00
Adam Harrison
c112bd8d7c
Significantly improved performance of tokenization for larger documents by by default not requiring tokenization.
2022-04-17 13:01:45 -04:00
Adam Harrison
562e284d04
Fixed some minor issues with linewrapping.
2022-04-03 16:44:02 -04:00
Adam Harrison
11dfb5b1ca
Apparenlty these were issues? What?
2022-04-03 16:44:02 -04:00
Adam
3479890ce5
Soft Line Wrapping ( #636 )
...
Added in soft line wrapping.
2022-04-03 16:44:02 -04:00