Skip to content

Conversation

Guldoman
Copy link
Member

@Guldoman Guldoman commented Jan 1, 2023

This helps when using particular plugins (like minimap) or in some particular text drawing cases (like many alternating token types).

This only expands the command buffer. In the future, shrinking it could be considered.

This also avoids printing the error message multiple times per frame, which decreased the performance even more.

@adamharrison
Copy link
Member

Tested this on a large inline packed c file, with minimap active. Worked like a charm. Merging.

@adamharrison adamharrison merged commit 2638e96 into lite-xl:master Jan 2, 2023
takase1121 pushed a commit to takase1121/lite-xl that referenced this pull request Jan 16, 2023
takase1121 pushed a commit to takase1121/lite-xl that referenced this pull request Aug 19, 2023
takase1121 pushed a commit to takase1121/lite-xl that referenced this pull request Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants