mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-11-04 12:49:42 +01:00 
			
		
		
		
	fixed open package for current unit popup menu item in src edit
git-svn-id: trunk@7814 -
This commit is contained in:
		
							parent
							
								
									eba28f7695
								
							
						
					
					
						commit
						dcdfa8de52
					
				@ -749,7 +749,7 @@ begin
 | 
			
		||||
      if (AllComponentText[EndPos] in ['e','E'])
 | 
			
		||||
      and (EndPos>1)
 | 
			
		||||
      and (AllComponentText[EndPos-1] in [#10,#13])
 | 
			
		||||
      and (AnsiCompareText(copy(AllComponentText,EndPos,3),'END')=0)
 | 
			
		||||
      and (CompareText(copy(AllComponentText,EndPos,3),'END')=0)
 | 
			
		||||
      and ((EndPos+3>length(AllComponentText))
 | 
			
		||||
           or (AllComponentText[EndPos+3] in [#10,#13]))
 | 
			
		||||
      then begin
 | 
			
		||||
 | 
			
		||||
@ -3488,7 +3488,7 @@ begin
 | 
			
		||||
        true,@OnPopupMenuOpenPFile);
 | 
			
		||||
  end;
 | 
			
		||||
 | 
			
		||||
  //if Assigned(OnPopupMenu) then OnPopupMenu(@AddContextPopupMenuItem);
 | 
			
		||||
  if Assigned(OnPopupMenu) then OnPopupMenu(@AddContextPopupMenuItem);
 | 
			
		||||
end;
 | 
			
		||||
 | 
			
		||||
procedure TSourceNotebook.NotebookShowTabHint(Sender: TObject;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user