daubaris
0cb594aaf2
Enable customizing cursor speed ( #80 )
...
Addresses issue #65
2021-03-06 11:03:12 +01:00
Francesco Abbate
aa1408c01f
Do not assume doc.indent_info is present
2021-03-05 23:47:36 +01:00
Francesco Abbate
09332fe242
Fix problem with fatal error message
...
Previous implementation was broken.
Ensure the error file is always written and write its location in the error message
2021-03-05 23:46:41 +01:00
Francesco Abbate
877e4ac6e2
Bump new version
2021-03-05 11:33:29 +01:00
Francesco Abbate
a4bc8986ff
Implement fatal error message box
...
Used when lite-xl fails at startup
2021-03-05 10:33:50 +01:00
Francesco Abbate
636bc7ec95
More accurate EXEDIR detection
...
Use ony the OS path separator to parse the executable filename
2021-03-05 09:42:48 +01:00
Francesco Abbate
ffb4773a0b
Merge branch 'subpixel-font-positioning'
2021-03-05 09:14:25 +01:00
Francesco Abbate
1ea497deb4
Fix problem when launching from a different location
...
Should fix https://github.com/franko/lite-xl/issues/76 and https://github.com/franko/lite-xl/issues/67
2021-03-05 07:28:29 +01:00
Francesco Abbate
3506ff47fc
Fix problem with plugin loading
...
Introduced with PR https://github.com/franko/lite-xl/pull/73
2021-03-05 07:22:56 +01:00
Francesco Abbate
e441beae83
Add missing padding pixel to avoid artifacts
...
Using subpixel positioning we need one empty pixel as the left of each glyph.
2021-03-04 16:54:55 +01:00
Francesco Abbate
bdc473435b
Fix bug causing abort when glyph count was zero
...
Solve github's issue https://github.com/franko/lite-xl/issues/75
2021-03-03 18:49:27 +01:00
Francesco Abbate
de13762085
Show complete tab name when close butto is not there
2021-03-03 18:48:41 +01:00
Francesco Abbate
294f3f14fb
Implement subpixel font positioning
...
Subpixel positioning is only by 1/3 of pixel
2021-03-03 18:36:09 +01:00
liquidev
2e1a6ad5d1
Fix #30 – user plugins take priority over built-in plugins ( #73 )
...
user plugins should take priority over stock plugins
2021-03-03 12:20:22 +01:00
Francesco Abbate
8883685eea
Fix font size in initial user's config
2021-03-01 09:48:12 +01:00
Francesco Abbate
8a34508a2e
Update changelog
2021-02-28 23:49:18 +01:00
Francesco Abbate
c0942bbde7
Use slightly larget font for UI
2021-02-28 23:44:35 +01:00
Francesco Abbate
75eadf4dc7
Simplifies logic for suggestion's offset
2021-02-28 23:24:19 +01:00
Francesco Abbate
e46800347f
Implement scrolling in command view
2021-02-28 19:52:38 +01:00
Francesco Abbate
a35ef764a0
Show Lite XL instead of lite in window's title
2021-02-28 18:55:05 +01:00
Francesco Abbate
6c84913f6a
Do not set window's title to unsaved for command view
2021-02-28 18:54:32 +01:00
Francesco Abbate
bd2d8db231
Draw divider for inactive tabs
2021-02-27 23:56:11 +01:00
Francesco Abbate
f708a53a04
Keep active view when closing inactive tabs
2021-02-27 23:55:36 +01:00
Francesco Abbate
4d320c1946
Ensure treeview is large enough to show toolbar
2021-02-27 19:39:56 +01:00
Francesco Abbate
e861ea1d66
Ensure tab's text and close button don't overlaps
2021-02-27 17:19:47 +01:00
Francesco Abbate
4cda8fc122
Show tab close button when hovering inactive tabs
2021-02-27 15:29:18 +01:00
Francesco Abbate
ca6d1843bc
Implement close button for tabs
2021-02-27 13:53:52 +01:00
Francesco Abbate
0dc18de6bc
Add information about icon_big_font in initial user's configuration
2021-02-27 12:13:51 +01:00
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 Abbate
7802202625
Update subprojects options and version
...
Now no longer builds libagg examples applications neither Lua's
interpreter and bytecode compiler. Only the static libraries are built.
2021-02-26 15:49:30 +01:00
Francesco Abbate
af0be4abf1
Update changelog and version
2021-02-25 09:37:06 +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
94b99b658e
Fix multi-line commands
...
When second position is at the beginning of a line do not include this latter.
2021-02-24 18:06:47 +01:00
Francesco Abbate
cbb42d0028
Fix spacing in treeview
...
Previous setting was not okay with monospaced fonts
2021-02-24 17:50:34 +01:00
Francesco Abbate
ff5052be9a
Improve build-package script to create portable and unix-like packages
2021-02-24 17:39:12 +01:00
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
ea8a8770ea
Do not use nullptr and add check
2021-02-24 09:46:48 +01:00
ep
b616b55fd9
+js language regexp pattern
2021-02-24 12:24:43 +07:00
Francesco Abbate
a23986f171
Cleanup font's note markdown file
2021-02-23 17:14:22 +01:00
Francesco Abbate
35f31c8fbc
Fix font rendering artifacts bug
...
Seen with some fonts like FiraSans, github issue:
https://github.com/franko/lite-xl/issues/46
The fix works essentially by looking to the bounds of each glyph to
accurately ensure that there are no overlaps between the glyphs.
The construction of the font atlas was changed to make some related
improvements now that the bounds of each glyph are know. The main
changes are:
- no longer align glyph on the baseline but align them on their upper
bounds. We ensure this way that very tall fonts do not leak in the
upper part
- terminate the row based on x bounds of the glyph to be more accurate
- for each row keep trace of the y of the more larger along y of the
glyph. The value is used to start a new row to be sure that the new
now does not overlap with the previous one
- sort glyphs by y size before drawing them. In this way the space
utilization is better. The algorithm used is the very simple insert
sort. It behaves like O(n^2) with the number of characters but should
be ok since n is always small, typically below 128.
- compute the optimal image width and height for the given font's atlas
for optimal memory usage. As a bonus now the lite's code don't have to
try and repeat to get a good image size
2021-02-23 17:14:08 +01:00
Francesco Abbate
f7d547e7e6
Update changelog
2021-02-21 13:04:03 +01: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
2353076b37
Add config.transitions to enable/disable transitions
2021-02-21 11:08:25 +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
22c9628def
Fix missing info icon
...
Github issue: https://github.com/franko/lite-xl/issues/45
2021-02-20 20:15:09 +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
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