diff options
author | David Boddie <david.boddie@nokia.com> | 2010-12-21 17:38:04 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2010-12-21 17:38:04 (GMT) |
commit | ea41ba11fc848dbefecb0cde324478ab1986e555 (patch) | |
tree | a2a4dd1786ad4e3f0ffbfcb20ad3f964815e3049 /tools/qdoc3/qmlcodemarker.h | |
parent | 9862f29b3c8d3f23113388b48b1c4b86523137dc (diff) | |
download | Qt-ea41ba11fc848dbefecb0cde324478ab1986e555.zip Qt-ea41ba11fc848dbefecb0cde324478ab1986e555.tar.gz Qt-ea41ba11fc848dbefecb0cde324478ab1986e555.tar.bz2 |
Enabled error reporting and a plain text fallback for invalid QML.
The location of places where code is included in documentation is
now passed into each code marker when highlighted code is needed.
Diffstat (limited to 'tools/qdoc3/qmlcodemarker.h')
-rw-r--r-- | tools/qdoc3/qmlcodemarker.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/qdoc3/qmlcodemarker.h b/tools/qdoc3/qmlcodemarker.h index 68e6753..b1d365c 100644 --- a/tools/qdoc3/qmlcodemarker.h +++ b/tools/qdoc3/qmlcodemarker.h @@ -64,7 +64,7 @@ public: virtual QString plainFullName(const Node *node, const Node *relative); virtual QString markedUpCode(const QString &code, const Node *relative, - const QString &dirPath); + const Location &location); virtual QString markedUpName(const Node *node); virtual QString markedUpFullName(const Node *node, const Node *relative); @@ -76,8 +76,8 @@ public: QList<QDeclarativeJS::AST::SourceLocation> extractPragmas(QString &script); private: - QString addMarkUp(const QString &code, const Node * /* relative */, - const QString & /* dirPath */); + QString addMarkUp(const QString &code, const Node *relative, + const Location &location); }; QT_END_NAMESPACE |