fix bug where tab width was determined based on screen column instead of line virtual column

This commit is contained in:
josh committed 2016-12-29 19:50:16 -05:00
1 parent d201068428
commit 8b2e2a1f6d
1 file changed
+1 -1
+1 -1
View File
@@ -35,7 +35,7 @@ void BufferPane::walk_line(const Buffer::Iterator & start_of_line, std::function
if (code_point == '\t')
{
uint8_t tabstop = m_buffer->tabstop();
c_width = tabstop - screen_column % tabstop;
c_width = tabstop - virtual_column % tabstop;
}
else
{