Rechercher une page de manuel
Padre::DB::LastPositionInFile.3pm
Langue: en
Version: 2010-06-02 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Padre::DB::LastPositionInFile - db table keeping last position in a fileSYNOPSIS
Padre::DB::LastPositionInFile->set_last_pos($file, $pos); my $pos = Padre::DB::LastPositionInFile->get_last_pos($file);
DESCRIPTION
This class allows storing in Padre's database the last cursor position in a file. This is useful in order to put the cursor back to where it was when re-opening this file later on.PUBLIC METHODS
Accessors
The following accessors are automatically created by "ORLite":- name()
- position()
Class methods
The following subs are automatically created by ORLite.- select()
- count()
- new()
- create()
- insert()
- delete()
- truncate()
set_large_pos
set_large_pos( $file, $pos )
Record $pos as the last known cursor position in $file.
get_large_pos
get_large_pos( $file )
Return the last known cursor position for $file. Return "undef" if no position was recorded for this file.
COPYRIGHT & LICENSE
Copyright 2008-2010 The Padre development team as listed in Padre.pm.This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre