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

This commit is contained in:
Timothy Warren 2021-04-07 11:35:25 -04:00
parent 6c568dfaac
commit b63c3e49d8
1 changed files with 1 additions and 1 deletions

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;