2012-10-02 09:12:39 +02:00
|
|
|
/****************************************************************************
|
2008-12-02 12:01:29 +01:00
|
|
|
**
|
2016-01-15 14:57:40 +01:00
|
|
|
** Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
** Contact: https://www.qt.io/licensing/
|
2008-12-02 12:01:29 +01:00
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
** This file is part of Qt Creator.
|
2008-12-02 12:01:29 +01:00
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
** Commercial License Usage
|
|
|
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
|
|
|
** accordance with the commercial license agreement provided with the
|
|
|
|
|
** Software or, alternatively, in accordance with the terms contained in
|
2016-01-15 14:57:40 +01:00
|
|
|
** a written agreement between you and The Qt Company. For licensing terms
|
|
|
|
|
** and conditions see https://www.qt.io/terms-conditions. For further
|
|
|
|
|
** information use the contact form at https://www.qt.io/contact-us.
|
2008-12-02 14:17:16 +01:00
|
|
|
**
|
2016-01-15 14:57:40 +01:00
|
|
|
** GNU General Public License Usage
|
|
|
|
|
** Alternatively, this file may be used under the terms of the GNU
|
|
|
|
|
** General Public License version 3 as published by the Free Software
|
|
|
|
|
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
|
|
|
|
|
** included in the packaging of this file. Please review the following
|
|
|
|
|
** information to ensure the GNU General Public License requirements will
|
|
|
|
|
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
2010-12-17 16:01:08 +01:00
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
****************************************************************************/
|
2008-12-02 16:19:05 +01:00
|
|
|
|
2014-07-19 11:27:28 +02:00
|
|
|
#include "textmark.h"
|
2014-09-26 09:14:03 +02:00
|
|
|
#include "textdocument.h"
|
|
|
|
|
#include "texteditor.h"
|
2012-02-08 17:21:12 +01:00
|
|
|
#include "texteditorplugin.h"
|
2010-05-28 14:06:57 +02:00
|
|
|
|
2008-12-02 12:01:29 +01:00
|
|
|
#include <coreplugin/editormanager/editormanager.h>
|
2012-03-12 16:56:25 +01:00
|
|
|
#include <coreplugin/documentmanager.h>
|
2012-05-02 14:33:28 +02:00
|
|
|
#include <utils/qtcassert.h>
|
2008-12-02 16:19:05 +01:00
|
|
|
|
2016-08-16 14:19:41 +02:00
|
|
|
#include <QGridLayout>
|
2017-06-20 08:28:10 +02:00
|
|
|
#include <QPainter>
|
2016-07-22 08:57:32 +02:00
|
|
|
|
2013-08-29 17:56:28 +02:00
|
|
|
using namespace Core;
|
|
|
|
|
using namespace Utils;
|
2014-07-19 11:27:28 +02:00
|
|
|
using namespace TextEditor::Internal;
|
2013-08-29 17:56:28 +02:00
|
|
|
|
|
|
|
|
namespace TextEditor {
|
2010-10-29 15:20:10 +02:00
|
|
|
|
2017-05-29 14:30:43 +02:00
|
|
|
class TextMarkRegistry : public QObject
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
static void add(TextMark *mark);
|
|
|
|
|
static bool remove(TextMark *mark);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
TextMarkRegistry(QObject *parent);
|
|
|
|
|
static TextMarkRegistry* instance();
|
|
|
|
|
void editorOpened(Core::IEditor *editor);
|
|
|
|
|
void documentRenamed(Core::IDocument *document, const QString &oldName, const QString &newName);
|
|
|
|
|
void allDocumentsRenamed(const QString &oldName, const QString &newName);
|
|
|
|
|
|
|
|
|
|
QHash<Utils::FileName, QSet<TextMark *> > m_marks;
|
|
|
|
|
};
|
|
|
|
|
|
2017-06-20 08:28:10 +02:00
|
|
|
class AnnotationColors
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
static AnnotationColors &getAnnotationColors(const QColor &markColor,
|
|
|
|
|
const QColor &backgroundColor);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
using SourceColors = QPair<QColor, QColor>;
|
|
|
|
|
QColor rectColor;
|
|
|
|
|
QColor textColor;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
static double clipHsl(double value);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
static QHash<SourceColors, AnnotationColors> m_colorCache;
|
|
|
|
|
};
|
|
|
|
|
|
2017-05-29 14:30:43 +02:00
|
|
|
TextMarkRegistry *m_instance = nullptr;
|
|
|
|
|
|
2017-03-16 10:50:58 +01:00
|
|
|
TextMark::TextMark(const QString &fileName, int lineNumber, Id category, double widthFactor)
|
2017-06-01 08:48:11 +02:00
|
|
|
: m_fileName(fileName)
|
|
|
|
|
, m_lineNumber(lineNumber)
|
|
|
|
|
, m_visible(true)
|
|
|
|
|
, m_category(category)
|
|
|
|
|
, m_widthFactor(widthFactor)
|
2014-07-19 11:27:28 +02:00
|
|
|
{
|
|
|
|
|
if (!m_fileName.isEmpty())
|
2017-05-29 14:30:43 +02:00
|
|
|
TextMarkRegistry::add(this);
|
2014-07-19 11:27:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TextMark::~TextMark()
|
|
|
|
|
{
|
2017-05-29 14:30:43 +02:00
|
|
|
TextMarkRegistry::remove(this);
|
2014-07-19 11:27:28 +02:00
|
|
|
if (m_baseTextDocument)
|
|
|
|
|
m_baseTextDocument->removeMark(this);
|
|
|
|
|
m_baseTextDocument = 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
QString TextMark::fileName() const
|
|
|
|
|
{
|
|
|
|
|
return m_fileName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void TextMark::updateFileName(const QString &fileName)
|
|
|
|
|
{
|
|
|
|
|
if (fileName == m_fileName)
|
|
|
|
|
return;
|
|
|
|
|
if (!m_fileName.isEmpty())
|
2017-05-29 14:30:43 +02:00
|
|
|
TextMarkRegistry::remove(this);
|
2014-07-19 11:27:28 +02:00
|
|
|
m_fileName = fileName;
|
|
|
|
|
if (!m_fileName.isEmpty())
|
2017-05-29 14:30:43 +02:00
|
|
|
TextMarkRegistry::add(this);
|
2014-07-19 11:27:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int TextMark::lineNumber() const
|
|
|
|
|
{
|
|
|
|
|
return m_lineNumber;
|
|
|
|
|
}
|
|
|
|
|
|
2017-06-20 08:28:10 +02:00
|
|
|
void TextMark::paintIcon(QPainter *painter, const QRect &rect) const
|
2014-07-19 11:27:28 +02:00
|
|
|
{
|
|
|
|
|
m_icon.paint(painter, rect, Qt::AlignCenter);
|
|
|
|
|
}
|
|
|
|
|
|
2017-06-20 08:28:10 +02:00
|
|
|
void TextMark::paintAnnotation(QPainter *painter,
|
|
|
|
|
QRectF *annotationRect,
|
|
|
|
|
const QFontMetrics &fm) const
|
|
|
|
|
{
|
|
|
|
|
QString text = lineAnnotation();
|
|
|
|
|
if (text.isEmpty())
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
const bool drawIcon = !m_icon.isNull();
|
|
|
|
|
int textWidth = fm.width(text);
|
|
|
|
|
constexpr qreal margin = 1;
|
|
|
|
|
const qreal iconHeight = annotationRect->height() - 2 * margin;
|
|
|
|
|
const qreal iconWidth = iconHeight * m_widthFactor + 2 * margin;
|
|
|
|
|
qreal annotationWidth = (drawIcon ? textWidth + iconWidth : textWidth) + margin;
|
|
|
|
|
if (annotationRect->left() + annotationWidth > annotationRect->right()) {
|
|
|
|
|
textWidth = int(annotationRect->width() - (drawIcon ? iconWidth + margin : margin));
|
|
|
|
|
text = fm.elidedText(text, Qt::ElideRight, textWidth);
|
|
|
|
|
annotationWidth = annotationRect->width();
|
|
|
|
|
}
|
|
|
|
|
const QColor markColor = m_hasColor ? Utils::creatorTheme()->color(m_color).toHsl()
|
|
|
|
|
: painter->pen().color();
|
|
|
|
|
const AnnotationColors &colors =
|
|
|
|
|
AnnotationColors::getAnnotationColors(markColor, painter->background().color());
|
|
|
|
|
|
|
|
|
|
painter->save();
|
|
|
|
|
annotationRect->setWidth(annotationWidth);
|
|
|
|
|
painter->setPen(colors.rectColor);
|
|
|
|
|
painter->setBrush(colors.rectColor);
|
|
|
|
|
painter->drawRect(*annotationRect);
|
|
|
|
|
painter->setPen(colors.textColor);
|
|
|
|
|
if (drawIcon) {
|
|
|
|
|
paintIcon(painter, annotationRect->adjusted(
|
|
|
|
|
margin, margin, -(textWidth + 2 * margin), -margin).toAlignedRect());
|
|
|
|
|
}
|
|
|
|
|
painter->drawText(annotationRect->adjusted(iconWidth, 0, 0, 0), Qt::AlignLeft, text);
|
|
|
|
|
painter->restore();
|
|
|
|
|
}
|
|
|
|
|
|
2014-07-19 11:27:28 +02:00
|
|
|
void TextMark::updateLineNumber(int lineNumber)
|
|
|
|
|
{
|
|
|
|
|
m_lineNumber = lineNumber;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void TextMark::move(int line)
|
|
|
|
|
{
|
|
|
|
|
if (line == m_lineNumber)
|
|
|
|
|
return;
|
|
|
|
|
const int previousLine = m_lineNumber;
|
|
|
|
|
m_lineNumber = line;
|
|
|
|
|
if (m_baseTextDocument)
|
|
|
|
|
m_baseTextDocument->moveMark(this, previousLine);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void TextMark::updateBlock(const QTextBlock &)
|
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
void TextMark::removedFromEditor()
|
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
void TextMark::updateMarker()
|
|
|
|
|
{
|
|
|
|
|
if (m_baseTextDocument)
|
|
|
|
|
m_baseTextDocument->updateMark(this);
|
|
|
|
|
}
|
|
|
|
|
|
2017-06-26 14:39:13 +02:00
|
|
|
void TextMark::setPriority(TextMark::Priority prioriy)
|
|
|
|
|
{
|
|
|
|
|
m_priority = prioriy;
|
|
|
|
|
updateMarker();
|
|
|
|
|
}
|
|
|
|
|
|
2014-07-19 11:27:28 +02:00
|
|
|
bool TextMark::isVisible() const
|
|
|
|
|
{
|
|
|
|
|
return m_visible;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void TextMark::setVisible(bool visible)
|
|
|
|
|
{
|
|
|
|
|
m_visible = visible;
|
2017-06-26 14:39:13 +02:00
|
|
|
updateMarker();
|
2014-07-19 11:27:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
double TextMark::widthFactor() const
|
|
|
|
|
{
|
|
|
|
|
return m_widthFactor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void TextMark::setWidthFactor(double factor)
|
|
|
|
|
{
|
|
|
|
|
m_widthFactor = factor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool TextMark::isClickable() const
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void TextMark::clicked()
|
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
bool TextMark::isDraggable() const
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void TextMark::dragToLine(int lineNumber)
|
|
|
|
|
{
|
|
|
|
|
Q_UNUSED(lineNumber);
|
|
|
|
|
}
|
|
|
|
|
|
2017-06-20 08:28:10 +02:00
|
|
|
void TextMark::addToToolTipLayout(QGridLayout *target) const
|
2016-08-16 14:19:41 +02:00
|
|
|
{
|
|
|
|
|
auto *contentLayout = new QVBoxLayout;
|
|
|
|
|
addToolTipContent(contentLayout);
|
|
|
|
|
if (contentLayout->count() > 0) {
|
|
|
|
|
const int row = target->rowCount();
|
|
|
|
|
if (!m_icon.isNull()) {
|
|
|
|
|
auto iconLabel = new QLabel;
|
|
|
|
|
iconLabel->setPixmap(m_icon.pixmap(16, 16));
|
|
|
|
|
target->addWidget(iconLabel, row, 0, Qt::AlignTop | Qt::AlignHCenter);
|
|
|
|
|
}
|
|
|
|
|
target->addLayout(contentLayout, row, 1);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-06-20 08:28:10 +02:00
|
|
|
bool TextMark::addToolTipContent(QLayout *target) const
|
2016-07-22 08:57:32 +02:00
|
|
|
{
|
2016-08-16 14:19:41 +02:00
|
|
|
QString text = m_toolTip;
|
|
|
|
|
if (text.isEmpty()) {
|
2017-06-01 08:48:11 +02:00
|
|
|
text = m_defaultToolTip;
|
2016-08-16 14:19:41 +02:00
|
|
|
if (text.isEmpty())
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
auto textLabel = new QLabel;
|
|
|
|
|
textLabel->setText(text);
|
|
|
|
|
// Differentiate between tool tips that where explicitly set and default tool tips.
|
|
|
|
|
textLabel->setEnabled(!m_toolTip.isEmpty());
|
|
|
|
|
target->addWidget(textLabel);
|
|
|
|
|
|
|
|
|
|
return true;
|
2016-07-22 08:57:32 +02:00
|
|
|
}
|
|
|
|
|
|
2017-06-01 08:48:11 +02:00
|
|
|
Theme::Color TextMark::color() const
|
2014-07-19 11:27:28 +02:00
|
|
|
{
|
2017-06-01 08:48:11 +02:00
|
|
|
QTC_CHECK(m_hasColor);
|
|
|
|
|
return m_color;
|
2014-07-19 11:27:28 +02:00
|
|
|
}
|
|
|
|
|
|
2017-06-01 08:48:11 +02:00
|
|
|
void TextMark::setColor(const Theme::Color &color)
|
2014-07-19 11:27:28 +02:00
|
|
|
{
|
2017-06-01 08:48:11 +02:00
|
|
|
m_hasColor = true;
|
|
|
|
|
m_color = color;
|
2016-07-19 11:58:15 +02:00
|
|
|
}
|
2014-07-19 11:27:28 +02:00
|
|
|
|
|
|
|
|
TextMarkRegistry::TextMarkRegistry(QObject *parent)
|
2012-02-08 17:21:12 +01:00
|
|
|
: QObject(parent)
|
2008-12-02 12:01:29 +01:00
|
|
|
{
|
2015-12-13 01:18:33 +02:00
|
|
|
connect(EditorManager::instance(), &EditorManager::editorOpened,
|
|
|
|
|
this, &TextMarkRegistry::editorOpened);
|
2012-03-12 16:56:25 +01:00
|
|
|
|
2015-12-13 01:18:33 +02:00
|
|
|
connect(DocumentManager::instance(), &DocumentManager::allDocumentsRenamed,
|
|
|
|
|
this, &TextMarkRegistry::allDocumentsRenamed);
|
|
|
|
|
connect(DocumentManager::instance(), &DocumentManager::documentRenamed,
|
|
|
|
|
this, &TextMarkRegistry::documentRenamed);
|
2008-12-02 12:01:29 +01:00
|
|
|
}
|
|
|
|
|
|
2014-07-19 11:27:28 +02:00
|
|
|
void TextMarkRegistry::add(TextMark *mark)
|
2008-12-02 12:01:29 +01:00
|
|
|
{
|
2017-05-29 14:30:43 +02:00
|
|
|
instance()->m_marks[FileName::fromString(mark->fileName())].insert(mark);
|
2014-09-22 18:43:31 +02:00
|
|
|
auto document = qobject_cast<TextDocument*>(DocumentModel::documentForFilePath(mark->fileName()));
|
2013-07-18 12:26:23 +02:00
|
|
|
if (!document)
|
|
|
|
|
return;
|
2014-07-18 15:29:04 +02:00
|
|
|
document->addMark(mark);
|
2008-12-02 12:01:29 +01:00
|
|
|
}
|
|
|
|
|
|
2014-07-19 11:27:28 +02:00
|
|
|
bool TextMarkRegistry::remove(TextMark *mark)
|
2012-02-14 15:24:37 +01:00
|
|
|
{
|
2017-05-29 14:30:43 +02:00
|
|
|
return instance()->m_marks[FileName::fromString(mark->fileName())].remove(mark);
|
2012-02-14 15:24:37 +01:00
|
|
|
}
|
|
|
|
|
|
2017-05-29 14:30:43 +02:00
|
|
|
TextMarkRegistry *TextMarkRegistry::instance()
|
|
|
|
|
{
|
|
|
|
|
if (!m_instance)
|
|
|
|
|
m_instance = new TextMarkRegistry(TextEditorPlugin::instance());
|
|
|
|
|
return m_instance;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-03 23:46:35 +02:00
|
|
|
void TextMarkRegistry::editorOpened(IEditor *editor)
|
2010-05-28 14:06:57 +02:00
|
|
|
{
|
2014-09-22 18:43:31 +02:00
|
|
|
auto document = qobject_cast<TextDocument *>(editor ? editor->document() : 0);
|
2013-12-09 16:54:31 +01:00
|
|
|
if (!document)
|
2010-05-28 14:06:57 +02:00
|
|
|
return;
|
2014-12-21 21:54:30 +02:00
|
|
|
if (!m_marks.contains(document->filePath()))
|
2012-02-08 17:21:12 +01:00
|
|
|
return;
|
|
|
|
|
|
2014-12-21 21:54:30 +02:00
|
|
|
foreach (TextMark *mark, m_marks.value(document->filePath()))
|
2014-07-18 15:29:04 +02:00
|
|
|
document->addMark(mark);
|
2012-02-08 17:21:12 +01:00
|
|
|
}
|
2010-05-28 14:06:57 +02:00
|
|
|
|
2014-07-19 11:27:28 +02:00
|
|
|
void TextMarkRegistry::documentRenamed(IDocument *document, const
|
2012-03-12 16:56:25 +01:00
|
|
|
QString &oldName, const QString &newName)
|
|
|
|
|
{
|
2014-09-22 18:43:31 +02:00
|
|
|
TextDocument *baseTextDocument = qobject_cast<TextDocument *>(document);
|
2016-08-25 09:40:55 +02:00
|
|
|
if (!baseTextDocument)
|
2012-03-12 16:56:25 +01:00
|
|
|
return;
|
2013-08-29 17:56:28 +02:00
|
|
|
FileName oldFileName = FileName::fromString(oldName);
|
|
|
|
|
FileName newFileName = FileName::fromString(newName);
|
2012-03-12 16:56:25 +01:00
|
|
|
if (!m_marks.contains(oldFileName))
|
|
|
|
|
return;
|
|
|
|
|
|
2014-07-19 11:27:28 +02:00
|
|
|
QSet<TextMark *> toBeMoved;
|
|
|
|
|
foreach (TextMark *mark, baseTextDocument->marks())
|
|
|
|
|
toBeMoved.insert(mark);
|
2012-03-12 16:56:25 +01:00
|
|
|
|
|
|
|
|
m_marks[oldFileName].subtract(toBeMoved);
|
|
|
|
|
m_marks[newFileName].unite(toBeMoved);
|
|
|
|
|
|
2014-07-19 11:27:28 +02:00
|
|
|
foreach (TextMark *mark, toBeMoved)
|
2012-03-12 16:56:25 +01:00
|
|
|
mark->updateFileName(newName);
|
|
|
|
|
}
|
|
|
|
|
|
2014-07-19 11:27:28 +02:00
|
|
|
void TextMarkRegistry::allDocumentsRenamed(const QString &oldName, const QString &newName)
|
2012-03-12 16:56:25 +01:00
|
|
|
{
|
2013-08-29 17:56:28 +02:00
|
|
|
FileName oldFileName = FileName::fromString(oldName);
|
|
|
|
|
FileName newFileName = FileName::fromString(newName);
|
2012-03-12 16:56:25 +01:00
|
|
|
if (!m_marks.contains(oldFileName))
|
|
|
|
|
return;
|
|
|
|
|
|
2014-07-19 11:27:28 +02:00
|
|
|
QSet<TextMark *> oldFileNameMarks = m_marks.value(oldFileName);
|
2012-03-12 16:56:25 +01:00
|
|
|
|
|
|
|
|
m_marks[newFileName].unite(oldFileNameMarks);
|
|
|
|
|
m_marks[oldFileName].clear();
|
|
|
|
|
|
2014-07-19 11:27:28 +02:00
|
|
|
foreach (TextMark *mark, oldFileNameMarks)
|
2012-03-12 16:56:25 +01:00
|
|
|
mark->updateFileName(newName);
|
|
|
|
|
}
|
|
|
|
|
|
2017-06-20 08:28:10 +02:00
|
|
|
QHash<AnnotationColors::SourceColors, AnnotationColors> AnnotationColors::m_colorCache;
|
|
|
|
|
|
|
|
|
|
AnnotationColors &AnnotationColors::getAnnotationColors(const QColor &markColor,
|
|
|
|
|
const QColor &backgroundColor)
|
|
|
|
|
{
|
|
|
|
|
AnnotationColors &colors = m_colorCache[{markColor, backgroundColor}];
|
|
|
|
|
if (!colors.rectColor.isValid() || !colors.textColor.isValid()) {
|
|
|
|
|
const double backgroundSaturation = clipHsl(markColor.hslSaturationF() / 2);
|
|
|
|
|
const double backgroundLightness = clipHsl(backgroundColor.lightnessF());
|
|
|
|
|
const double foregroundLightness = clipHsl(backgroundLightness > 0.5
|
|
|
|
|
? backgroundLightness - 0.5
|
|
|
|
|
: backgroundLightness + 0.5);
|
|
|
|
|
colors.rectColor.setHslF(markColor.hslHueF(),
|
|
|
|
|
backgroundSaturation,
|
|
|
|
|
backgroundLightness);
|
|
|
|
|
colors.textColor.setHslF(markColor.hslHueF(),
|
|
|
|
|
markColor.hslSaturationF(),
|
|
|
|
|
foregroundLightness);
|
|
|
|
|
}
|
|
|
|
|
return colors;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
double AnnotationColors::clipHsl(double value)
|
|
|
|
|
{
|
|
|
|
|
return std::max(0.15, std::min(0.85, value));
|
|
|
|
|
}
|
|
|
|
|
|
2013-08-29 17:56:28 +02:00
|
|
|
} // namespace TextEditor
|
2017-05-29 14:30:43 +02:00
|
|
|
|
|
|
|
|
#include "textmark.moc"
|