Хууууй

This commit is contained in:
Igor Timofeev
2017-06-06 11:19:21 +03:00
parent f0b646ad5b
commit 205c78f3bb
6 changed files with 59 additions and 37 deletions

View File

@@ -127,7 +127,7 @@ function syntax.highlightString(x, y, str, indentationWidth)
if x > buffer.drawLimit.x2 then
break
elseif x >= buffer.drawLimit.x1 then
bufferIndex = bufferIndex or buffer.getBufferIndexByCoordinates(x, y)
bufferIndex = bufferIndex or buffer.getIndexByCoordinates(x, y)
buffer.newFrame[bufferIndex + 1] = colors[symbol] or syntax.colorScheme.text
buffer.newFrame[bufferIndex + 2] = symbols[symbol]
bufferIndex = bufferIndex + 3