Added synopsis keyword and a meta file and dictiopnaries to hold the data

This commit is contained in:
Veronica K. B. Olsen committed 2019-11-10 17:09:35 +01:00
1 parent f9ead10245
commit 231b0b8c53
6 files changed
+96 -26

No files matched your search

+7
View File
@@ -140,6 +140,13 @@ class GuiDocHighlighter(QSyntaxHighlighter):
0 : self.hStyles["hidden"],
}
))
self.hRules.append((
r"^(%)(synopsis:\s+)(.*)$", {
1 : self.hStyles["hidden"],
2 : self.hStyles["keyword"],
3 : self.hStyles["hidden"],
}
))
# Trailing Spaces, 2+
self.hRules.append((