]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtkdoc-importer: Add support for literallayout
authorFlorian Brosch <flo.brosch@gmail.com>
Sun, 29 Jan 2012 01:47:37 +0000 (02:47 +0100)
committerFlorian Brosch <flo.brosch@gmail.com>
Sun, 29 Jan 2012 01:47:37 +0000 (02:47 +0100)
src/libvaladoc/documentation/gtkdoccommentparser.vala

index 23e421bb065176c460c74846d362d3c53f357ef8..bec1d065d0960f85e3939c8c4e85620c5990ed1b 100644 (file)
@@ -1416,6 +1416,8 @@ public class Valadoc.Gtkdoc.Parser : Object, ResourceLocator {
                                append_inline_content_not_null (run, parse_highlighted_template ("term", Run.Style.ITALIC));
                        } else if (current.type == TokenType.XML_OPEN && current.content == "literal") {
                                append_inline_content_not_null (run, parse_highlighted_template ("literal", Run.Style.ITALIC));
+                       } else if (current.type == TokenType.XML_OPEN && current.content == "literallayout") {
+                               append_inline_content_not_null (run, parse_highlighted_template ("literallayout", Run.Style.MONOSPACED));
                        } else if (current.type == TokenType.XML_OPEN && current.content == "application") {
                                append_inline_content_not_null (run, parse_highlighted_template ("application", Run.Style.MONOSPACED));
                        } else if (current.type == TokenType.XML_OPEN && current.content == "varname") {