summaryrefslogtreecommitdiff
path: root/AK/LogStream.cpp
diff options
context:
space:
mode:
authorItamar <itamar8910@gmail.com>2021-03-05 16:42:32 +0200
committerAndreas Kling <kling@serenityos.org>2021-03-06 09:40:33 +0100
commitfa4d9da2373995f16bd6a494f0e39077d11096d3 (patch)
tree904e3276763ea38d61e32bf23c0700edbe465ead /AK/LogStream.cpp
parent74070ef74dae78fed179f80ee18f5b079b8843ef (diff)
downloadserenity-fa4d9da2373995f16bd6a494f0e39077d11096d3.zip
HackStudio: Make sure project files are created with an absolute path
This fixes an issue were "Find in Files" would not use the up-to-date content of a file with unsaved changes. The issue existed because 'FindInFilesWidget' uses Project::for_each_text_file, which retrieves files by their absolute path. However, when a file is opened in an Editor, it is created with a relative path. This caused us to store two ProjectFile objects that refer to the same file - one with a relative path and one with an absolute path.
Diffstat (limited to 'AK/LogStream.cpp')
0 files changed, 0 insertions, 0 deletions