From ce6b622600d0fd392a8f0d9a67ec5d09363a0c01 Mon Sep 17 00:00:00 2001
From: Willem <willemtsade.git.5785@distributedrebirth.love>
Date: Sat, 25 Jan 2025 02:49:34 +0100
Subject: [PATCH] Added forced dec mode cleanup when reusing lexer

---
 .../main/java/org/x4o/fc18/zion7/FourCornerZionStenoLexer.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nx01-x4o-fc18/src/main/java/org/x4o/fc18/zion7/FourCornerZionStenoLexer.java b/nx01-x4o-fc18/src/main/java/org/x4o/fc18/zion7/FourCornerZionStenoLexer.java
index 1e0b52b..f9ded45 100644
--- a/nx01-x4o-fc18/src/main/java/org/x4o/fc18/zion7/FourCornerZionStenoLexer.java
+++ b/nx01-x4o-fc18/src/main/java/org/x4o/fc18/zion7/FourCornerZionStenoLexer.java
@@ -168,6 +168,7 @@ public class FourCornerZionStenoLexer {
 		inputIndex = 0; 
 		currLine = 0;
 		currCol = 0; // allow reuse of lexer
+		decModeReset();
 		handlerDocument.strobeDocumentAlpha();
 		while (true) {
 			ScanResult run = ScanResult.DONE;