diff --git a/Sources/Runestone/Documentation.docc/Documentation.md b/Sources/Runestone/Documentation.docc/Documentation.md index 42967086f..5786174ff 100644 --- a/Sources/Runestone/Documentation.docc/Documentation.md +++ b/Sources/Runestone/Documentation.docc/Documentation.md @@ -19,6 +19,8 @@ Runestone provides a text view with support for features commonly found in code - Highlight ranges in the text view. - Search the text using regular expressions. - Automatically detects if a file is using spaces or tabs for indentation. +- Specify line endings (CR, LF, CRLF) to use when inserting a line break. +- Automatically detect line endings in a text. The text view provided by Runestone does not subclass UITextView but has an API that is similar to the one of UITextView. diff --git a/Sources/Runestone/Documentation.docc/Extensions/TextView.md b/Sources/Runestone/Documentation.docc/Extensions/TextView.md index 6e0033a06..bacfc534a 100644 --- a/Sources/Runestone/Documentation.docc/Extensions/TextView.md +++ b/Sources/Runestone/Documentation.docc/Extensions/TextView.md @@ -43,10 +43,12 @@ ### Invisible Characters - ``showSpaces`` +- ``showNonBreakingSpaces`` - ``showTabs`` - ``showLineBreaks`` - ``showSoftLineBreaks`` - ``spaceSymbol`` +- ``nonBreakingSpaceSymbol`` - ``tabSymbol`` - ``lineBreakSymbol`` - ``softLineBreakSymbol`` @@ -82,6 +84,8 @@ - ``TextLocation`` - ``goToLine(_:select:)`` - ``GoToLineSelection`` +- ``moveSelectedLinesUp()`` +- ``moveSelectedLinesDown()`` ### Indenting Text