Francesco Abbate
d7cc1f9f9d
Add plugin verification by version tag
2021-04-06 17:50:46 +02:00
Francesco Abbate
6e3cd41bd1
Logical test simplification in detectindent
2021-04-06 08:27:35 +02:00
Francesco Abbate
3721ace099
Fix logical error in on_text_change
2021-04-06 08:26:53 +02:00
Francesco Abbate
e43c980e4a
Simplifies previous commit
...
Restore the previous signature of raw_insert/remove
2021-04-06 08:18:35 +02:00
Francesco Abbate
d1984942ea
Add hook function for Doc changes
2021-04-05 00:11:56 +02:00
Takase
63b9cf223e
NagView improvements ( #136 )
...
Implement keyboard commands for the NagView.
2021-04-04 16:11:47 +02:00
Francesco Abbate
3b040aabc7
Implement unicode character replacements
...
Useful to draw whitespaces with alternate characters and colors
without slowing down the text rendering.
A new API is implemented. A renderer.replacements object can be created
to list the replacements.
In turns the function renderer.draw_text and draw_text_subpixel now accept
two optional arguments for replacements.
2021-04-01 18:05:59 +02:00
Francesco Abbate
15a4985065
Prepare release 1.16.5
2021-03-20 22:31:45 +01:00
Francesco Abbate
60fa7d07ba
Prepare 1.16.4 release
2021-03-20 17:10:27 +01:00
Francesco Abbate
f9115751b4
Minor simplification of animation rate adjustment
2021-03-20 17:00:43 +01:00
Francesco Abbate
7f50df6a2f
Ensure plugin within a directory are loaded
...
Close #118
2021-03-20 16:34:00 +01:00
takase1121
5e8444b2b1
rename tooltip_alpha_step to tooltip_alpha_rate
2021-03-20 01:04:07 +00:00
takase1121
93753634f5
set delay to 0.5 and disable animation
2021-03-20 01:03:16 +00:00
takase1121
cdf5b9b9b8
show tooltips only when hovering over text
2021-03-20 00:57:06 +00:00
takase1121
d191e8ee34
prevent rendering tooltip when alpha is 0
2021-03-20 00:28:49 +00:00
Francesco Abbate
26ec9e5820
Compute animation rate only if needed
2021-03-18 16:20:21 +01:00
Takase
0bb7f21dd7
tooltip enhancements ( #114 )
...
Add a delay to show the tooltip and other improvements.
2021-03-18 16:18:36 +01:00
Francesco Abbate
04063ff47e
Fix error introduced with commit c0ad86d
2021-03-18 15:46:44 +01:00
Francesco Abbate
88bec172a1
Fix problem with tab size and subpixel positioning
...
Solve github issue https://github.com/franko/lite-xl/issues/109
2021-03-18 13:54:33 +01:00
takase1121
1f97805321
normalize tooltip filename to home dir
2021-03-14 03:09:18 +00:00
Takase
13ebb51c38
add tooltips to treeview.lua ( #100 )
2021-03-13 16:44:40 +01:00
Takase
c0ad86de8c
integrate NagView
2021-03-13 12:57:52 +01:00
liquidev
844ecd1f26
Make animation speed independent of config.fps, add config.animation_rate to fine-tune animation speed ( #93 )
...
* animation rate config field
* @franko's math magic to make it look more correct
2021-03-10 16:35:37 +01:00
liquidev
3af6af654b
more stylish tabs ( #95 )
2021-03-09 14:24:14 +01:00
Francesco Abbate
b612357371
Bump new version number
2021-03-07 18:47:15 +01:00
Francesco Abbate
baf5aebe1c
Merge remote-tracking branch 'origin/master' into subpixel-font-positioning-fix
2021-03-07 12:25:53 +01:00
Francesco Abbate
23a053e1ee
Ensure error and stack trace are written to stdout
...
To address https://github.com/franko/lite-xl/issues/87
2021-03-07 09:48:44 +01:00
Francesco Abbate
199476547b
Fix error related to panes resize along y
2021-03-06 23:50:19 +01:00
Francesco Abbate
991db14877
Ensure filename are store relative to project directory
2021-03-06 23:49:20 +01:00
Francesco Abbate
5bf7abf23d
Ensure filename are store relative to project directory
2021-03-06 23:36:05 +01:00
Francesco Abbate
087c8ba402
Fix error related to panes resize along y
2021-03-06 23:05:04 +01:00
Francesco Abbate
3426bc5d73
Introduce subpixel text positioning within rencache
...
In order to fix the issue with cursor positioning a subpixel-aware draw
text operation within rencache was required.
With this modification the cursor positioning problem is completely
resolved.
A new function renderer.draw_text_subpixel is introduced to perform
consecutive, inline, text drawings with subpixel accuracy.
2021-03-06 18:12:02 +01:00
Francesco Abbate
9ff6a0325e
Mostly fix problem of offset with cursor positioning when using mouse
...
In order to get right the cursor position on text on mouse clicks it is
needed to take into account text's subpixel positioning.
This fix mostly corrects the problem but cursor positioning is still
somewhat inaccurate for long lines due to repeated commands to draw a text
along a line. Repeated draw text calls make the subpixel information
lost and small errors will add-up.
2021-03-06 16:18:24 +01:00
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
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
de13762085
Show complete tab name when close butto is not there
2021-03-03 18:48:41 +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
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