Browse Source

Fix some unescaped characters in the documentation of CodeDocument::setNewLineCharacters() and ::getNewLineCharacters()

tags/2021-05-28
ed 7 years ago
parent
commit
a2cd9be3b9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_gui_extra/code_editor/juce_CodeDocument.h

+ 2
- 2
modules/juce_gui_extra/code_editor/juce_CodeDocument.h View File

@@ -250,13 +250,13 @@ public:
//==============================================================================
/** Returns the preferred new-line characters for the document.
This will be either "\n", "\r\n", or (rarely) "\r".
This will be either "\\n", "\\r\\n", or (rarely) "\\r".
@see setNewLineCharacters
*/
String getNewLineCharacters() const noexcept { return newLineChars; }
/** Sets the new-line characters that the document should use.
The string must be either "\n", "\r\n", or (rarely) "\r".
The string must be either "\\n", "\\r\\n", or (rarely) "\\r".
@see getNewLineCharacters
*/
void setNewLineCharacters (const String& newLineCharacters) noexcept;


Loading…
Cancel
Save