Skip to content

Add a boundary alignment command - #936

Open
kisaraki wants to merge 1 commit into
microsoft:mainfrom
kisaraki:codex/boundary-alignment
Open

Add a boundary alignment command#936
kisaraki wants to merge 1 commit into
microsoft:mainfrom
kisaraki:codex/boundary-alignment

Conversation

@kisaraki

Copy link
Copy Markdown
Contributor

Summary

  • add Boundary Alignment as the final Edit-menu command
  • prompt for a positive column, defaulting to 80
  • split text after the selected character boundary and carry overflow into the following line through EOF
  • count Unicode characters and preserve CRLF/final-newline behavior

Validation

  • unit tests cover overflow merging, Unicode, CRLF, final newline, and unchanged short lines
  • cargo test --all-features --all-targets on Windows and WSL/Ubuntu
  • cargo clippy --workspace --all-features --all-targets -- --no-deps --deny warnings on Windows and WSL/Ubuntu

Contribution ownership

This contribution is entirely my own work. It is not created on behalf of, or connected with, any organization or company. I agree to contribute it under the repository's MIT License and to the repository's applicable contribution terms.

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

Successfully merging this pull request may close these issues.

1 participant