Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
bdbd20cf
Commit
bdbd20cf
authored
Jan 25, 2021
by
Christoph Cullmann
🐮
Browse files
try to fix compile with older version of frameworks
parent
98faf01f
Changes
3
Hide whitespace changes
Inline
Side-by-side
addons/lspclient/lspclientprotocol.h
View file @
bdbd20cf
...
...
@@ -18,7 +18,6 @@
#include "lspsemantichighlighting.h"
#include <ktexteditor_version.h>
#include <KTextEditor/Cursor>
#include <KTextEditor/Range>
...
...
addons/lspclient/lspsemantichighlighting.cpp
View file @
bdbd20cf
...
...
@@ -14,6 +14,8 @@
#include <KSyntaxHighlighting/Theme>
#if KTEXTEDITOR_VERSION >= QT_VERSION_CHECK(5, 79, 0)
SemanticHighlighting
::
SemanticHighlighting
(
QObject
*
parent
)
:
QObject
(
parent
)
{
...
...
@@ -219,3 +221,5 @@ void SemanticHighlighting::refresh()
}
}
}
#endif
addons/lspclient/lspsemantichighlighting.h
View file @
bdbd20cf
...
...
@@ -7,6 +7,10 @@
#ifndef SEMANTICTOKENMAP_H
#define SEMANTICTOKENMAP_H
#include <ktexteditor_version.h>
#if KTEXTEDITOR_VERSION >= QT_VERSION_CHECK(5, 79, 0)
#include <QObject>
#include <vector>
...
...
@@ -73,4 +77,6 @@ private:
KTextEditor
::
Attribute
::
Ptr
fixedAttrs
[
6
];
};
#endif
#endif // SEMANTICTOKENMAP_H
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment