aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ScriptingBox.tsx
diff options
context:
space:
mode:
authorjameshu111 <51237606+jameshu111@users.noreply.github.com>2023-02-27 16:54:51 -0500
committerGitHub <noreply@github.com>2023-02-27 16:54:51 -0500
commitde60883c54d761b74017339d9d6ce441706e0f21 (patch)
treefeb939d7b16fc943bbc929c56ba84a57643d73d2 /src/client/views/nodes/ScriptingBox.tsx
parent4f5f4b4da24dc0965f87dd33ff79279c6bfc2d7c (diff)
parentcfef23fbe4f3c3fee33a6b6cc5e970fe13c7d7b6 (diff)
Merge branch 'master' into james-text-icons
Diffstat (limited to 'src/client/views/nodes/ScriptingBox.tsx')
-rw-r--r--src/client/views/nodes/ScriptingBox.tsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/client/views/nodes/ScriptingBox.tsx b/src/client/views/nodes/ScriptingBox.tsx
index 281967a21..fa2021642 100644
--- a/src/client/views/nodes/ScriptingBox.tsx
+++ b/src/client/views/nodes/ScriptingBox.tsx
@@ -20,6 +20,7 @@ import { EditableView } from '../EditableView';
import { FieldView, FieldViewProps } from '../nodes/FieldView';
import { OverlayView } from '../OverlayView';
import { DocumentIconContainer } from './DocumentIcon';
+import { DocFocusOptions, DocumentView } from './DocumentView';
import './ScriptingBox.scss';
const _global = (window /* browser */ || global) /* node */ as any;
@@ -481,10 +482,6 @@ export class ScriptingBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatable
return value;
}
- scrollFocus = () => {
- return undefined;
- };
-
getSuggestedParams(pos: number) {
const firstScript = this.rawText.slice(0, pos);
const indexP = firstScript.lastIndexOf('.');