forked from qt-creator/qt-creator
TextEditor: fix toggle visualize whitespace and text wrapping
Fixes: QTCREATORBUG-31202 Change-Id: I9d601dfb9d9b00e2c92525b55874c8314051ae02 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
committed by
Christian Stenger
parent
dd1f76d85b
commit
7dfbab418f
@@ -453,7 +453,8 @@ void TextEditorPlugin::createEditorCommands()
|
||||
TextActionBuilder(this, VISUALIZE_WHITESPACE)
|
||||
.setText(Tr::tr("&Visualize Whitespace"))
|
||||
.setDefaultKeySequence(Tr::tr("Meta+E, Meta+V"), Tr::tr("Ctrl+E, Ctrl+V"))
|
||||
.addToContainer(M_EDIT_ADVANCED, G_EDIT_FORMAT);
|
||||
.addToContainer(M_EDIT_ADVANCED, G_EDIT_FORMAT)
|
||||
.setCheckable(true);
|
||||
TextActionBuilder(this, CLEAN_WHITESPACE)
|
||||
.setText(Tr::tr("Clean Whitespace"))
|
||||
.addToContainer(M_EDIT_ADVANCED, G_EDIT_FORMAT);
|
||||
|
||||
Reference in New Issue
Block a user