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

Fold indicator icons should support VS Code style out-of-the-box #442

Closed
bobbylight opened this issue Mar 24, 2022 · 1 comment
Closed

Comments

@bobbylight
Copy link
Owner

bobbylight commented Mar 24, 2022

Describe the solution you'd like
RSyntaxTextArea's fold indicator icons are standard squares and resemble the fold indicators in Visual Studio. Newer applications, such as VS Code, use a simpler, arrow-style icon, which often times looks more modern.

While the icons RSTA uses in its gutter are customizable, it would be nice if the API provided a way to toggle between these two icon formats directly (and possibly more in the future). The reason this should be baked into the library is that it's easier for us to provide icons that use the RSTA Theme, and respond to changes to it, more easiliy than it is for clients providing raw Icon implementations via the existing API.

Are there any workarounds?
Use Gutter.setFoldIcons(Icon, Icon) with a homebrew icon implementation.

Additional context
None.

@bobbylight
Copy link
Owner Author

Closing as a duplicate of #458 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant