1Padre::DB::LastPositionUIsneFrilCeo(n3t)ributed Perl DocPuamdernet:a:tDiBo:n:LastPositionInFile(3)
2
3
4
6 Padre::DB::LastPositionInFile - db table keeping last position in a
7 file
8
10 Padre::DB::LastPositionInFile->set_last_pos($file, $pos);
11 my $pos = Padre::DB::LastPositionInFile->get_last_pos($file);
12
14 This class allows storing in Padre's database the last cursor position
15 in a file. This is useful in order to put the cursor back to where it
16 was when re-opening this file later on.
17
19 Accessors
20 The following accessors are automatically created by "ORLite":
21
22 name()
23 position()
24
25 Class methods
26 The following subs are automatically created by ORLite.
27
28 select()
29 count()
30 new()
31 create()
32 insert()
33 delete()
34 truncate()
35
36 "set_large_pos"
37 set_large_pos( $file, $pos )
38
39 Record $pos as the last known cursor position in $file.
40
41 "get_large_pos"
42 get_large_pos( $file )
43
44 Return the last known cursor position for $file. Return "undef" if no
45 position was recorded for this file.
46
48 Copyright 2008-2010 The Padre development team as listed in Padre.pm.
49
50 This program is free software; you can redistribute it and/or modify it
51 under the same terms as Perl itself.
52
53 The full text of the license can be found in the LICENSE file included
54 with this module.
55
56
57
58perl v5.12.1 2010-06-11 Padre::DB::LastPositionInFile(3)