Adam Harrison
7a3e8ed86a
Added in mousewheel as part of this.
2021-11-14 15:41:28 -05:00
Adam Harrison
4e313d9fc5
Propogated mouse clicks correctly.
2021-11-14 15:41:28 -05:00
Guldoman
f99afcd29c
In TreeView set correct active View before opening new DocView
...
Before this, the new `DocView` was always added to the primary `Node`.
With this, it gets added to the last focused `Node`.
2021-11-07 23:12:03 +01:00
PIESEL and GitHub
cd10497b49
Use Python syntax highlighting for Ren'Py scripts.
...
Ren'Py is a very popular Python visual novel engine, which has it's own "coding language" (even GitHub shows it as a separate language) and it's own file extension.
Generally Python syntax highlighting works for the Ren'Py language.
2021-11-01 16:30:15 +01:00
Francesco Abbate
ffb66cefd7
Fix python docstring highlighting
...
From PR:
https://github.com/lite-xl/lite-xl/pull/624
contributed by @dflock.
2021-10-23 15:01:16 +02:00
Francesco Abbate
167e41de65
Fix problem with treeview keeping the editor busy
...
Fix a problem introduced when fixing the dirty pixel problem, commit
cb08c5c . The node, when determining the layout was rounding the size
of the fixed-size view. In turns this latter was calling move_towards
to the default_size it wanted. If default_size was non-integer the
value vas never archieved because it was rounded during layout and
move_towars was keeping the editor busy by setting the
core.need_redraw flag.
2021-10-21 23:18:31 +02:00
Francesco Abbate
43374b036f
Fix problem with treeview x resizing
...
The x size of the treeview plugin cannot really change expect if explicitly
resized.
The call to move_towards for x seems to raise a state where core.redraw is
always set to true and this prevent the application to go idle.
It is seen after the introduction of the dmon directory monitoring but it
is not clear why it wasn't seen before.
2021-10-21 23:18:31 +02:00
Francesco Abbate
7dd5699c96
Use dmon events in reload plugin
2021-10-08 23:15:25 +02:00
Francesco Abbate
9c43727ebc
Implement directory monitoring using septag/dmon
...
Use a notification based directory monitoring based on the
septag/dmon lirbary instead of periodically rescan the whole
project's tree.
2021-10-08 21:31:22 +02:00
Francesco and GitHub
eb79381c89
Merge pull request #521 from adamharrison/remove-font-renderer
...
Remove Font Renderer + CP Replace + libagg
2021-10-02 18:45:31 +02:00
Guldoman and Francesco Abbate
468229e4d0
Small cleanup of scale plugin
2021-10-02 18:39:23 +02:00
Francesco Abbate
34983668d8
Normalize to project dir in treeview open
...
When left-clicking in a TreeView file we use now
core.normalize_to_project_dir to normalize correctly
the file name.
2021-10-02 18:37:01 +02:00
Francesco Abbate
d067cc8577
Scale custom syntax fonts for scale plugin
...
Close #539 .
2021-10-02 18:37:01 +02:00
Guldoman and Francesco Abbate
e2f7c984de
Reset syntax highlighting on file rename
2021-10-02 18:37:00 +02:00
Guldoman
3b280401e4
Small cleanup of scale plugin
2021-10-02 03:24:35 +02:00
Adam Harrison
b6829cb041
Used copy.
2021-09-24 11:22:39 -04:00
Adam Harrison
425a4f600b
Forgot to reset offset.
2021-09-24 11:22:39 -04:00
Adam Harrison
67032f72ac
Removed subpixel mentions.
2021-09-24 11:22:39 -04:00
Adam Harrison
e25f2e9c5c
Removed font renderer.
2021-09-24 11:22:39 -04:00
Francesco Abbate
14dd6f1cd6
Normalize to project dir in treeview open
...
When left-clicking in a TreeView file we use now
core.normalize_to_project_dir to normalize correctly
the file name.
2021-09-19 23:52:18 +02:00
Francesco Abbate
8d3680ab45
Scale custom syntax fonts for scale plugin
...
Close #539 .
2021-09-19 18:51:44 +02:00
Guldoman
80a6b2245e
Reset syntax highlighting on file rename
2021-09-17 23:41:14 +02:00
Adam Harrison
2ac7c7f09b
Syntax.
2021-09-16 17:43:17 -04:00
Adam Harrison
4b828eff65
Markdown subsyntax highlighting.
2021-09-16 17:29:44 -04:00
takase1121 and Francesco
7a24dbb17e
revert new keyboard bindings
2021-09-09 07:44:58 +02:00
takase1121 and Francesco
1a21c66353
add autocomplete:cycle
...
Some (probably lots) of people are used to tabbing through autocomplete.
now, tab is binded to autocomplete:cycle while enter is binded to
autocomplete:complete.
2021-09-09 07:44:58 +02:00
Guldoman and Francesco
474952645c
Fix treeview:open-in-system command on Windows
...
The first argument is the title for the `CMD` window.
2021-09-07 22:33:48 +02:00
Guldoman and Francesco
444c929e3c
Add commands to manage tab style
2021-09-07 07:53:03 +02:00
Guldoman and Francesco
0d2a89cb76
Don't use threads in detectindent
...
As it's execution only happens on load/save.
2021-09-07 07:53:03 +02:00
Guldoman and Francesco
501be5fdfe
Use configured indent values if detectindent can't detect them
2021-09-07 07:53:03 +02:00
Guldoman and Francesco
e99c76f8b8
Update detectindent cache only after saving/reloading
...
Before, if the indent wasn't fully detected, `detectindent` would try to
update every second. On files with very long lines this would cause
stutters.
Now the indent is updated only once after saving/reloading.
2021-09-07 07:53:03 +02:00
Francesco Abbate
4f68f7fd92
Try to fix problem with js syntax of '/=' operator
...
The operator '/=' was wrongly considered by the js syntax file as the
beginning of a regexp literal.
With this modification we modify the pattern for regexp literals to not
match expressions starting with '/='.
This doesn't seem entirely correct because apparently javascript can accept
regexp literals starting with '/=' but the rule used by the javascript
lexer is not known.
2021-09-06 09:31:17 +02:00
Guldoman and Francesco
f18629ab64
Avoid exposing treeview commands when not usable
2021-09-02 23:19:40 +02:00
Guldoman and Francesco
167cda23f6
Make open files follow renames
2021-09-02 23:19:40 +02:00
Francesco Abbate
e94718c5c4
Bring back min len autocomplete default to 3
2021-08-30 14:35:42 +02:00
Guldoman and Francesco
ab6eac399c
Fix crash in project search when project has no files
2021-08-29 11:13:39 +02:00
Francesco Abbate
ccba91261d
Merge remote-tracking branch 'origin/fix-2.0.1'
2021-08-28 17:37:55 +02:00
Daniel Rocha and Francesco Abbate
2b1c157a36
Refactored minimum scale bug fix code
2021-08-28 16:00:41 +02:00
Daniel Rocha and Francesco Abbate
49ec7c88e8
Fix the additional four spaces to two spaces in the indent
2021-08-28 16:00:41 +02:00
Daniel Rocha and Francesco Abbate
dac3a9cba5
Fix minimal scale possible
2021-08-28 16:00:41 +02:00
Daniel Rocha and Francesco
95e86b040b
Refactored minimum scale bug fix code
2021-08-28 13:00:33 +02:00
Daniel Rocha and Francesco
8335b11273
Fix the additional four spaces to two spaces in the indent
2021-08-28 13:00:33 +02:00
Daniel Rocha and Francesco
e342a017e1
Fix minimal scale possible
2021-08-28 13:00:33 +02:00
Francesco Abbate
d46475532f
Introduce View objects context property
...
Used to determine if an instance of the given class should
be closed or not when a project session is terminated.
2021-08-27 23:55:17 +02:00
takase1121 and Francesco
2fec3052ce
add context menu options for logview
2021-08-24 11:31:22 +02:00
Adam Harrison and Francesco
b6af395fc7
2.0 changelog and modversion updates.
2021-08-17 20:24:44 +02:00
luarocks and Francesco
205b52b08a
Revert language_lua
2021-08-11 23:33:00 +02:00
luarocks and Francesco
0bafece6a6
Add textadept theme and correct language_lua just a bit
2021-08-11 23:33:00 +02:00
Francesco Abbate
62bcc6abc2
Fix missing commas in autocomplete module
2021-08-02 10:07:43 +02:00
takase1121
1725b3ab83
revert config.lineguide option
2021-08-02 09:57:21 +08:00