This commit is contained in:
Nathan Sobo
2014-02-27 15:34:19 -08:00
parent f20c55f849
commit 761fcde654

View File

@@ -297,6 +297,7 @@ class DisplayBuffer extends Model
[startScreenRow, endScreenRow] = @rowMap.screenRowRangeForBufferRow(row)
for screenRow in [startScreenRow...endScreenRow]
screenLine = @screenLines[screenRow]
unless screenLine?
throw new BufferToScreenConversionError "No screen line exists when converting buffer row to screen row",
softWrapEnabled: @getSoftWrap()