mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 23:08:05 +02:00
IDE: Sort a category list in "All options" parser. Issue #29907.
git-svn-id: trunk@52066 -
This commit is contained in:
parent
e466450bbc
commit
e9527743c5
@ -926,6 +926,7 @@ begin
|
||||
fDefines := TStringList.Create;
|
||||
fInvalidOptions := TStringList.Create;
|
||||
fSupportedCategories := TStringList.Create;
|
||||
fSupportedCategories.Sorted := True;
|
||||
fGeneratedOptions := TStringList.Create;
|
||||
fRootOptGroup := TCompilerOptGroup.Create(Self, Nil);
|
||||
end;
|
||||
@ -1050,7 +1051,6 @@ begin
|
||||
else if AnsiStartsStr(Supported, Line) then
|
||||
Category := AddNewCategory(Copy(Line, Length(Supported)+1, Length(Line)));
|
||||
end;
|
||||
fSupportedCategories.Sorted := True;
|
||||
finally
|
||||
sl.Free;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user