Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow command buffer to be expanded #1297

Merged
merged 1 commit into from
Jan 2, 2023

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