forked from qt-creator/qt-creator
Implement syntax highlighting in diff editor
All Qt Creator's main highlighters are used in the first place, for other mimetypes generic highlighter is used as a fallback. Task-number: QTCREATORBUG-9580 Change-Id: I863b9085520e5bdda142ce88f2074afeacee0531 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Petar Perisin <petar.perisin@gmail.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
This commit is contained in:
@@ -37,7 +37,6 @@
|
||||
|
||||
namespace TextEditor {
|
||||
class BaseTextEditorWidget;
|
||||
class SnippetEditorWidget;
|
||||
class FontSettings;
|
||||
}
|
||||
|
||||
@@ -98,8 +97,8 @@ signals:
|
||||
void navigatedToDiffFile(int diffFileIndex);
|
||||
|
||||
protected:
|
||||
TextEditor::SnippetEditorWidget *leftEditor() const;
|
||||
TextEditor::SnippetEditorWidget *rightEditor() const;
|
||||
TextEditor::BaseTextEditorWidget *leftEditor() const;
|
||||
TextEditor::BaseTextEditorWidget *rightEditor() const;
|
||||
|
||||
private slots:
|
||||
void setFontSettings(const TextEditor::FontSettings &fontSettings);
|
||||
|
||||
Reference in New Issue
Block a user