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

How to disable word-wrap? #30

Open
akdotio opened this issue Mar 26, 2022 · 2 comments
Open

How to disable word-wrap? #30

akdotio opened this issue Mar 26, 2022 · 2 comments

Comments

@akdotio
Copy link

akdotio commented Mar 26, 2022

Is it possible to disable word-wrap and enable the horizontal scrollbar?

@ActuallyTaylor
Copy link

This could be done on MacOS using native features. However doing it on iOS requires either a complete rewrite of the text renderer in Text Kit or a lot of very flimsy hacks. I don’t believe this highlighter contains any functions to do either of these ATM. But adding in the ability for disabling text wrapping on macOS should be fairly simple.

@shaps80
Copy link

shaps80 commented Jul 17, 2022

@AhmedMKamal I was looking into this and as mentioned its a pretty big task. I then found https://github.com/simonbs/Runestone which has been implemented this way with a LOT of great features you’d need in any editor. Its a worthy consideration 👍🏻

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

No branches or pull requests

3 participants