DiffEditor: add info bar for documents with encoding errors

... with the option to reload the diff document with another encoding.

Fixes: QTCREATORBUG-23835
Change-Id: I1ce07b292688059b37535f2972970d8ea91be81b
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2020-04-14 11:10:52 +02:00
parent d42920d372
commit 2f53f58280
5 changed files with 60 additions and 5 deletions

View File

@@ -38,6 +38,7 @@ const char DIFF_EDITOR_MIMETYPE[] = "text/x-patch";
const char C_DIFF_EDITOR_DESCRIPTION[] = "DiffEditor.Description";
const char SIDE_BY_SIDE_VIEW_ID[] = "DiffEditor.SideBySide";
const char UNIFIED_VIEW_ID[] = "DiffEditor.Unified";
const char SELECT_ENCODING[] = "DiffEditor.SelectEncoding";
const char G_TOOLS_DIFF[] = "QtCreator.Group.Tools.Options";