diff options
author | Nathan Vegdahl | 2021-07-24 00:23:16 +0000 |
---|---|---|
committer | Nathan Vegdahl | 2021-07-24 00:23:16 +0000 |
commit | 43594049ddd6b0ec3794807016ab3cd2a6a38834 (patch) | |
tree | 56e0bd5b7ac016937612aa650de2f06041a2e258 /helix-view | |
parent | 427ae6ac6cfdd2a89580692dadd45f1a8dc02d2c (diff) | |
parent | bda4f5c1cdd2f84a06647f7dce45a8f6d06401ae (diff) |
Merge branch 'master' into great_line_ending_and_cursor_range_cleanup
Diffstat (limited to 'helix-view')
-rw-r--r-- | helix-view/src/document.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs index 2f2b7479..84de4c43 100644 --- a/helix-view/src/document.rs +++ b/helix-view/src/document.rs @@ -596,6 +596,7 @@ impl Document { let transaction = helix_core::diff::compare_ropes(self.text(), &rope); self.apply(&transaction, view_id); self.append_changes_to_history(view_id); + self.reset_modified(); // Detect indentation style and line ending. self.detect_indent_style(); |