Removed column tracking event noise
This commit is contained in:
parent
ca80b2e2ae
commit
88184157c5
|
@ -207,7 +207,6 @@ public class FourCornerZionStenoLexer {
|
|||
}
|
||||
inputIndex++;
|
||||
currCol++;
|
||||
fireSignals.fireStateColumn(currCol);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -691,7 +690,6 @@ public class FourCornerZionStenoLexer {
|
|||
lexer.currLine++;
|
||||
lexer.currCol = 0;
|
||||
lexer.fireSignals.fireStateLine(lexer.currLine);
|
||||
lexer.fireSignals.fireStateColumn(lexer.currCol);
|
||||
lexer.handler.strobeWord(FourCornerDotCake.FC_F4TTY0001_NL, 0); // new line
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -30,8 +30,6 @@ public interface FourCornerZionStenoLexerFire {
|
|||
|
||||
void fireStateLine(int line);
|
||||
|
||||
void fireStateColumn(int column);
|
||||
|
||||
void fireStateScannerMatch(int blockStart, int blockStop, int matchPoint, int idxFirst, int idxLast);
|
||||
|
||||
void fireStateNCR1632BankSparkler(boolean magic);
|
||||
|
@ -44,10 +42,6 @@ public interface FourCornerZionStenoLexerFire {
|
|||
default void fireStateLine(int line) {
|
||||
}
|
||||
|
||||
@Override
|
||||
default void fireStateColumn(int column) {
|
||||
}
|
||||
|
||||
@Override
|
||||
default void fireStateScannerMatch(int blockStart, int blockStop, int matchPoint, int idxFirst, int idxLast) {
|
||||
}
|
||||
|
|
|
@ -124,6 +124,7 @@ public class KanjiDict {
|
|||
mean = mean.split("&")[0];
|
||||
mean = mean.split("/")[0];
|
||||
mean = mean.trim();
|
||||
mean = mean.toLowerCase();
|
||||
for (String rm : new String[] {"*","."}) {
|
||||
if (mean.contains(rm)) {
|
||||
mean = "";
|
||||
|
|
|
@ -31,7 +31,6 @@ package org.x4o.fc18.zion7;
|
|||
public class TestFireWalker implements FourCornerZionStenoLexerFire.Adapter {
|
||||
|
||||
int currentLine;
|
||||
int currentColumn;
|
||||
int scanBlockStart;
|
||||
int scanBlockStop;
|
||||
int scanMatchPoint;
|
||||
|
@ -44,7 +43,6 @@ public class TestFireWalker implements FourCornerZionStenoLexerFire.Adapter {
|
|||
|
||||
public void reset() {
|
||||
currentLine = 0;
|
||||
currentColumn = 0;
|
||||
scanBlockStart = 0;
|
||||
scanMatchPoint = 0;
|
||||
scanMatchPoint = 0;
|
||||
|
@ -57,11 +55,6 @@ public class TestFireWalker implements FourCornerZionStenoLexerFire.Adapter {
|
|||
currentLine = line;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fireStateColumn(int column) {
|
||||
currentColumn = column;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fireStateScannerMatch(int blockStart, int blockStop, int matchPoint, int idxFirst, int idxLast) {
|
||||
scanBlockStart = blockStart;
|
||||
|
|
Loading…
Reference in a new issue