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

Disable word wrapping ? #47

Closed
livv opened this issue Oct 3, 2022 · 6 comments
Closed

Disable word wrapping ? #47

livv opened this issue Oct 3, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@livv
Copy link

livv commented Oct 3, 2022

No description provided.

@mchakravarty
Copy link
Owner

Do you mean having the option to disable word wrapping as part of the configuration?

@livv
Copy link
Author

livv commented Oct 9, 2022

yes,could you provide this option?

@mchakravarty
Copy link
Owner

Yes, I'll have a look at what's necessary.

@mchakravarty mchakravarty added the enhancement New feature or request label Jan 10, 2023
@mchakravarty
Copy link
Owner

Use wrapsTextToHorizontalBounds from TextViewPlus.

@mchakravarty
Copy link
Owner

Can't use TextViewPlus, but see also #18.

mchakravarty added a commit that referenced this issue Feb 19, 2023
* The layout configuration now supports choosing between line wrapping and line truncating.
* The line fragment padding does not change anymore on resizing. (Slack is always added on the right hand side.)

NB: On macOS, Text container positioning and minimap background occlusion doesn’t work properly in truncating mode yet. Moreover, a horizontal scrollbar is missing. Support for iOS is still missing.

Contributes to #18 and #47
mchakravarty added a commit that referenced this issue Feb 23, 2023
Contributes to #18 and #47

NB: Without text wrapping the text container alignment is still off.
mchakravarty added a commit that referenced this issue Mar 9, 2023
mchakravarty added a commit that referenced this issue Mar 11, 2023
The minimap text container width must also be independent of the minimap text view.

Contributes to #18 and #47
@mchakravarty
Copy link
Owner

@livv This was significantly more tricky than I thought, but it should work now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants