aboutsummaryrefslogtreecommitdiff
path: root/data/plugins/scale.lua
AgeCommit message (Collapse)Author
2023-05-21Scale the entire UI by default on scale pluginjgmdev
2023-05-21Project rebrandingjgmdev
2023-04-29Restore horizontal scroll position after scale change (#494)Guldoman
* Restore horizontal scroll position after scale change * Consider `View` horizontal size when restoring horizontal scroll This is needed because `View:get_h_scrollable_size` includes the horizontal size, while `View.scroll.x` doesn't.
2023-02-06plugins scale: also rescale style.expanded_scrollbar_size (#1380)Jefferson González
2022-09-15plugin scale: added option to set default scale (#1115)Jefferson González
2022-06-23renderer fonts: additions and improvementsjgmdev
* Allow passing font options to renderer.font:copy(). * Added renderer.font:get_path() * Reintroduced set_size() for more faster font size changes * Swapped copy wiht set_size on scale plugin for better performance * Use code_font:copy() instead of renderer.font.load() on language_md to properly match user font now that font options are supported on copy. * Added new changes to renderer docs
2022-06-15run GC between scale to prevent ram from explodingtakase1121
2022-05-31plugins: dropped --lite-xl version tagjgmdev
2022-05-23plugins: added settings gui supportjgmdev
2022-04-03Bumping version numbers.Adam Harrison
2022-03-05plugin scale: replace non existing font.set_size with font.copyjgmdev
2022-01-22Added in new merge method, and run it on plugins. Also made it so plugin ↵Adam Harrison
configs can be set anywhere, even if we don't know the plugin beforehand.
2021-11-23Manual merge of into .Adam Harrison
2021-11-14Added in mousewheel as part of this.Adam Harrison
2021-10-02Merge pull request #521 from adamharrison/remove-font-rendererFrancesco
Remove Font Renderer + CP Replace + libagg
2021-10-02Small cleanup of `scale` pluginGuldoman
2021-10-02Scale custom syntax fonts for scale pluginFrancesco Abbate
Close #539.
2021-10-02Small cleanup of `scale` pluginGuldoman
2021-09-24Used copy.Adam Harrison
2021-09-19Scale custom syntax fonts for scale pluginFrancesco Abbate
Close #539.
2021-08-28Refactored minimum scale bug fix codeDaniel Rocha
2021-08-28Fix the additional four spaces to two spaces in the indentDaniel Rocha
2021-08-28Fix minimal scale possibleDaniel Rocha
2021-08-172.0 changelog and modversion updates.Adam Harrison
2021-07-15Namespace plugin-specific configuration settings.Adam Harrison
2021-06-17[plugin/scale] fixed wrong increase and decreasejgmdev
If the user manually set the desired scale by calling scale.set(1.60) the scale_level was not set accordingly which meant that later doing a Scale:Increase/Decrease command yielded incorrect scale amount.
2021-06-14Added in an interface to the scale plugin.Adam Harrison
2021-06-03Scale fonts context menu (#246)Francesco
* Retrieve scale plugin from lite-plugins * New implementation of scale plugin and font C API Introduce two new C API functions, renderer.font.get_size and set_size respectively to get the font size and to set the size to a new value. Using these functions we don't need to know the name of the font but we can just change their size. Adapt the scale plugin to use the new C API function with minor adaptations in the logic. Use smaller step to scale fonts. Rename font_desc_free function, previous name was misleading as only the cached resources are freed. * Add contextmenu plugin from takase From https://github.com/takase1121/lite-contextmenu Adapted to show font scaling commands and find/replace commands. i# testing.lua * Fix the cursor flickering with contextmenu To avoid flickering of the cursor when using the context menu we add a new function `core.request_cursor` that just take note of the cursor requested. The cursor will be actually changed only in root_view:draw() method only when all the drawing operations are done. This means the cursor will be changed only once per frame and only the most recent cursor change request will take effect. * Remove unneeded scale plugin return functions