diff --git a/modules/juce_gui_extra/code_editor/juce_CodeDocument.h b/modules/juce_gui_extra/code_editor/juce_CodeDocument.h index 5941938841..d03f098c15 100644 --- a/modules/juce_gui_extra/code_editor/juce_CodeDocument.h +++ b/modules/juce_gui_extra/code_editor/juce_CodeDocument.h @@ -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;