aboutsummaryrefslogtreecommitdiff
path: root/src/fields/Key.ts
diff options
context:
space:
mode:
authorlaurawilsonri <laura_wilson@brown.edu>2019-02-23 23:14:13 -0500
committerlaurawilsonri <laura_wilson@brown.edu>2019-02-23 23:14:13 -0500
commit3ad38f0445178bdfe025e4f6da60f68f03876f56 (patch)
tree1ae0eccce9e44aa23028f7da4dcb0500932b0807 /src/fields/Key.ts
parentc2400538b8ca4b68eb8767c8976531202f2ee748 (diff)
letter is typed into box, but the cursor isn't positioned correctly and the box isn't selected
Diffstat (limited to 'src/fields/Key.ts')
-rw-r--r--src/fields/Key.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fields/Key.ts b/src/fields/Key.ts
index 8d92b89b6..eeda7be4e 100644
--- a/src/fields/Key.ts
+++ b/src/fields/Key.ts
@@ -54,4 +54,12 @@ export namespace KeyStore {
export const LayoutKeys = new Key("LayoutKeys");
export const LayoutFields = new Key("LayoutFields");
export const ColumnsKey = new Key("SchemaColumns");
+
+ //used for setting the text of a text document
+ export const Text = new Key("Text");
+ //determines whether doc views will be selected when they are first loaded
+ //should be NumberField where 0 = false and 1 = true
+ //currently only implemented for FormattedTextView
+ export const SelectOnLoaded = new Key("SelectOnLoaded");
+
} \ No newline at end of file