Readded the new line column and line reset counters
This commit is contained in:
parent
6e75b1d115
commit
540e204c80
|
@ -489,15 +489,6 @@ public class FourCornerZionStenoLexer {
|
|||
public StenoScannerCDCDEC() {
|
||||
super(FourCornerDotCake.FC_CDC1604_P6.getStart(), FourCornerDotCake.FC_DEC2701_PX0.getStop());
|
||||
}
|
||||
|
||||
// TODO
|
||||
// // Log state changes
|
||||
// if (FCDotCDC1604DashP6._NEWLINE.ordinal() == cdcDECPoint) {
|
||||
// lexer.currLine++;
|
||||
// lexer.currCol = 0;
|
||||
// lexer.fireSignals.fireStateLine(lexer.currLine);
|
||||
// lexer.fireSignals.fireStateColumn(lexer.currCol);
|
||||
// }
|
||||
|
||||
@Override
|
||||
public void process(FourCornerZionStenoLexer lexer, int idxFirst, int idxLast) {
|
||||
|
@ -553,6 +544,10 @@ public class FourCornerZionStenoLexer {
|
|||
if (e19Mode == FCDotDEC0801DashE19.TYPE_WRITER_TTY0001_NL) {
|
||||
decMode = null;
|
||||
pepperMode = null;
|
||||
lexer.currLine++;
|
||||
lexer.currCol = 0;
|
||||
lexer.fireSignals.fireStateLine(lexer.currLine);
|
||||
lexer.fireSignals.fireStateColumn(lexer.currCol);
|
||||
lexer.handler.strobeWord(FourCornerDotCake.FC_TTY0001_NL, 0); // new line
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue