mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 10:00:34 +02: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'])
|
if (AllComponentText[EndPos] in ['e','E'])
|
||||||
and (EndPos>1)
|
and (EndPos>1)
|
||||||
and (AllComponentText[EndPos-1] in [#10,#13])
|
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))
|
and ((EndPos+3>length(AllComponentText))
|
||||||
or (AllComponentText[EndPos+3] in [#10,#13]))
|
or (AllComponentText[EndPos+3] in [#10,#13]))
|
||||||
then begin
|
then begin
|
||||||
|
@ -3488,7 +3488,7 @@ begin
|
|||||||
true,@OnPopupMenuOpenPFile);
|
true,@OnPopupMenuOpenPFile);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
//if Assigned(OnPopupMenu) then OnPopupMenu(@AddContextPopupMenuItem);
|
if Assigned(OnPopupMenu) then OnPopupMenu(@AddContextPopupMenuItem);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TSourceNotebook.NotebookShowTabHint(Sender: TObject;
|
procedure TSourceNotebook.NotebookShowTabHint(Sender: TObject;
|
||||||
|
Loading…
Reference in New Issue
Block a user