Skip to content

Commit

Permalink
Add comment about alignment bug
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsaidi committed Jan 23, 2024
1 parent f274abc commit cc4e5e4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ import AppKit
public extension RichTextAttributeWriter {

/// Set the rich text alignment at a certain range.
///
/// > Todo: Something's currently off with alignment. It
/// spils over to other paragraphs when moving the input
/// cursor and inserting new text.
func setRichTextAlignment(
_ alignment: RichTextAlignment,
at range: NSRange
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ public extension RichTextViewComponent {
}

/// Set the rich text alignment at current range.
///
/// > Todo: Something's currently off with alignment. It
/// spils over to other paragraphs when moving the input
/// cursor and inserting new text.
func setRichTextAlignment(
_ alignment: RichTextAlignment
) {
Expand Down

0 comments on commit cc4e5e4

Please sign in to comment.