From 0e656fef2800271e06716ba3e904a653aa8ab2db Mon Sep 17 00:00:00 2001 From: kotaindah55 Date: Mon, 3 Feb 2025 22:57:47 +0200 Subject: [PATCH] refactor: suffice with processCursor at parseLine processCursor will be executed within parseLine method, precisely it will be executed at the beginning of each parseLine call. --- src/editor-mode/parser/Parser.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/editor-mode/parser/Parser.ts b/src/editor-mode/parser/Parser.ts index f9db2bc..6ebf20e 100644 --- a/src/editor-mode/parser/Parser.ts +++ b/src/editor-mode/parser/Parser.ts @@ -37,7 +37,6 @@ export class Parser { Tokenizer.colorTag(state); } state.resolveContext(); - state.processCursor(); do { this.parseLine() } while (state.nextLine()) this.queue.clear(); this.removeState();