mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-27 16:39:08 +00:00
11 lines
191 B
Perl
11 lines
191 B
Perl
|
sub forall {
|
||
|
my ($code) = shift;
|
||
|
my ($i) = $VI::StartLine-1;
|
||
|
while (++$i <= $VI::StopLine) {
|
||
|
$_ = $curscr->GetLine($i);
|
||
|
VI::SetLine($VI::ScreenId, $i, $_) if(&$code);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
1;
|