Further simplify Row->update

This commit is contained in:
Timothy Warren 2019-11-08 13:32:31 -05:00
parent 8baca1d293
commit c4f9d67980
1 changed files with 1 additions and 2 deletions

View File

@ -256,8 +256,7 @@ class Row {
public function update(): void
{
$replacement = str_repeat(' ', KILO_TAB_STOP);
$this->render = str_replace("\t", $replacement, $this->chars);
$this->render = tabs_to_spaces($this->chars);
$this->updateSyntax();
}