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

This commit is contained in:
Veronica K. B. Olsen
2019-11-10 17:09:35 +01:00
parent f9ead10245
commit 231b0b8c53
6 changed files with 96 additions and 26 deletions
+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((