From b63c3e49d8a97ce04baa1193ad289c51e93ede27 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Wed, 7 Apr 2021 11:35:25 -0400 Subject: [PATCH] Update dirty flag in a place it was missing --- src/Document.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Document.php b/src/Document.php index 8958374..c17f6d4 100644 --- a/src/Document.php +++ b/src/Document.php @@ -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;