home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 December (Special) / PCWorld_2005-12_Special_cd.bin / Bezpecnost / lsti / lsti.exe / framework-2.5.exe / vi_comment.al < prev    next >
Text File  |  2005-04-27  |  527b  |  15 lines

  1. # NOTE: Derived from lib/Term/ReadLine/Zoid/ViCommand.pm.
  2. # Changes made here will be lost when autosplit is run again.
  3. # See AutoSplit.pm.
  4. package Term::ReadLine::Zoid::ViCommand;
  5.  
  6. #line 268 "lib/Term/ReadLine/Zoid/ViCommand.pm (autosplit into blib/lib/auto/Term/ReadLine/Zoid/ViCommand/vi_comment.al)"
  7. sub vi_comment {
  8.     $_[0]{lines}[ $_[0]{pos}[1] ] = $_[0]{config}{comment_begin}
  9.         . ' ' . $_[0]{lines}[ $_[0]{pos}[1] ];
  10.     $_[0]{poss}[0] += 2 unless $_[0]{poss}[1];
  11. }
  12.  
  13. # end of Term::ReadLine::Zoid::ViCommand::vi_comment
  14. 1;
  15.