From a2cd9be3b96a5905cf580403d32ac440d7c6f58e Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 12 Mar 2018 09:49:11 +0000 Subject: [PATCH] Fix some unescaped characters in the documentation of CodeDocument::setNewLineCharacters() and ::getNewLineCharacters() --- modules/juce_gui_extra/code_editor/juce_CodeDocument.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;