Jefferson González
b70069572e
Merge pull request #1018 from jgmdev/PR/linewrapping-priority
...
plugin linewrapping: added priority
2022-06-03 13:28:03 -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
5da7467a5c
plugin drawwhitespace: return line height on draw_line_text
2022-06-03 03:16:18 -04:00
Jefferson González
92a008614f
Merge pull request #1017 from jgmdev/PR/separate-default-theme
...
style: move default colors to its own style file
2022-06-02 20:12:07 -04:00
jgmdev
ca46d8e261
style: move default colors to its own style file
2022-06-02 19:20:54 -04:00
Guldoman
8ce1ecb897
Fix `CommandView:enter` deprecation log
2022-06-02 06:42:58 +02:00
Jefferson González
cd80270feb
Merge pull request #1015 from jgmdev/PR/drawwhitespace-config-spec
...
plugin drawwhitespace: added config spec
2022-06-02 00:08:38 -04:00
jgmdev
4157dd867c
plugin drawwhitespace: added config spec
2022-06-02 00:07:34 -04:00
Jefferson González
59a5839ac9
Merge pull request #908 from Guldoman/PR_improve_whitespace
...
Improve `drawwhitespace` plugin
2022-06-01 21:59:45 -04:00
Adam Harrison
67066fc93a
Added in defaults for dirwatch.
2022-06-01 18:36:00 -04:00
Guldoman
d390eb248e
Fix tooltip not getting removed after `find-replace:replace`
2022-06-01 18:19:33 +02:00
Jefferson González
13d062479a
Merge pull request #1005 from Guldoman/PR_improve_logs
...
Add `warn` log level and backtraces
2022-05-31 16:38:47 -04:00
Jefferson González
c09715d0e1
Merge pull request #1004 from Guldoman/PR_commandview_options
...
Add options table to `CommandView:enter`
2022-05-31 16:38:36 -04:00
jgmdev
2d8a15f3ab
plugins: dropped --lite-xl version tag
2022-05-31 16:34:14 -04:00
jgmdev
214f36157a
plugins: only check mod version
2022-05-31 16:29:14 -04:00
jgmdev
83f368cdbe
core: check for sdl initialization errors
2022-05-31 14:57:26 -04:00
Jefferson González
c62cf5ce8c
Merge pull request #980 from jgmdev/PR/plugins-load-priority
...
plugins: add load priority support with '--priority:###' closes #978
2022-05-31 11:18:37 -04:00
Jefferson González
bd742d5b3d
Merge pull request #999 from Guldoman/tokenizer_regex_groups
...
Allow regexes in `tokenizer` to split tokens with groups
2022-05-31 11:04:48 -04:00
Guldoman
fae9af96bf
Expose function to create custom log entries
2022-05-31 02:35:56 +02:00
Guldoman
db2d30caaf
Add `warn` log level
2022-05-31 02:26:42 +02:00
Guldoman
c92f6a7b7f
Always show backtrace for `error` log entries
2022-05-31 02:26:18 +02:00
Guldoman
d8efb1ab53
Show error if language plugin pattern has mismatching number of groups
...
The number of results from a pattern with groups must never be greater
than the number of token types for that pattern.
Also if a token type was undefined, it's now pushed as a `normal` one.
2022-05-31 02:05:37 +02:00
Guldoman
7ac776bef6
Fix UTF-8 matches in regex group `tokenizer`
2022-05-31 01:59:14 +02:00
Guldoman
4f0d45d6ab
Don't check unnamed files in `autoreload` plugin
2022-05-31 01:03:59 +02:00
Jefferson González
7dc069aa8f
Merge pull request #995 from jgmdev/PR/plugins-settings-gui
...
plugins: added settings gui support
2022-05-30 16:12:49 -04:00
Guldoman
11e27c6fda
Use new `CommandView:enter` options table
2022-05-30 22:08:13 +02:00
Guldoman
e4a806a9d0
Add options to `CommandView:enter`
...
Now `CommandView:enter` can accept a table that specifies its behavior.
The old behavior is kept for compatibility.
2022-05-30 22:07:39 +02:00
Jefferson González
c92c545fb9
Merge pull request #997 from jgmdev/PR/meson-fix-static
...
meson: fix not obeyed forcefallback for lua
2022-05-30 13:27:28 -04:00
jgmdev
e7d2b03e62
meson: fix not obeyed forcefallback for lua
2022-05-30 13:24:53 -04:00
Jefferson González
f1f61f034b
Merge pull request #1003 from zesterer/master
...
Added suggestion wrapping for CommandView
2022-05-30 12:53:06 -04:00
Joshua Barretto
86e3f4a690
Made wrapping overflow optional
2022-05-30 17:13:21 +01:00
Jefferson González
a71bc8af35
Merge pull request #1002 from zesterer/master
...
Made moving to a line beyond the end of a document move the caret column to the end of the line
2022-05-30 10:43:43 -04:00
Joshua Barretto
b3278f6360
Made moving to a line beyond the end of a document move the caret column to the end of the line
2022-05-30 15:40:46 +01:00
Guldoman
2a41002355
Allow using regex groups to split tokens
...
Before, this was only supported by Lua patterns.
This expects the regex to use the same syntax used for patterns. That
is, the token should be split by empty groups.
2022-05-28 01:38:22 +02:00
Guldoman
14be51b1ec
Make `regex.match` return all the results
2022-05-28 01:21:41 +02:00
Guldoman
74f7389cac
Make regex API return integers
2022-05-28 01:20:41 +02:00
Jefferson González
807d7a07fe
Merge pull request #994 from takase1121/better-windows-custom-frame
...
Improvements to borderless mode on Windows
2022-05-25 01:02:59 -04:00
jgmdev
8bbca7c0b0
plugins: added settings gui support
2022-05-23 17:50:10 -04:00
takase1121
3bd679da12
make lite-xl respect the taskbar and allow aero-drop in borderless mode
2022-05-23 13:10:11 +08:00
jgmdev
b9bb64a2f0
Merge branch 'master' into master-2.1
2022-05-22 22:26:47 -04:00
jgmdev
26e47f7583
plugin contextmenu: simplify predicate
2022-05-15 17:17:28 -04:00
Jefferson González
ac1d15f235
Merge pull request #990 from jgmdev/PR/allow-strict-predicate
...
command predicates: added support for strict matching
2022-05-15 16:23:34 -04:00
jgmdev
4d3e8d8bd0
command predicates: added support for strict matching by appending '!' on string predicates
2022-05-15 16:10:57 -04:00
Jefferson González
0a66163c10
Merge pull request #987 from jgmdev/PR/fix-object-is-add-extends
...
object: made is() stricter and added extends()
2022-05-15 15:32:01 -04:00
Jefferson González
28346f13d9
Merge pull request #984 from jgmdev/PR/tokenizer-fix-utf8-bug
...
tokenizer: fix next utf8 char retrieval bug
2022-05-15 15:28:42 -04:00
Jefferson González
2b9f58b4f6
Merge pull request #982 from jgmdev/PR/keymap-changes
...
keymap: changes and docs
2022-05-15 15:27:58 -04:00
Jefferson González
425b85a536
Merge pull request #979 from jgmdev/PR/install-docs
...
meson: install docs/api to datadir for lsp support
2022-05-15 15:27:33 -04:00
Adam Harrison
daeb2a8e04
Made sure we redrew things, added in a contingency in 'save' for times when we load a non-existent file, and added some checks.
2022-05-15 15:25:02 -04:00
Adam Harrison
5a0d213f3b
Changed things over to use dirwatch.
2022-05-15 15:24:44 -04:00
Adam Harrison
20dc101229
As per request from jgmdev, added in ability to show nagview always.
2022-05-15 15:24:28 -04:00