diff options
| author | bob <bcz@cs.brown.edu> | 2019-04-10 15:18:10 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-04-10 15:18:10 -0400 |
| commit | d4326a225f3e801c98e4acdc6558af1c3fe6ae07 (patch) | |
| tree | 713196cdf182f66a77685a563800aee62df72dba /src/client/views/DocumentDecorations.tsx | |
| parent | e0b3c759880639bf56f9b8b39ea2e38c5cbad8a6 (diff) | |
improved text editing.
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
| -rw-r--r-- | src/client/views/DocumentDecorations.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index b7bf727f1..fa521b7e2 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -16,6 +16,7 @@ import { LinkMenu } from "./nodes/LinkMenu"; import React = require("react"); import { FieldWaiting } from "../../fields/Field"; import { emptyFunction } from "../../Utils"; +import { Main } from "./Main"; const higflyout = require("@hig/flyout"); export const { anchorPoints } = higflyout; export const Flyout = higflyout.default; @@ -321,6 +322,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }> break; } + Main.Instance.SetTextDoc(undefined, undefined, undefined); SelectionManager.SelectedDocuments().forEach(element => { const rect = element.screenRect(); if (rect.width !== 0) { |
