forked from qt-creator/qt-creator
TextEditor: Add option to prefer single line comments
Fixes: QTCREATORBUG-24017 Change-Id: Icf34710707b51ea9fbd348dd207950cffeedfdd3 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -7310,7 +7310,8 @@ void TextEditorWidget::rewrapParagraph()
|
||||
|
||||
void TextEditorWidget::unCommentSelection()
|
||||
{
|
||||
Utils::unCommentSelection(this, d->m_commentDefinition);
|
||||
Utils::unCommentSelection(this, d->m_commentDefinition,
|
||||
d->m_document->typingSettings().m_preferSingleLineComments);
|
||||
}
|
||||
|
||||
void TextEditorWidget::autoFormat()
|
||||
|
||||
Reference in New Issue
Block a user