Skip to content

Commit

Permalink
Fixed wrong local search results after saving
Browse files Browse the repository at this point in the history
  • Loading branch information
focus-editor committed May 2, 2024
1 parent e8a08d7 commit e8d927d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions FOCUS-CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
+ Fixed a massive slowdown on some systems due to problematic OpenGL drivers
+ Fixed buffer duplication when jumping to build errors on Windows
+ Fixed editor freeze on large workspace reloads
+ Fixed wrong local search results after stripping trailing whitespace in some cases
+ Other changes:
+ Made the fuzzy search in the command dialog more intuitive
+ CRLF is now stripped from build output before displaying
Expand Down
1 change: 1 addition & 0 deletions src/buffer.jai
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@ strip_trailing_whitespace :: (using buffer: *Buffer, buffer_id: s64) {
bytes.count = stripped.count;
unlock(*content_lock);

dirty = true;
rescan_for_lines(buffer);

for * editor, editor_id : open_editors {
Expand Down

0 comments on commit e8d927d

Please sign in to comment.