diff options
| author | Francesco Abbate <francesco.bbt@gmail.com> | 2021-03-31 17:33:35 +0200 |
|---|---|---|
| committer | Francesco Abbate <francesco.bbt@gmail.com> | 2021-04-01 18:05:59 +0200 |
| commit | 3b040aabc74937b7bc6f2230f7027f86d6284903 (patch) | |
| tree | 91d78ce3c4bfb5eed098836fcb6b2159e0bc047c /data/plugins/language_python.lua | |
| parent | ed6ba6454238de53078ea3a73b3f8fc7682dd04c (diff) | |
| download | lite-xl-3b040aabc74937b7bc6f2230f7027f86d6284903.tar.gz lite-xl-3b040aabc74937b7bc6f2230f7027f86d6284903.zip | |
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.
Diffstat (limited to 'data/plugins/language_python.lua')
0 files changed, 0 insertions, 0 deletions
