Update dirty flag in a place it was missing
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good

This commit is contained in:
Timothy Warren 2021-04-07 11:35:25 -04:00
parent 6c568dfaac
commit b63c3e49d8

View File

@ -70,11 +70,11 @@ class Document {
{
// Remove line endings when reading the file
$this->rows[] = Row::new($this, rtrim($line), $this->numRows);
// $this->insertRow($this->numRows, rtrim($line), FALSE);
}
fclose($handle);
$this->dirty = false;
$this->selectSyntaxHighlight();
return $this;