diff --git a/src/Row.php b/src/Row.php index 122f995..8d97d31 100644 --- a/src/Row.php +++ b/src/Row.php @@ -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(); }