fix LFM highlightning lost when saving the project sources within CE.

This commit is contained in:
Basile Burg 2014-11-12 13:16:02 +01:00
parent 46aba7c0e4
commit 1713c1c9c2
1 changed files with 1 additions and 3 deletions

View File

@ -175,9 +175,7 @@ begin
Lines.SaveToFile(aFilename);
fFilename := aFilename;
ext := extractFileExt(aFilename);
if dExtList.IndexOf(ext) = -1 then
Highlighter := TxtSyn
else
if dExtList.IndexOf(ext) <> -1 then
Highlighter := D2Syn;
FileAge(fFilename, fFileDate);
fModified := false;