1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-22 15:58:52 -05:00

Keyboard navigation doesn't work right unless there's a null token to end the line.

https://www.filebot.net/forums/viewtopic.php?f=6&t=9511&p=40230#p40230
This commit is contained in:
Reinhard Pointner 2018-12-01 23:29:14 +07:00
parent 7c7a2a54bf
commit cf3bc3802b

View File

@ -70,6 +70,7 @@ public class FormatExpressionTokenMaker extends TokenMakerBase {
Segment groovySegment = new Segment(segment.array, segment.getBeginIndex() + start, end - start);
addToken(groovyTokenMaker.getTokenList(groovySegment, initialTokenType, startOffset + start));
}
addNullToken(); // keyboard navigation doesn't work right unless there's a null token to end the line
addLevelToken(level);
break;
default: