-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Handle TabStopps #7044
Handle TabStopps #7044
Conversation
…d/Avalonia into feature/handleTabstopps
case '\t': | ||
{ | ||
glyph = glyphTypeface.GetGlyph(' '); | ||
advance = glyphTypeface.GetGlyphAdvance(glyph) * scale * 4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest making the tab width configurable like in .editorconfig .
another improvement that could be made in the future is to add a TabStop collection as it does in Word. |
This PR mainly targets current release |
What does the pull request do?
It substitutes
\t
character into whitespacesWhat is the current behavior?
What is the updated/expected behavior with this PR?
How was the solution implemented (if it's not obvious)?
Checklist
Breaking changes
Obsoletions / Deprecations
Fixed issues