diff options
Diffstat (limited to 'src/plugins/texteditor/plaintexteditor.cpp')
-rw-r--r-- | src/plugins/texteditor/plaintexteditor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/texteditor/plaintexteditor.cpp b/src/plugins/texteditor/plaintexteditor.cpp index c0a8982208..322113738f 100644 --- a/src/plugins/texteditor/plaintexteditor.cpp +++ b/src/plugins/texteditor/plaintexteditor.cpp @@ -167,10 +167,10 @@ void PlainTextEditorWidget::configure(const Core::MimeType &mimeType) if (!definition.isNull() && definition->isValid()) { highlighter->setDefaultContext(definition->initialContext()); - m_commentDefinition.setAfterWhiteSpaces(definition->isCommentAfterWhiteSpaces()); - m_commentDefinition.setSingleLine(definition->singleLineComment()); - m_commentDefinition.setMultiLineStart(definition->multiLineCommentStart()); - m_commentDefinition.setMultiLineEnd(definition->multiLineCommentEnd()); + m_commentDefinition.isAfterWhiteSpaces = definition->isCommentAfterWhiteSpaces(); + m_commentDefinition.singleLine = definition->singleLineComment(); + m_commentDefinition.multiLineStart = definition->multiLineCommentStart(); + m_commentDefinition.multiLineEnd = definition->multiLineCommentEnd(); setCodeFoldingSupported(true); } |