Adam Harrison
116c14679d
Fixing linewrapping bug to do with wordwrapping.
2023-08-07 15:26:38 +01:00
Guldoman
385ee69f94
`linewrapping`: Disable horizontal scrolling when enabled ( #1309 )
2023-01-05 16:02:12 -05:00
jgmdev
acebbfd88a
linewrapping: fix enabled always by mistake introduced with #1190
2022-11-07 13:59:13 -04:00
Quinten Kock
4a5851afe5
Make linewrapping plugin recompute breaks before scrolling ( #1190 )
2022-11-06 22:34:07 -04:00
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