metaforce/hecl-gui/EscapeSequenceParser.hpp

14 lines
406 B
C++
Raw Normal View History

2018-10-07 03:41:18 +00:00
#pragma once
2018-01-03 00:24:45 +00:00
#include <QString>
#include <QTextCharFormat>
2018-01-10 06:19:48 +00:00
#include <QTextCursor>
2018-01-03 00:24:45 +00:00
void ParseEscapeSequence(int attribute, QListIterator<QString>& i, QTextCharFormat& textCharFormat,
const QTextCharFormat& defaultTextCharFormat);
2018-01-10 06:19:48 +00:00
void ReturnInsert(QTextCursor& cur, const QString& text);
void ReturnInsert(QTextCursor& cur, const QString& text, const QTextCharFormat& format);