mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Reverted CodeDocument::replaceAllContent, and added an applyChanges() method.
This commit is contained in:
parent
50e659a37b
commit
9a89d815cc
3 changed files with 13 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ void SourceCodeDocument::reloadInternal()
|
|||
{
|
||||
jassert (codeDoc != nullptr);
|
||||
modDetector.updateHash();
|
||||
codeDoc->replaceAllContent (modDetector.getFile().loadFileAsString());
|
||||
codeDoc->applyChanges (modDetector.getFile().loadFileAsString());
|
||||
codeDoc->setSavePoint();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue