codetools: GetSmartHint: ctnSetType: limitless

git-svn-id: trunk@49836 -
This commit is contained in:
mattias 2015-09-16 08:23:22 +00:00
parent ca9e9967a2
commit fca3ce09ec

View File

@ -2794,10 +2794,10 @@ begin
if (Length(Result) > 0) and (Result[Length(Result)] = ';') then//delete last ";" from set
Delete(Result, Length(Result), 1);
Result += ' = ['+Copy(ProceedWithSmartHint(Self), 4, 1000)+']';
Result += ' = ['+Copy(ProceedWithSmartHint(Self), 4, High(Integer))+']';
SetStr := ProceedWithSmartHint(Self);
if (Length(SetStr) > 2) and (SetStr[2] = '=') then
SetStr := Copy(SetStr, 4, 1000);
SetStr := Copy(SetStr, 4, High(Integer));
if (SetStr <> '') then
Result += ' = ['+SetStr+']';
end;