mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 04:18:22 +01:00
identifier completion: fixed painting const values
git-svn-id: trunk@16467 -
This commit is contained in:
parent
094be7aab5
commit
5f5edc3e77
@ -316,8 +316,9 @@ begin
|
||||
if ANode<>nil then
|
||||
s:=' = '+IdentItem.Tool.ExtractNode(ANode,[])
|
||||
else begin
|
||||
s:=IdentItem.Tool.ExtractCode(ItemNode.StartPos+length(s),
|
||||
ItemNode.EndPos,[]);
|
||||
s:=IdentItem.Tool.ExtractCode(ItemNode.StartPos
|
||||
+GetIdentLen(@IdentItem.Tool.Src[ItemNode.StartPos]),
|
||||
ItemNode.EndPos,[]);
|
||||
end;
|
||||
s:=copy(s,1,50);
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user