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

Keep initial indentation for wrapped lines #187

Open
jacobcarpenter opened this issue Feb 5, 2024 · 1 comment · May be fixed by #192
Open

Keep initial indentation for wrapped lines #187

jacobcarpenter opened this issue Feb 5, 2024 · 1 comment · May be fixed by #192
Labels
enhancement New feature or enhancement

Comments

@jacobcarpenter
Copy link

First off, heynote is awesome; thanks so much! Also, I totally respect your hard stance on scope creep, so no worries if this doesn't make the cut.

In VS Code, with word wrap on, the wrapping wraps to the column of the first non-whitespace character:

Screenshot 2024-02-05 at 11 00 19 AM

In heynote, the word wrap wraps to flush left:

Screenshot 2024-02-05 at 11 02 06 AM

I prefer VS Code's approach, especially for ad-hoc markdown style lists, and would love to see that behavior in heynote. Thanks for your consideration!

@heyman
Copy link
Owner

heyman commented Feb 6, 2024

Hey!

I agree that keeping the indentation for the wrapped lines is nicer. The line wrapping in Heynote is currently handled by CodeMirror, and I don't think CodeMirror's line wrapping functionality supports this out-of-the-box, so it would have to be implemented as a CodeMirror extension.

At the moment, I don't have time to work on this, but I'd happily accept a well-implemented PR.

@heyman heyman changed the title Feature request: word wrap at column of line start Keep initial indentation for wrapped lines Feb 6, 2024
@heyman heyman added the enhancement New feature or enhancement label Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants