Skip to content
New issue

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

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

Already on GitHub? # to your account

Disassembly View (Source Code): add setting for tab-width #583

Closed
GitMensch opened this issue Jan 2, 2024 · 0 comments
Closed

Disassembly View (Source Code): add setting for tab-width #583

GitMensch opened this issue Jan 2, 2024 · 0 comments

Comments

@GitMensch
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Tab-indented sources are often hard to handle because the source view uses a width of 8.
grafik

Describe the solution you'd like
Add an option to set the tab-width, possibly a default in the settings and a manual override?

Describe alternatives you've considered
buy a bigger monitor ;-)

lievenhey added a commit that referenced this issue May 2, 2024
lievenhey added a commit that referenced this issue May 2, 2024
lievenhey added a commit that referenced this issue May 2, 2024
lievenhey added a commit that referenced this issue May 3, 2024
This patch allows the user to set a custom width for \t. Since we use a
monospace font we can simply use a multiple of the character width. This
is done by settings the tabstopdistance of the QTextOption property of
QTextLayout.

closes: #583
lievenhey added a commit that referenced this issue May 3, 2024
This patch allows the user to set a custom width for \t. Since we use a
monospace font we can simply use a multiple of the character width. This
is done by settings the tabstopdistance of the QTextOption property of
QTextLayout.

closes: #583
lievenhey added a commit that referenced this issue May 3, 2024
This patch allows the user to set a custom width for \t. Since we use a
monospace font we can simply use a multiple of the character width. This
is done by settings the tabstopdistance of the QTextOption property of
QTextLayout.

closes: #583
lievenhey added a commit that referenced this issue May 3, 2024
This patch allows the user to set a custom width for \t. Since we use a
monospace font we can simply use a multiple of the character width. This
is done by settings the tabstopdistance of the QTextOption property of
QTextLayout.

closes: #583
lievenhey added a commit that referenced this issue May 6, 2024
This patch allows the user to set a custom width for \t. Since we use a
monospace font we can simply use a multiple of the character width. This
is done by settings the tabstopdistance of the QTextOption property of
QTextLayout.

closes: #583
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant