@guihz/trading-vue-editor-tes 0.0.23 → 0.0.25

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,6 +22,8 @@ export interface IRefs {
22
22
  contentHeight: number;
23
23
  lineCount: number | undefined;
24
24
  };
25
+ setPosition: (column: number, lineNumber: number) => void;
26
+ setModelMarkers: (markers: editor.IMarkerData[]) => void;
25
27
  }
26
28
  declare const TradingEditorComponent: import("react").ForwardRefExoticComponent<IProps & import("react").RefAttributes<IRefs>>;
27
29
  export default TradingEditorComponent;
@@ -10,6 +10,7 @@ export default class InitEditor {
10
10
  addDiffDecorations(): void;
11
11
  removeDiffDecorations(): void;
12
12
  setValue(val: string): void;
13
+ setPosition(position: IPosition): void;
13
14
  saveScripts(): void;
14
15
  getEditorLayout(): {
15
16
  contentHeight: number;
@@ -2,7 +2,7 @@
2
2
  import { ErrorListener } from 'antlr4';
3
3
  import { IKeyObjectValue } from '../type';
4
4
  export default function parseTcc(program: string, hasTranscoding: boolean, keyObjs: IKeyObjectValue): Promise<{
5
- errors: import("../parseScript/type").IError[];
5
+ errors: any[];
6
6
  functions: {
7
7
  [k: string]: import("../type").IDocValue[];
8
8
  };