* Patch and fix for 1313 from Tomáš Gregoric

git-svn-id: trunk@7981 -
This commit is contained in:
marc 2005-10-22 13:09:40 +00:00
parent 3bb8fa7c33
commit 4a42afcb2f
3 changed files with 3 additions and 1 deletions

View File

@ -2269,7 +2269,7 @@ begin
{$ENDIF} {$ENDIF}
end; end;
{$IFDEF SYN_LAZARUS} {$IFDEF SYN_LAZARUS}
if (X < fGutterWidth) then begin if (X < fGutterWidth) and (Button=mbLeft) then begin
Include(fStateFlags, sfPossibleGutterClick); Include(fStateFlags, sfPossibleGutterClick);
DoOnGutterClick(X, Y); DoOnGutterClick(X, Y);
end; end;

View File

@ -3331,6 +3331,7 @@ Begin
else else
Pages.Add('unit1'); Pages.Add('unit1');
PageIndex := 0; // Set it to the first page PageIndex := 0; // Set it to the first page
PopupMenu := SrcPopupMenu;
if EditorOpts.ShowTabCloseButtons then if EditorOpts.ShowTabCloseButtons then
Options:=Options+[nboShowCloseButtons] Options:=Options+[nboShowCloseButtons]
else else

View File

@ -273,6 +273,7 @@ type
property OnResize; property OnResize;
property Options; property Options;
property PageIndex; property PageIndex;
property PopupMenu;
property ShowTabs; property ShowTabs;
end; end;