Further simplify Row->update
This commit is contained in:
parent
8baca1d293
commit
c4f9d67980
@ -256,8 +256,7 @@ class Row {
|
|||||||
|
|
||||||
public function update(): void
|
public function update(): void
|
||||||
{
|
{
|
||||||
$replacement = str_repeat(' ', KILO_TAB_STOP);
|
$this->render = tabs_to_spaces($this->chars);
|
||||||
$this->render = str_replace("\t", $replacement, $this->chars);
|
|
||||||
|
|
||||||
$this->updateSyntax();
|
$this->updateSyntax();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user