openscad/src/scadlexer.h

22 lines
452 B
C
Raw Permalink Normal View History

2014-08-23 08:57:22 +04:00
#pragma once
2014-06-17 19:34:54 +04:00
#include <qobject.h>
2014-06-19 21:23:00 +04:00
#include <Qsci/qsciglobal.h>
2014-06-17 19:34:54 +04:00
#include <Qsci/qscilexercpp.h>
class ScadLexer : public QsciLexerCPP
{
public:
2014-08-23 08:57:57 +04:00
ScadLexer(QObject *parent);
virtual ~ScadLexer();
const char *language() const;
const char *keywords(int set) const;
void setKeywords(int set, const std::string& keywords);
2014-06-19 21:23:00 +04:00
private:
std::string keywordSet[4];
2014-08-23 08:57:57 +04:00
ScadLexer(const ScadLexer &);
ScadLexer &operator=(const ScadLexer &);
2014-06-17 19:34:54 +04:00
};