mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-11-04 03:39:48 +01:00 
			
		
		
		
	codetools: fixed GetSmartHint for unit
git-svn-id: trunk@37098 -
This commit is contained in:
		
							parent
							
								
									b4ed549862
								
							
						
					
					
						commit
						15b8f2e5c3
					
				@ -2218,6 +2218,8 @@ begin
 | 
			
		||||
            Result+='public ';
 | 
			
		||||
          ctnClassPublished:
 | 
			
		||||
            Result+='published ';
 | 
			
		||||
          ctnClassClassVar:
 | 
			
		||||
            Result+='class ';
 | 
			
		||||
          else
 | 
			
		||||
            break;
 | 
			
		||||
          end;
 | 
			
		||||
@ -2227,8 +2229,6 @@ begin
 | 
			
		||||
      end;
 | 
			
		||||
    end;
 | 
			
		||||
 | 
			
		||||
    if Node.Parent.Desc = ctnClassClassVar then
 | 
			
		||||
      Result += 'class ';
 | 
			
		||||
    if Node.Desc = ctnGenericName then
 | 
			
		||||
      Node := Node.Parent;
 | 
			
		||||
    case Node.Desc of
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user