 |
Galaxis Codebase
1.0.0
Team Galaxis software stack for the Carolo Cup 2023 - ROS2 based software
|
Go to the documentation of this file.
31 #ifndef OFILABS_JSEDIT
32 #define OFILABS_JSEDIT
35 #include <QPlainTextEdit>
36 #include <QScopedPointer>
79 JSEdit(QWidget *parent = 0);
97 void mark(
const QString &str, Qt::CaseSensitivity sens = Qt::CaseInsensitive);
116 QScopedPointer<JSEditPrivate>
d_ptr;
126 void mark(
const QString &str, Qt::CaseSensitivity caseSensitivity);
142 #endif // OFILABS_JSEDIT
bool bracketsMatchingEnabled
void mark(const QString &str, Qt::CaseSensitivity caseSensitivity)
void setColor(JSEdit::ColorComponent component, const QColor &color)
void setCodeFoldingEnabled(bool enable)
void setKeywords(const QStringList &keywords)
Qt::CaseSensitivity m_markCaseSensitivity
QStringList keywords() const
void highlightBlock(const QString &text)
QStringList keywords() const
bool isTextWrapEnabled() const
JSEdit(QWidget *parent=0)
JSHighlighter(QTextDocument *parent=0)
QSet< QString > m_knownIds
QSet< QString > m_keywords
bool isFolded(int line) const
void setLineNumbersVisible(bool visible)
Q_DECLARE_PRIVATE(JSEdit)
void mark(const QString &str, Qt::CaseSensitivity sens=Qt::CaseInsensitive)
bool isFoldable(int line) const
bool isCodeFoldingEnabled() const
bool isLineNumbersVisible() const
void setColor(ColorComponent component, const QColor &color)
QScopedPointer< JSEditPrivate > d_ptr
bool isBracketsMatchingEnabled() const
void setKeywords(const QStringList &keywords)
QHash< JSEdit::ColorComponent, QColor > m_colors
void resizeEvent(QResizeEvent *e)
void toggleFold(int line)
void setTextWrapEnabled(bool enable)
void setBracketsMatchingEnabled(bool enable)
QList< int > bracketPositions
void wheelEvent(QWheelEvent *e)