Francesco Abbate
4d734e933c
Fix resize behavior of treeview and toolbar
...
Now toolbarview always compute up-to-date sizes and spacing to adapt to
changes in icon big font.
For treeview and toolbarview revert the goto_size approach to use the
original approach of rxi/lite. In order to make it work when user resizes
dragging the divider we use the view optional method set_target_size().
This latter changes the view's target size instead of changing its size
right away. The size is only changed by the lite's layout and animation
system.
Remove the config.treeview_size variable that was no longer working because
plugins are loaded before the user's config.
2021-02-27 12:13:11 +01:00
Francesco
0f789cd6a2
Merge pull request #63 from eugenpt/master
...
+js language regexp pattern
2021-02-24 20:21:44 +00:00
Francesco Abbate
cbb42d0028
Fix spacing in treeview
...
Previous setting was not okay with monospaced fonts
2021-02-24 17:50:34 +01:00
ep
b616b55fd9
+js language regexp pattern
2021-02-24 12:24:43 +07:00
Francesco Abbate
22de3354ce
Minor toobar tooltip adjustment
2021-02-21 12:57:42 +01:00
Francesco Abbate
fc46946ea1
Fix the flashing tooltip issue
2021-02-21 11:09:51 +01:00
Francesco Abbate
7a35e7c217
Don't show partially hidden icons in toolbar
2021-02-21 09:43:47 +01:00
Francesco Abbate
5e0dee3e18
Fix indent spaces/tabs labeling
2021-02-20 22:56:52 +01:00
Francesco Abbate
cf6332aebc
Fix tooltip from ghost toolbar
...
Github issue: https://github.com/franko/lite-xl/issues/48
2021-02-20 20:14:24 +01:00
Francesco Abbate
2a0846b604
Automatic keep adjusting indent size
...
When too few lines keep adjusting indent size
2021-02-19 11:51:49 +01:00
Francesco Abbate
ef24828307
Add toolbar tooltips
2021-02-19 11:50:20 +01:00
Francesco Abbate
e463ba8959
Add new toolbar buttons and tips
2021-02-19 10:08:45 +01:00
Francesco Abbate
6fcdafc5b6
Adjust line numbers for detect indent
2021-02-19 09:23:55 +01:00
Francesco Abbate
52fb5afe34
Improve detectindent to skip comments
2021-02-18 10:10:06 +01:00
Francesco Abbate
d18b90ad4f
Restore original key binding for trreview toggle
2021-02-16 09:41:03 +01:00
Francesco Abbate
c20aff2307
Adding final details for toolbarview plugin
2021-02-15 15:45:56 +01:00
Francesco Abbate
ebba21310b
Fix treesize toggle command and transition
2021-02-15 12:18:43 +01:00
Francesco Abbate
b836c2e1e6
Implement proper layout of toolbar
2021-02-15 00:36:39 +01:00
Francesco Abbate
5851a04098
Add hover and click functions for toolbar
2021-02-13 18:29:08 +01:00
Francesco Abbate
2765cbd92b
Show a dummy toolbar
...
Does not do anything for the moment
2021-02-12 15:54:11 +01:00
Francesco Abbate
7137f88b4c
Start working in toolbar
2021-02-11 18:37:34 +01:00
Francesco Abbate
f482ea318a
Makes resizable attribute explicit in Node:split()
2021-02-11 16:12:21 +01:00
Francesco Abbate
e69d201e1b
First preliminary implementation of treeview resize
...
Works but only cover resize along x.
2021-02-09 18:41:32 +01:00
Francesco Abbate
c2cccf0173
Fix conflict in treeview for top directories
...
Happened if a filename has the same name of a top directory.
It will cause a collision in the string to identify the entry into the cache.
2021-01-19 16:40:00 +01:00
Francesco Abbate
9412b3f0d8
Do not add project path in files from project search
2021-01-13 17:09:35 +01:00
Francesco Abbate
fcf763fe9c
Fix problem when project directory has a trailing slash
2021-01-10 12:56:15 +01:00
Francesco Abbate
773464eab8
Merge remote-tracking branch 'rxi/master'
2021-01-04 13:59:53 +01:00
Francesco Abbate
d85598ce17
Write workspace information in lite-xl config directory
2021-01-03 23:36:28 +01:00
Francesco Abbate
e548a6adb9
Fix directories management to always keep the project's directory
2021-01-03 12:02:07 +01:00
Francesco Abbate
9e5bf485df
Fix problem in workspace for relative directory
2020-12-31 09:09:21 +01:00
Francesco Abbate
77d65fb3a1
Add scrolling bar to TreeView
2020-12-30 16:15:33 +01:00
Francesco Abbate
c3f5d2c144
Fix problems with project files and project directories
...
Now treat coherently the case when the project directory is removed from
the project directories.
2020-12-30 14:53:50 +01:00
Francesco Abbate
b91a84eb56
Fix project change and quit versus workspace plugin
2020-12-30 14:31:36 +01:00
Francesco Abbate
0e263af3c6
Create common.serialize function
2020-12-30 13:32:25 +01:00
Francesco Abbate
b0686bbe87
Remove mouse command to remove directory and remap create directory
...
Create directory is now re-mapped to control+(left click).
2020-12-30 12:00:51 +01:00
Francesco Abbate
f2faddbec7
Add command to create a directory in a new category "files"
...
Use the alt + (left click) is tree view to create a directory and
shift + (middle click) to remove a project directory.
2020-12-30 11:52:26 +01:00
Francesco Abbate
08f36cda1f
Add support for project directories in workspace plugin
2020-12-29 18:04:13 +01:00
Francesco Abbate
b757f618f0
Import workspace plugin from franko/lite-plugins
2020-12-29 16:44:31 +01:00
Francesco Abbate
b7168b5ebb
Fix find in project problem with get_active_view
2020-12-28 23:35:52 +01:00
Francesco Abbate
ddd56ec615
Add command to remove a directory from the project
...
In addition directories can be removed with a mouse middle-click in the
tree view pane.
2020-12-28 15:51:16 +01:00
Francesco Abbate
c042bfc907
Change project files output to not include a prefix '/' in filename
...
It make sense to not put the initial '/' in the filename as the name
is relative to the top directory it belongs to.
By removing the the initial '/' in the filename we can re-introduce the
variable
core.project_files
to stay compatible with standard Lite. The project_files variable will
always point to the files table of the first entry of
core.project_directories.
2020-12-28 10:26:27 +01:00
Francesco Abbate
df74781da8
Fix project search and status view for new add directory feature
2020-12-27 18:28:21 +01:00
Francesco Abbate
e4fa196b33
Finalize add project directory feature
2020-12-27 11:32:52 +01:00
Francesco Abbate
39181a56fd
Use relative path for filenames in project directories
2020-12-27 09:47:58 +01:00
Francesco Abbate
5449781353
Minor cleanup to project directory stuff
2020-12-26 23:39:27 +01:00
Francesco Abbate
54518c438d
Cosmetic changes to names from previous commit
2020-12-26 23:29:18 +01:00
Francesco Abbate
ec730e9520
Test configuration with project_files stored separately for each directory
2020-12-26 21:22:57 +01:00
Francesco Abbate
2f50f21f57
Preliminary version of projects with multiple directories
2020-12-26 16:48:08 +01:00
rxi
806f0e39e3
Added support for `.pyw` files in language_python plugin
2020-12-19 10:19:37 +00:00
Francesco Abbate
58d3e23ca1
Include detect-indent improved plugin into Lite XL
2020-11-21 23:22:44 +01:00