diff options
| author | John MacFarlane <[email protected]> | 2023-08-04 20:43:39 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2023-08-04 20:43:39 -0700 |
| commit | 08738954162e992b21ffa83baae7f82b10e1041f (patch) | |
| tree | cad4f36cf91c4987f9292594d0fc05c018eedf8e /test/command | |
| parent | 889dcbe99ce16f66108f7a8fc6dd064f9d9ce30e (diff) | |
OpenDocument writer: implement syntax highlighting.
Still unimplemented: global background colors, line numbers.
Closes #6710, obsoletes #6717.
Diffstat (limited to 'test/command')
| -rw-r--r-- | test/command/6792.md | 24 | ||||
| -rw-r--r-- | test/command/8256.md | 24 |
2 files changed, 22 insertions, 26 deletions
diff --git a/test/command/6792.md b/test/command/6792.md index e7394c69e..ad7d5591e 100644 --- a/test/command/6792.md +++ b/test/command/6792.md @@ -22,10 +22,8 @@ <style:font-face style:name="Courier New" style:font-family-generic="modern" style:font-pitch="fixed" svg:font-family="'Courier New'" /> </office:font-face-decls> <office:styles> - <w:style style:name="SourceCode" style:family="paragraph" style:class="text"> - </w:style> <style:style style:name="KeywordTok" style:family="text"> - <style:text-properties fo:color="#007020" /> + <style:text-properties fo:color="#007020" fo:font-weight="bold" /> </style:style> <style:style style:name="DataTypeTok" style:family="text"> <style:text-properties fo:color="#902000" /> @@ -58,19 +56,19 @@ <style:text-properties fo:color="#bb6688" /> </style:style> <style:style style:name="ImportTok" style:family="text"> - <style:text-properties fo:color="#008000" /> + <style:text-properties fo:color="#008000" fo:font-weight="bold" /> </style:style> <style:style style:name="CommentTok" style:family="text"> - <style:text-properties fo:color="#60a0b0" /> + <style:text-properties fo:color="#60a0b0" fo:font-style="italic" /> </style:style> <style:style style:name="DocumentationTok" style:family="text"> - <style:text-properties fo:color="#ba2121" /> + <style:text-properties fo:color="#ba2121" fo:font-style="italic" /> </style:style> <style:style style:name="AnnotationTok" style:family="text"> - <style:text-properties fo:color="#60a0b0" /> + <style:text-properties fo:color="#60a0b0" fo:font-style="italic" fo:font-weight="bold" /> </style:style> <style:style style:name="CommentVarTok" style:family="text"> - <style:text-properties fo:color="#60a0b0" /> + <style:text-properties fo:color="#60a0b0" fo:font-style="italic" fo:font-weight="bold" /> </style:style> <style:style style:name="OtherTok" style:family="text"> <style:text-properties fo:color="#007020" /> @@ -82,7 +80,7 @@ <style:text-properties fo:color="#19177c" /> </style:style> <style:style style:name="ControlFlowTok" style:family="text"> - <style:text-properties fo:color="#007020" /> + <style:text-properties fo:color="#007020" fo:font-weight="bold" /> </style:style> <style:style style:name="OperatorTok" style:family="text"> <style:text-properties fo:color="#666666" /> @@ -103,16 +101,16 @@ <style:text-properties /> </style:style> <style:style style:name="InformationTok" style:family="text"> - <style:text-properties fo:color="#60a0b0" /> + <style:text-properties fo:color="#60a0b0" fo:font-style="italic" fo:font-weight="bold" /> </style:style> <style:style style:name="WarningTok" style:family="text"> - <style:text-properties fo:color="#60a0b0" /> + <style:text-properties fo:color="#60a0b0" fo:font-style="italic" fo:font-weight="bold" /> </style:style> <style:style style:name="AlertTok" style:family="text"> - <style:text-properties fo:color="#ff0000" /> + <style:text-properties fo:color="#ff0000" fo:font-weight="bold" /> </style:style> <style:style style:name="ErrorTok" style:family="text"> - <style:text-properties fo:color="#ff0000" /> + <style:text-properties fo:color="#ff0000" fo:font-weight="bold" /> </style:style> <style:style style:name="NormalTok" style:family="text"> <style:text-properties /> diff --git a/test/command/8256.md b/test/command/8256.md index 4712acedd..5ba6b39cc 100644 --- a/test/command/8256.md +++ b/test/command/8256.md @@ -16,10 +16,8 @@ Testing. <style:font-face style:name="Courier New" style:font-family-generic="modern" style:font-pitch="fixed" svg:font-family="'Courier New'" /> </office:font-face-decls> <office:styles> - <w:style style:name="SourceCode" style:family="paragraph" style:class="text"> - </w:style> <style:style style:name="KeywordTok" style:family="text"> - <style:text-properties fo:color="#007020" /> + <style:text-properties fo:color="#007020" fo:font-weight="bold" /> </style:style> <style:style style:name="DataTypeTok" style:family="text"> <style:text-properties fo:color="#902000" /> @@ -52,19 +50,19 @@ Testing. <style:text-properties fo:color="#bb6688" /> </style:style> <style:style style:name="ImportTok" style:family="text"> - <style:text-properties fo:color="#008000" /> + <style:text-properties fo:color="#008000" fo:font-weight="bold" /> </style:style> <style:style style:name="CommentTok" style:family="text"> - <style:text-properties fo:color="#60a0b0" /> + <style:text-properties fo:color="#60a0b0" fo:font-style="italic" /> </style:style> <style:style style:name="DocumentationTok" style:family="text"> - <style:text-properties fo:color="#ba2121" /> + <style:text-properties fo:color="#ba2121" fo:font-style="italic" /> </style:style> <style:style style:name="AnnotationTok" style:family="text"> - <style:text-properties fo:color="#60a0b0" /> + <style:text-properties fo:color="#60a0b0" fo:font-style="italic" fo:font-weight="bold" /> </style:style> <style:style style:name="CommentVarTok" style:family="text"> - <style:text-properties fo:color="#60a0b0" /> + <style:text-properties fo:color="#60a0b0" fo:font-style="italic" fo:font-weight="bold" /> </style:style> <style:style style:name="OtherTok" style:family="text"> <style:text-properties fo:color="#007020" /> @@ -76,7 +74,7 @@ Testing. <style:text-properties fo:color="#19177c" /> </style:style> <style:style style:name="ControlFlowTok" style:family="text"> - <style:text-properties fo:color="#007020" /> + <style:text-properties fo:color="#007020" fo:font-weight="bold" /> </style:style> <style:style style:name="OperatorTok" style:family="text"> <style:text-properties fo:color="#666666" /> @@ -97,16 +95,16 @@ Testing. <style:text-properties /> </style:style> <style:style style:name="InformationTok" style:family="text"> - <style:text-properties fo:color="#60a0b0" /> + <style:text-properties fo:color="#60a0b0" fo:font-style="italic" fo:font-weight="bold" /> </style:style> <style:style style:name="WarningTok" style:family="text"> - <style:text-properties fo:color="#60a0b0" /> + <style:text-properties fo:color="#60a0b0" fo:font-style="italic" fo:font-weight="bold" /> </style:style> <style:style style:name="AlertTok" style:family="text"> - <style:text-properties fo:color="#ff0000" /> + <style:text-properties fo:color="#ff0000" fo:font-weight="bold" /> </style:style> <style:style style:name="ErrorTok" style:family="text"> - <style:text-properties fo:color="#ff0000" /> + <style:text-properties fo:color="#ff0000" fo:font-weight="bold" /> </style:style> <style:style style:name="NormalTok" style:family="text"> <style:text-properties /> |
