Francesco Abbate
351a772466
do not use 'portable' as a compile time option
...
Introduce the file core/start.lua to initialize applications variables
2021-02-24 16:29:39 +01:00
Francesco Abbate
fc46946ea1
Fix the flashing tooltip issue
2021-02-21 11:09:51 +01:00
Francesco Abbate
2353076b37
Add config.transitions to enable/disable transitions
2021-02-21 11:08:25 +01:00
Francesco Abbate
5e0dee3e18
Fix indent spaces/tabs labeling
2021-02-20 22:56:52 +01:00
Francesco Abbate
054350263d
Fix treeview missing clamp bug
...
Github issue: https://github.com/franko/lite-xl/issues/44
2021-02-20 20:13:25 +01:00
Francesco Abbate
4f2e38d41f
Make code and ui font smaller at 12
2021-02-19 16:23:19 +01:00
Francesco Abbate
688dc1a7b8
Do not log every plugin load
...
Since we now load the user's module before the plugins\nwe avoid to log a line for each loaded plugin to not hide\nan eventual error in the user module
2021-02-19 16:12:56 +01:00
Francesco Abbate
68d9794926
Adjust default code font size
...
The previous value looks too big in hidpi screens
2021-02-19 16:10:57 +01:00
Francesco Abbate
76b463bd11
Create empty fonts directory in USERDIR
2021-02-19 16:10:02 +01:00
Francesco Abbate
0233941fe9
Bump version number
2021-02-19 13:54:10 +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
6353fde609
Move user module loading before plugins
...
Otherwise the configuration to disable a plugin does not take effect.
2021-02-19 10:08:03 +01:00
Francesco Abbate
114f6b2481
Do not print error on standard output
...
Delayed error when passing invalid directory argument.
2021-02-19 09:29:46 +01:00
Francesco Abbate
ba68d6db24
Improve error handling for directory arguments
2021-02-19 00:15:55 +01:00
Francesco Abbate
a2c4fdf649
Normalize global PATH from core.init
2021-02-18 09:02:57 +01:00
Francesco Abbate
de1afb3391
Add full filename path in window's title
...
Optimal implementation to limite computations in core.step.
2021-02-18 00:26:19 +01:00
Francesco Abbate
59fbf9cfc0
Merge branch 'master' into dev
2021-02-17 23:57:02 +01:00
Francesco Abbate
9b27180267
Use doc on_save hooks to reload user module
2021-02-17 20:10:39 +01:00
Francesco Abbate
1ce1c114ba
Fix reload module problem on windows
2021-02-17 19:20:00 +01:00
Francesco Abbate
6369a7f760
Use tilde expansion when running save-as command
2021-02-16 22:54:00 +01:00
Francesco
1decf67b64
Merge pull request #34 from budRich/user-module-auto-reload2
...
User module auto reload
2021-02-16 20:52:06 +00:00
bud
63b024cb81
FIX: Use PATHSEP instead of hardcoded "/" path separator
2021-02-16 19:25:40 +01:00
bud
4917be3daf
remove config for window title format
2021-02-16 19:13:41 +01:00
bud
3693556958
FIX: get DocView in init instead of step, remove option for window title format'
2021-02-16 19:12:56 +01:00
Francesco Abbate
9fced84a7a
Move VERSION variable into Lua code
...
To avoid recreating binaries if there are no changes
in the C side of the source code.
2021-02-16 14:35:02 +01:00
bud
dd30725d84
FIX: before setting full path to window title, make sure activeView is DocView
2021-02-15 22:38:29 +01:00
bud
b9fcb6e5ae
ADD: test in doc:save(), if the file is the user module, automatically reload config
2021-02-15 22:09:25 +01:00
bud
cc9aa23340
REMOVE: dont add reload on save hook in core:open-user-module, its automatically done in doc:save()
2021-02-15 22:09:06 +01:00
bud
7e3eb4a408
ADD: default value (false) for full_path_in_window_title
2021-02-15 21:06:03 +01:00
bud
436446dd9a
ADD: in core.step() show full path if view is a document and config.full_path_in_window_title is true
2021-02-15 21:05:06 +01:00
Francesco Abbate
680058547d
Replace icons font with new fontello font
2021-02-15 15:49:33 +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
2765cbd92b
Show a dummy toolbar
...
Does not do anything for the moment
2021-02-12 15:54:11 +01:00
Francesco Abbate
9f0abd1a8b
Show resize cursor only when panes are resizable
2021-02-11 17:15:27 +01:00
Francesco Abbate
f482ea318a
Makes resizable attribute explicit in Node:split()
2021-02-11 16:12:21 +01:00
Francesco Abbate
c6a1323214
More accurate implementation for x and y axis
2021-02-11 11:53:53 +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
a8c810d801
Merge remote-tracking branch 'origin/master' into dev
2021-02-09 18:39:39 +01:00
Francesco Abbate
3d8cf22933
Fix error with previous commit
2021-02-05 15:36:48 +01:00
Francesco Abbate
03818d13fd
Fix error when using relative dir argument
2021-02-03 07:39:35 +01:00
B14CK313
65c7f666aa
Fixed path returned by temp_filename not writeable
...
The path returned by temp_filename was not writeable on UNIX (and possibly other OS). This lead to the gitstatus plugin not working.
The proposed change fixes this by using the USERDIR variable instead of EXEDIR
2021-01-22 02:10:24 +01:00
Francesco Abbate
08b010a2da
Add command root:close-all
2021-01-13 16:51:42 +01:00
Francesco Abbate
ef5e431a8b
New feature to disable plugins from config
...
Disable trimwhitespace by default
2021-01-13 14:50:24 +01:00
Francesco Abbate
fcf763fe9c
Fix problem when project directory has a trailing slash
2021-01-10 12:56:15 +01:00
Francesco Abbate
7f9e4e4984
Do not error out when project directory is invalid
2021-01-10 11:50:15 +01:00
Francesco Abbate
9f0fa5121b
Add keymap bindings for ctrl/shift insert commands
2021-01-06 15:16:43 +01:00
Francesco Abbate
431bf68e72
Fix missing gome expand in remove-directory command
2021-01-03 23:52:02 +01:00
Francesco Abbate
8d4ba0cb34
Fix behavior when selecting project directories
2021-01-03 15:35:35 +01:00