mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 10:49:09 +02:00
+ added possibility to navigate among tabs using Ctrl-PgUp/Ctrl-PgDn
git-svn-id: trunk@46340 -
This commit is contained in:
parent
f8144bb724
commit
2fd6661a9d
@ -399,6 +399,22 @@ begin
|
|||||||
ClearEvent(Event);
|
ClearEvent(Event);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
kbCtrlPgUp:
|
||||||
|
begin
|
||||||
|
if ActiveDef > 0 then
|
||||||
|
Index := Pred (ActiveDef)
|
||||||
|
else
|
||||||
|
Index := Pred (DefCount);
|
||||||
|
ClearEvent(Event);
|
||||||
|
end;
|
||||||
|
kbCtrlPgDn:
|
||||||
|
begin
|
||||||
|
if ActiveDef < Pred (DefCount) then
|
||||||
|
Index := Succ (ActiveDef)
|
||||||
|
else
|
||||||
|
Index := 0;
|
||||||
|
ClearEvent(Event);
|
||||||
|
end;
|
||||||
else
|
else
|
||||||
for I:=0 to DefCount-1 do
|
for I:=0 to DefCount-1 do
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user