jgmdev
48e86bb117
plugin treeview: skip rootview events if not visible.
2022-03-07 16:52:32 -04:00
Jefferson González and GitHub
6386bac4e5
Merge pull request #869 from jgmdev/fix-loading-order
...
Initialization: load core views before user plugins
2022-03-06 21:22:53 -04:00
jgmdev
9d4e475a2c
init: also load default nodes and commands before user plugins and project module.
2022-03-06 21:21:00 -04:00
jgmdev
d7d88a2037
init: load core views before user plugins
2022-03-06 21:03:16 -04:00
Jefferson González and GitHub
1be425d1de
Merge pull request #867 from Guldoman/fix_load_project_module
...
Load project module on startup
2022-03-06 21:02:22 -04:00
jgmdev
6cb403b450
meson: increased min version to 0.47 and added check flag on run_command.
2022-03-05 20:15:48 -04:00
Jefferson González and GitHub
d82b668a09
Merge pull request #863 from jgmdev/scale-fix
...
plugin scale: replace non existing font.set_size with font.copy
2022-03-05 20:03:05 -04:00
jgmdev
e5ca08e13f
plugin scale: replace non existing font.set_size with font.copy
2022-03-05 19:03:33 -04:00
Jefferson González and GitHub
1fa1960b05
Merge pull request #862 from jgmdev/markdown-consolidation
...
language_md: improvements consolidating #814 and #840 thanks to @Not-a-web-Developer and @TorchedSammy
2022-03-04 14:58:25 -04:00
jgmdev
2d3d9a1671
language_md: improvements consolidating #814 and #840
2022-03-04 14:29:29 -04:00
Jefferson González and GitHub
0e79607895
Merge pull request #859 from jgmdev/commit-on-version
...
Add git commit on version of devel builds
2022-03-04 14:18:36 -04:00
Jefferson González and GitHub
2f7da44275
Merge pull request #860 from Guldoman/tokenizer_start_of_line
...
Allow syntax patterns to match with the beginning of the line
2022-03-04 14:13:14 -04:00
Jefferson González and GitHub
2736072dce
Merge pull request #858 from Guldoman/move_towards_epsilon
...
Use epsilon to compare values in `View:move_towards`
2022-03-03 15:21:25 -04:00
jgmdev
a587182982
meson: when running git rev-parse use HEAD instead of checking current branch name
2022-03-02 18:55:46 -04:00
jgmdev
1e765b5c28
EmptyView: handle lite-xl version strings that overlap.
2022-03-02 03:55:03 -04:00
jgmdev
05e355d383
meson: append git commit if possible and to non release builds
2022-03-02 03:53:04 -04:00
Jefferson González and GitHub
be5f94e913
Merge pull request #852 from jgmdev/statusview-enhacements
...
Improvements to the StatusView, closes #677
2022-02-28 18:19:46 -04:00
jgmdev
e9775ced78
StatusView: added items hovered option for bg color and param to on_draw as suggested by @Guldoman
2022-02-28 17:56:17 -04:00
jgmdev
4c80aa7a40
StatusView: reposition left and right panel offsets on window resize.
2022-02-28 17:04:37 -04:00
jgmdev
15a31418ca
StatusView: restored indent confirmed
2022-02-24 14:22:52 -04:00
jgmdev
128e10ba47
StatusView: add spaces as separate items instead of pre-pending them to items.
2022-02-24 13:58:40 -04:00
jgmdev
131bdf9fb2
StatusView: implemented and applied get_item_visible_area.
2022-02-24 02:23:29 -04:00
jgmdev
b1ce685489
StatusView: better calculate panel sizes and handle out of bounds drags.
2022-02-24 00:21:21 -04:00
jgmdev
c5648e1f02
StatusView: implemented dragging and scrolling.
2022-02-23 19:25:25 -04:00
jgmdev
3452d499e5
Show hand cursor on clickable elements as suggested by @Guldoman
2022-02-23 06:07:53 -04:00
jgmdev
90983b22a4
StatusView v2.0, some changes include:
...
* Items are now objects that can be retrieved and manipulated.
* clip rect is used for left and right panes
* initial support for items to do their own custom drawing by also
doing a clip rect for them
* a custom background color can be specified for the item.
* a command or function can be executed on item click.
* Introduced functionality to easily hide or show all or specific items.
* Better handling of deprecated get_items()
* Spacing is automatically added to items and cleaned on deprecated
items.
* Default items where separated and given the names:
doc:file, doc:position, doc:indentation, doc:lines,
doc:line-ending, core.commandview.
* Some default right or left click actions where given to the default
items.
* Started adding required bits to support dragging to left and right
panes when some items aren't visible.
Note: should work well enough already but maybe some repetitive stuff can be
cleaned out.
2022-02-23 05:15:14 -04:00
jgmdev
7cb4e93d14
Improvements to the StatusView
...
* Support for predicates by introducing add_item().
* Support for performing click actions on items.
* Support for optional tooltips on item hover.
* Deprecate the usage of get_item().
2022-02-21 03:40:25 -04:00
jgmdev
feaa3b2547
Docs: changes process start from method to function.
2022-02-15 20:49:46 -04:00
jgmdev
2079e1f707
Plugin projectsearch: set command view text to current document selection.
2022-02-13 01:31:58 -04:00
jgmdev
bb4569da53
Fix cases of nil node.
2022-02-09 10:40:02 -04:00
Jefferson González and GitHub
dc5888bc07
Merge pull request #837 from Guldoman/process_running_poll
...
Update process status when calling `process:running`
2022-02-08 16:36:18 -04:00
Jefferson González and GitHub
8caccbf6f0
Merge pull request #836 from Guldoman/toggle_comment_empty_line
...
Ignore empty lines in `line_comment`
2022-02-07 15:31:48 -04:00
jgmdev
aec6806d8f
Added system.get_process_id() to api docs.
2022-02-04 15:43:42 -04:00
jgmdev
df0635ad35
Implemented system.get_process_id()
2022-02-03 22:20:42 -04:00
jgmdev
6773e85cb8
Update autocomplete with changes needed for latest LSP plugin.
2022-02-03 15:01:39 -04:00
jgmdev
afa0c175e8
Added delete confirmation using NagView.
2021-07-12 11:41:31 -04:00
jgmdev
a4d5622eda
Make use of core.reschedule_project_scan()
2021-07-11 23:03:33 -04:00
jgmdev
900e9d1422
Namespaced aliases, virtual classes and added missing returns.
2021-07-09 18:33:25 -04:00
jgmdev
68459a9199
Added context menu to treeview.
2021-06-28 11:11:49 -04:00
jgmdev
4188269cef
Added system.rmdir(path)
...
It is reported that the built-in lua function os.remove(path) does
not removes empty directories on windows. To fix this a system.rmdir
function is introduced that calls a native win32 function.
Also common.rm(path, recursively) was added which wraps system.rmdir()
to easily delete an entire folder with all its contents.
2021-06-28 11:07:27 -04:00
jgmdev
18eee34aa9
Added README to docs directory.
2021-06-25 03:03:07 -04:00
jgmdev
bd50401687
Documented with EmmyLua the C API using .lua interface files.
2021-06-25 02:25:05 -04:00
jgmdev
88704c6ecb
[api/process] added missing fields and minor fix to pid()
2021-06-22 15:01:30 -04:00
Jefferson González and GitHub
559be66e80
Merge pull request #289 from jgmdev/close-hook
...
Added Doc:on_close() method.
2021-06-20 11:37:31 -04:00
jgmdev
1a51dad23c
Added Doc:on_close() for plugins
2021-06-20 00:13:07 -04:00
Jefferson González and GitHub
0d65725b27
Merge pull request #286 from jgmdev/reproc-merge
...
Reproc merge
2021-06-18 14:23:42 -04:00
jgmdev
5d2734de81
Merge reproc changes from dev.
2021-06-18 14:19:09 -04:00
jgmdev
e9e1214e59
[plugin/scale] fixed wrong increase and decrease
...
If the user manually set the desired scale by calling scale.set(1.60)
the scale_level was not set accordingly which meant that later doing
a Scale:Increase/Decrease command yielded incorrect scale amount.
2021-06-17 20:58:22 -04:00
jgmdev
e070dbebc1
Fix undeclared NagView findindex() by moving it to common.
2021-06-13 21:28:29 -04:00
Jefferson González and GitHub
9823da8531
Merge pull request #267 from jgmdev/nagview-fix
...
Added missing NagView dialog commands to startup.
2021-06-12 23:14:17 -04:00
jgmdev
9153f5695d
Added missing NagView dialog commands to startup.
2021-06-09 20:13:23 -04:00
Jefferson González and GitHub
b4896ed69e
[plugin/contextmenu] Append itemsets that where registered. ( #258 )
2021-06-07 23:29:03 +02:00