CodeEdit
CodeEdit copied to clipboard
✨ Setting to Wrap lines to editor width
Is your feature request related to a problem? Please describe.
- CodeEditApp/CodeEditTextView#84
This issue should be worked on with the above issue.
Describe the solution you'd like
Add a setting under Text Editing that allows a user to enable or disable line wrapping within the editor.
Indented lines should wrap to set width.
Additional context
@austincondiff - I'd like to nab this one.
Interesting- I couldn't get horizontal text wrapping to work until I commented out this line:
STTextViewController.swift:86

It appears to have regressed the default functionality provided by STTextView's widthTracksTextView property.
Thank you for documenting this here @ben-p-commits!
@austincondiff - After doing some digging, it appears that implementing functionality needed for the wrapped line indentation stepper control...
...as implied by this screencap:

would require some pretty sensitive changes to STTextView. Have we run into this sort of problem yet?
I can get this enhancement working with the toggle option for wrapping, but implementing the stepper setting and associated behavior in the textview itself may be better split out as a separate enhancement imo.
That is fine, we may need to create an issue in CodeEditTextView for that then in response to this issue.
I'll add one. Thanks.
Added https://github.com/CodeEditApp/CodeEditTextView/issues/103.
@austincondiff - this has merged and should be good to close. As mentioned before- the indenting behavior is covered in a separate issue in CodeEditTextView