summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/qmlcodemarker.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed the declarative headers and includes within qdoc.David Boddie2011-04-051-6/+6
|
* Ongoing improvements and fixes to syntax highlighting.David Boddie2011-01-201-0/+8
| | | | | | | | | | 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.
* Removed unnecessary markup escaping code.David Boddie2011-01-181-1/+1
| | | | There should be no need to escape markup at this point in the marker.
* Enabled error reporting and a plain text fallback for invalid QML.David Boddie2010-12-211-4/+11
| | | | | The location of places where code is included in documentation is now passed into each code marker when highlighted code is needed.
* Added missing qmlcodemarker.cpp and qmlcodemarker.h files.David Boddie2010-12-061-0/+287
Added code to remove pragmas before parsing and add them to the output. The extractPragmas() function was copied into both qmlcodeparser.cpp and qmlcodemarker.cpp from src/declarative/qml/qdeclarativescriptparser.cpp, and was modified to return either nothing (for the API parser) or a list of removed pragmas (for the code marker).