mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 02:49:25 +02:00
Fix comments, formatting
git-svn-id: trunk@43726 -
This commit is contained in:
parent
63668e5e4c
commit
0e189386d9
@ -354,7 +354,7 @@ type
|
||||
const OnQuickSyntaxCheckEvent: TModalHandledFunction;
|
||||
AsLast: boolean = false);
|
||||
procedure RemoveHandlerOnQuickSyntaxCheck(
|
||||
const OnQuickSyntaxCheckEvent: TModalHandledFunction);
|
||||
const OnQuickSyntaxCheckEvent: TModalHandledFunction);
|
||||
end;
|
||||
|
||||
var
|
||||
|
@ -597,7 +597,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
// ConvertUnit .dfm file to .lfm file (without context type checking)
|
||||
// Convert Unit .dfm file to .lfm file (without context type checking)
|
||||
if FileExistsUTF8(LfmFilename) then begin
|
||||
DFMConverter:=TDFMConverter.Create;
|
||||
try
|
||||
@ -607,9 +607,10 @@ begin
|
||||
finally
|
||||
DFMConverter.Free;
|
||||
end;
|
||||
// Change encoding to UTF-8
|
||||
// Read pascal unit code in.
|
||||
Result:=LoadCodeBuffer(TempLFMBuffer,LfmFilename,
|
||||
[lbfCheckIfText,lbfUpdateFromDisk],true);
|
||||
// Change encoding to UTF-8
|
||||
if TempLFMBuffer.DiskEncoding<>EncodingUTF8 then begin
|
||||
fOwnerConverter.fSettings.AddLogLine(Format(lisConvDelphiChangedEncodingToUTF8,
|
||||
[TempLFMBuffer.DiskEncoding]));
|
||||
|
Loading…
Reference in New Issue
Block a user