diff --git a/src/pages/Editor.vue b/src/pages/Editor.vue
index 338141d..914c44e 100644
--- a/src/pages/Editor.vue
+++ b/src/pages/Editor.vue
@@ -11,6 +11,7 @@ import VarDeclEditor from './VarDeclEditor.vue'
import ExpressionEditor from './ExpressionEditor.vue'
import TextBox from '../components/TextBox.vue'
import {RichTextBox} from "../types.ts";
+import { stepX, stepY } from "../support/const.ts";
const math = new MathPage(uuidv4())
const statements = ref
([])
@@ -114,15 +115,18 @@ function richUpdateValue() {
-
+
+
+
+
diff --git a/src/support/const.ts b/src/support/const.ts
new file mode 100644
index 0000000..4d1ef7f
--- /dev/null
+++ b/src/support/const.ts
@@ -0,0 +1,2 @@
+export const stepX = 5
+export const stepY = 5
diff --git a/src/support/parse.ts b/src/support/parse.ts
index f5d96da..b9cf433 100644
--- a/src/support/parse.ts
+++ b/src/support/parse.ts
@@ -269,6 +269,9 @@ export class MathStatement {
/** The raw statement input by the user. */
public readonly raw: string,
+
+ public x: Number = 0,
+ public y: Number = 0,
) {}
/** Parse the raw statement to an AST. */
diff --git a/src/types.ts b/src/types.ts
index 275eaf8..d459c20 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -98,5 +98,7 @@ export class RichTextBox {
public text: string = '',
public x: Number = 0,
public y: Number = 0,
- ) {}
+ ) {
+
+ }
}
\ No newline at end of file