mirror of
https://github.com/curioustorvald/Terrarum-sans-bitmap.git
synced 2026-03-07 11:51:50 +09:00
fix: tokeniser fails on the line starts with indentation then colour codes
This commit is contained in:
@@ -711,11 +711,16 @@ class MovableType(
|
||||
val c0 = it
|
||||
|
||||
if (c0.isColourCode()) {
|
||||
if (glue != 0)
|
||||
sendoutGlue()
|
||||
|
||||
colourCode = c0
|
||||
appendToBuffer(c0)
|
||||
}
|
||||
else if (c0 == 0x100000) {
|
||||
colourCodeRemovalRequested = true
|
||||
if (glue != 0)
|
||||
sendoutGlue()
|
||||
appendToBuffer(c0)
|
||||
}
|
||||
else if (c0.isControlIn()) {
|
||||
|
||||
Reference in New Issue
Block a user