Skip to content

Wrap long strings in linearview #6965

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

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open

Conversation

spoonmilk
Copy link
Contributor

This adds support for String wrapping in the formatter up to the length specified in "Maximum String annotation size," allowing for the display of longer inline strings.
Currently, the scheme for wrapping is as follows:
• Wrap along spaces and punctuation when possible, but in cases of repeated punctuation/whitespace, treat it as one "atom" (smallest segment that can be wrapped)
• Treat format specifiers and newlines as singular atoms as to not break them up on line wrapping

Waiting on user feedback

Resolves #2366

@spoonmilk spoonmilk added this to the Helion milestone Jun 17, 2025
@spoonmilk spoonmilk added Component: UI Issue needs changes to the user interface Component: API Issue needs changes to the API labels Jun 17, 2025
@spoonmilk spoonmilk force-pushed the string_wrapping_full_size branch from 6e2915d to 1fe8e77 Compare June 17, 2025 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: API Issue needs changes to the API Component: UI Issue needs changes to the user interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Display full strings and wrap long lines in LinearView
1 participant