1
0
Fork 0
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:
jules 2012-08-19 18:54:23 +01:00
parent 50e659a37b
commit 9a89d815cc
3 changed files with 13 additions and 2 deletions

View file

@ -62,7 +62,7 @@ void SourceCodeDocument::reloadInternal()
{
jassert (codeDoc != nullptr);
modDetector.updateHash();
codeDoc->replaceAllContent (modDetector.getFile().loadFileAsString());
codeDoc->applyChanges (modDetector.getFile().loadFileAsString());
codeDoc->setSavePoint();
}