mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-06 22:33:05 +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
|
||||
if NewNode<>nil then begin
|
||||
case NewNode.Desc of
|
||||
ctnVarDefinition, ctnTypeDefinition, ctnConstDefinition:
|
||||
ctnVarDefinition, ctnTypeDefinition, ctnConstDefinition,
|
||||
ctnEnumIdentifier:
|
||||
begin
|
||||
case NewNode.Desc of
|
||||
ctnVarDefinition: Result:=Result+'var ';
|
||||
ctnTypeDefinition: Result:=Result+'type ';
|
||||
ctnConstDefinition: Result:=Result+'const ';
|
||||
ctnEnumIdentifier: Result:=Result+'enum ';
|
||||
end;
|
||||
NewTool.MoveCursorToNodeStart(NewNode);
|
||||
NewTool.ReadNextAtom;
|
||||
|
Loading…
Reference in New Issue
Block a user