aboutsummaryrefslogtreecommitdiff
path: root/data/core/docview.lua
diff options
context:
space:
mode:
authorJefferson González <jgmdev@gmail.com>2025-07-18 04:53:21 -0400
committerGitHub <noreply@github.com>2025-07-18 04:53:21 -0400
commit4e80d8fd6fc3e224795ece0e53d354704dc7986d (patch)
treed1edcca9ae6bbc3e610694f2b901557cb2431143 /data/core/docview.lua
parent279d552529ed3ed4df799f53734205e64022881b (diff)
downloadpragtical-4e80d8fd6fc3e224795ece0e53d354704dc7986d.tar.gz
pragtical-4e80d8fd6fc3e224795ece0e53d354704dc7986d.zip
Only update active views and draw visible ones (#307)
When having a lot of documents or views open, with a lot of plugins installed that perform actions on each update() call, the editor starts to become slow. This change should fix that by: * Performing View:update() only on active views. * Drawing only the views that are truly visible as in the width and height been more than zero. This also adapts NagView to properly work with this change.
Diffstat (limited to 'data/core/docview.lua')
0 files changed, 0 insertions, 0 deletions