forked from qt-creator/qt-creator
Fix compilation: take 2
Change-Id: I1f1f2c8dee1afc768633af074af650bdfd200a2a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -52,7 +52,7 @@ static TextStyle styleForFormat(int format)
|
|||||||
return C_TEXT;
|
return C_TEXT;
|
||||||
}
|
}
|
||||||
|
|
||||||
ProFileHighlighter::ProFileHighlighter(const Keywords &keywords)
|
ProFileHighlighter::ProFileHighlighter()
|
||||||
: m_keywords(qmakeKeywords())
|
: m_keywords(qmakeKeywords())
|
||||||
{
|
{
|
||||||
setTextFormatCategories(NumProfileFormats, styleForFormat);
|
setTextFormatCategories(NumProfileFormats, styleForFormat);
|
||||||
|
@@ -42,7 +42,7 @@ public:
|
|||||||
NumProfileFormats
|
NumProfileFormats
|
||||||
};
|
};
|
||||||
|
|
||||||
explicit ProFileHighlighter();
|
ProFileHighlighter();
|
||||||
void highlightBlock(const QString &text);
|
void highlightBlock(const QString &text);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@@ -38,7 +38,7 @@ namespace Internal {
|
|||||||
class ProFileHoverHandler : public TextEditor::BaseHoverHandler
|
class ProFileHoverHandler : public TextEditor::BaseHoverHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit ProFileHoverHandler();
|
ProFileHoverHandler();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void identifyMatch(TextEditor::TextEditorWidget *editorWidget, int pos) override;
|
void identifyMatch(TextEditor::TextEditorWidget *editorWidget, int pos) override;
|
||||||
|
Reference in New Issue
Block a user