aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorStanley Yip <stanley_yip@brown.edu>2020-02-08 14:35:20 -0500
committerStanley Yip <stanley_yip@brown.edu>2020-02-08 14:35:20 -0500
commit593016303351f365d6ae13413b72d77495ea6a03 (patch)
tree77e8e48f5fe3e9a9b0a71cfb56f9dd5e9be99e95 /src/client/documents/Documents.ts
parent483aa393cd004e97e2722fea52e920379099cb4d (diff)
syntax highlighting :)
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 1c13eb079..81a6ff802 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -139,6 +139,7 @@ export interface DocumentOptions {
letterSpacing?: string; // is linear view expanded
flexDirection?: "unset" | "row" | "column" | "row-reverse" | "column-reverse";
selectedIndex?: number;
+ syntaxColor?: string; // can be applied to text for syntax highlighting all matches in the text
}
class EmptyBox {