mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 08:09:46 +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);
|
||||
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
|
||||
for I:=0 to DefCount-1 do
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user