Commit Graph
1990 Commits
Author SHA1 Message Date
Guldoman d390eb248e Fix tooltip not getting removed after find-replace:replace 2022-06-01 18:19:33 +02:00
Guldoman 730ea0c91b Make TreeView more multi-project-dir aware 2022-06-01 06:58:04 +02:00
Guldoman e94c996a26 Add TreeView helper functions to get previous/next item 2022-06-01 06:58:04 +02:00
Guldoman 295e6b7e5a Allow common.path_suggest to specify a root directory
This will make relative paths start from `root`.
2022-06-01 06:57:38 +02:00
Guldoman 9a428648a9 Add common.is_absolute_path 2022-06-01 04:42:50 +02:00
Jefferson GonzálezandGitHub 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álezandGitHub 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álezandGitHub 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álezandGitHub 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álezandGitHub 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álezandGitHub 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álezandGitHub 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álezandGitHub 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álezandGitHub 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álezandGitHub 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álezandGitHub 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álezandGitHub 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álezandGitHub 2b9f58b4f6 Merge pull request #982 from jgmdev/PR/keymap-changes
keymap: changes and docs
2022-05-15 15:27:58 -04:00
Jefferson GonzálezandGitHub 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 Harrisonandjgmdev 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 Harrisonandjgmdev 5a0d213f3b Changed things over to use dirwatch. 2022-05-15 15:24:44 -04:00
Adam Harrisonandjgmdev 20dc101229 As per request from jgmdev, added in ability to show nagview always. 2022-05-15 15:24:28 -04:00
Adam Harrisonandjgmdev 173370694e Split out reload functionality to actual document, and added in a thread to check the document, in the cases where it wouldn't be covered by dirwatch. 2022-05-15 15:24:17 -04:00
Adam Harrisonandjgmdev d56f4e1ee5 Modified autoreload to use new dirwatch infrastructure, and added in nagview to verify that fs changes don't stomp on our changes, unless you want them to. 2022-05-15 15:23:59 -04:00
AdamandGitHub 36c4d5d9ed Autoreload Nagview (#942)
* Modified autoreload to use new dirwatch infrastructure, and added in nagview to verify that fs changes don't stomp on our changes, unless you want them to.

* Split out reload functionality to actual document, and added in a thread to check the document, in the cases where it wouldn't be covered by dirwatch.

* As per request from jgmdev, added in ability to show nagview always.

* Changed things over to use dirwatch.

* 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:21:26 -04:00
Jefferson GonzálezandGitHub f89b370369 Merge pull request #988 from jgmdev/PR/adjust-renderer-api-doc
docs: added font.group to renderer and other adjustments
2022-05-14 20:35:17 -04:00
jgmdev 8bda5d4198 docs: added font.group to renderer and other adjustments 2022-05-14 20:16:59 -04:00
jgmdev 94430bcbd2 tokenizer: fix next utf8 char retrieval bug 2022-05-13 11:21:46 -04:00