mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-28 11:20:53 +00:00
Changed: Minor changes
This commit is contained in:
parent
89155859f0
commit
3812e84d95
1 changed files with 11 additions and 10 deletions
|
@ -432,6 +432,7 @@ public:
|
||||||
{
|
{
|
||||||
// nothing to do
|
// nothing to do
|
||||||
}
|
}
|
||||||
|
|
||||||
void onAdd(uint addIndex, uint refIndex, TStringDiffContext &context)
|
void onAdd(uint addIndex, uint refIndex, TStringDiffContext &context)
|
||||||
{
|
{
|
||||||
TStringInfo si = context.Addition[addIndex];
|
TStringInfo si = context.Addition[addIndex];
|
||||||
|
@ -442,6 +443,7 @@ public:
|
||||||
nlinfo("Added %s at %u", si.Identifier.c_str(), addIndex);
|
nlinfo("Added %s at %u", si.Identifier.c_str(), addIndex);
|
||||||
context.Diff.push_back(si);
|
context.Diff.push_back(si);
|
||||||
}
|
}
|
||||||
|
|
||||||
void onRemove(uint addIndex, uint refIndex, TStringDiffContext &context)
|
void onRemove(uint addIndex, uint refIndex, TStringDiffContext &context)
|
||||||
{
|
{
|
||||||
TStringInfo si = context.Reference[refIndex];
|
TStringInfo si = context.Reference[refIndex];
|
||||||
|
@ -453,6 +455,7 @@ public:
|
||||||
nlinfo("Removed %s at %u", si.Identifier.c_str(), addIndex);
|
nlinfo("Removed %s at %u", si.Identifier.c_str(), addIndex);
|
||||||
context.Diff.push_back(si);
|
context.Diff.push_back(si);
|
||||||
}
|
}
|
||||||
|
|
||||||
void onChanged(uint addIndex, uint refIndex, TStringDiffContext &context)
|
void onChanged(uint addIndex, uint refIndex, TStringDiffContext &context)
|
||||||
{
|
{
|
||||||
TStringInfo si = context.Addition[addIndex];
|
TStringInfo si = context.Addition[addIndex];
|
||||||
|
@ -475,8 +478,6 @@ public:
|
||||||
si.Comments = ucstring(temp) + nl + nl;
|
si.Comments = ucstring(temp) + nl + nl;
|
||||||
context.Diff.push_back(si);
|
context.Diff.push_back(si);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue