forked from qt-creator/qt-creator
Editor: remove html from default mime data
This is known to be expensive and a lot of users actually prefer plain text in the copied mime data to avoid unwanted coloring in 3rd party tools. Add a separate action (Edit > Advanced > Copy With Highlighting) that preserves the original functionality. Change-Id: I0f3c529146ab94d0cd9ce9e3b997c8501a577f03 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -150,6 +150,7 @@ const char MOVE_LINE_UP[] = "TextEditor.MoveLineUp";
|
||||
const char MOVE_LINE_DOWN[] = "TextEditor.MoveLineDown";
|
||||
const char COPY_LINE_UP[] = "TextEditor.CopyLineUp";
|
||||
const char COPY_LINE_DOWN[] = "TextEditor.CopyLineDown";
|
||||
const char COPY_WITH_HTML[] = "TextEditor.CopyWithHtml";
|
||||
const char JOIN_LINES[] = "TextEditor.JoinLines";
|
||||
const char INSERT_LINE_ABOVE[] = "TextEditor.InsertLineAboveCurrentLine";
|
||||
const char INSERT_LINE_BELOW[] = "TextEditor.InsertLineBelowCurrentLine";
|
||||
|
||||
Reference in New Issue
Block a user