3rdparty
QCodeEditor
include
internal
QHighlightBlockRule.hpp
Go to the documentation of this file.
1
#pragma once
2
3
// Qt
4
#include <QRegularExpression>
5
#include <QString>
6
7
struct
QHighlightBlockRule
8
{
9
QHighlightBlockRule
() :
10
startPattern
(),
11
endPattern
(),
12
formatName
()
13
{}
14
15
QHighlightBlockRule
(QRegularExpression start, QRegularExpression end, QString
format
) :
16
startPattern
(
std
::
move
(
start
)),
17
endPattern
(
std
::
move
(end)),
18
formatName
(
std
::
move
(
format
))
19
{}
20
21
QRegularExpression
startPattern
;
22
QRegularExpression
endPattern
;
23
QString
formatName
;
24
};
QHighlightBlockRule::QHighlightBlockRule
QHighlightBlockRule(QRegularExpression start, QRegularExpression end, QString format)
Definition:
QHighlightBlockRule.hpp:15
QHighlightBlockRule::endPattern
QRegularExpression endPattern
Definition:
QHighlightBlockRule.hpp:22
QHighlightBlockRule
Definition:
QHighlightBlockRule.hpp:7
backward::details::move
const T & move(const T &v)
Definition:
backward.hpp:394
QHighlightBlockRule::formatName
QString formatName
Definition:
QHighlightBlockRule.hpp:23
format
auto format(const text_style &ts, const S &format_str, const Args &... args) -> std::basic_string< Char >
Definition:
color.h:543
QHighlightBlockRule::startPattern
QRegularExpression startPattern
Definition:
QHighlightBlockRule.hpp:21
start
ROSCPP_DECL void start()
std
QHighlightBlockRule::QHighlightBlockRule
QHighlightBlockRule()
Definition:
QHighlightBlockRule.hpp:9
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45