mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 21:19:14 +02:00
MG: added smart hints in debug mode
git-svn-id: trunk@3619 -
This commit is contained in:
parent
feb9086ada
commit
193e9e1936
@ -1237,12 +1237,14 @@ begin
|
|||||||
// identifier category and identifier
|
// identifier category and identifier
|
||||||
if NewNode<>nil then begin
|
if NewNode<>nil then begin
|
||||||
case NewNode.Desc of
|
case NewNode.Desc of
|
||||||
ctnVarDefinition, ctnTypeDefinition, ctnConstDefinition:
|
ctnVarDefinition, ctnTypeDefinition, ctnConstDefinition,
|
||||||
|
ctnEnumIdentifier:
|
||||||
begin
|
begin
|
||||||
case NewNode.Desc of
|
case NewNode.Desc of
|
||||||
ctnVarDefinition: Result:=Result+'var ';
|
ctnVarDefinition: Result:=Result+'var ';
|
||||||
ctnTypeDefinition: Result:=Result+'type ';
|
ctnTypeDefinition: Result:=Result+'type ';
|
||||||
ctnConstDefinition: Result:=Result+'const ';
|
ctnConstDefinition: Result:=Result+'const ';
|
||||||
|
ctnEnumIdentifier: Result:=Result+'enum ';
|
||||||
end;
|
end;
|
||||||
NewTool.MoveCursorToNodeStart(NewNode);
|
NewTool.MoveCursorToNodeStart(NewNode);
|
||||||
NewTool.ReadNextAtom;
|
NewTool.ReadNextAtom;
|
||||||
|
Loading…
Reference in New Issue
Block a user