summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/cppcodemarker.h
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-01-20 16:26:10 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-01-20 16:26:10 (GMT)
commit0418b2b540fcb0e3d76299e3df69ad600292adf9 (patch)
tree9b1ce67d5cfcfacfd2556146277698afe231dba0 /tools/qdoc3/cppcodemarker.h
parent41f93881ad51d21aece16d8c1c272c0ff3246db8 (diff)
downloadQt-0418b2b540fcb0e3d76299e3df69ad600292adf9.zip
Qt-0418b2b540fcb0e3d76299e3df69ad600292adf9.tar.gz
Qt-0418b2b540fcb0e3d76299e3df69ad600292adf9.tar.bz2
Ongoing improvements and fixes to syntax highlighting.
Added an atom for JavaScript code. Fixed example file quoting to use the appropriate atom for each file. Changed C++ code marking to mark up classes as types. Fixed C++ quoting bug that caused the last character to be lost. Fixed indentation of code to not insert spaces inside elements. Documented the change in the meaning of the \c command. Simplified the use of CSS classes in the HTML output.
Diffstat (limited to 'tools/qdoc3/cppcodemarker.h')
-rw-r--r--tools/qdoc3/cppcodemarker.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qdoc3/cppcodemarker.h b/tools/qdoc3/cppcodemarker.h
index bb307f9..8206dbe 100644
--- a/tools/qdoc3/cppcodemarker.h
+++ b/tools/qdoc3/cppcodemarker.h
@@ -59,6 +59,7 @@ class CppCodeMarker : public CodeMarker
virtual bool recognizeCode(const QString& code);
virtual bool recognizeExtension(const QString& ext);
virtual bool recognizeLanguage(const QString& lang);
+ virtual Atom::Type atomType() const;
virtual QString plainName(const Node *node);
virtual QString plainFullName(const Node *node, const Node *relative);
virtual QString markedUpCode(const QString& code,