mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 08:59:32 +02:00
IdeDebugger: ValueFormatter ord-to-name, parse new_ident = know_ident + 123
This commit is contained in:
parent
17142eaf96
commit
60c85af016
@ -70,6 +70,11 @@ implementation
|
||||
|
||||
{ TIdeDebuggerValueFormatterOrdinalToNameFrame }
|
||||
|
||||
function DoCompareIdents(const Data1, Data2: string): Integer;
|
||||
begin
|
||||
Result := CompareStr(UpperCase(Data1), UpperCase(Data2));
|
||||
end;
|
||||
|
||||
procedure TIdeDebuggerValueFormatterOrdinalToNameFrame.ReadFrom(
|
||||
AFormatter: ILazDbgIdeValueFormatterIntf);
|
||||
var
|
||||
@ -302,6 +307,7 @@ end;
|
||||
procedure TIdeDbgValueFormatterOrdinalToName.Init;
|
||||
begin
|
||||
FNameMap := TNameMap.Create;
|
||||
FNameMap.OnDataCompare := @DoCompareIdents;
|
||||
inherited Init;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user