1Padre::Document::Perl(3U)ser Contributed Perl DocumentatiPoandre::Document::Perl(3)
2
3
4
5   get_command
6       Returns the full command (interpreter, file name (maybe temporary) and
7       arguments for both of them) for running the current document.
8
9       Accepts one optional argument: a debug flag.
10
11   beginner_check
12       Run the beginner error checks on the current document.
13
14       Shows a pop-up message for the first error.
15
16       Always returns 1 (true).
17
18   "autocomplete"
19       This method is called on two events:
20
21       Manually using the "autocomplete-action" (via menu, toolbar, hot key)
22       on every char typed by the user if the "autocomplete-always"
23       configuration option is active
24
25       Arguments: The event object (optional)
26
27       Returns the prefix length and an array of suggestions. "prefix_length"
28       is the number of characters left to the cursor position which need to
29       be replaced if a suggestion is accepted.
30
31       WARNING: This method runs very often (on each keypress), keep it as
32       efficient
33                and fast as possible!
34
35   event_on_char
36       This event fires once for every char which should be added to the
37       editor window.
38
39       Typing this line fired it about 41 times!
40
41       Arguments: Current editor object, current event object
42
43       Returns nothing useful.
44
45       Notice: The char being typed has not been inserted into the editor at
46       the run
47               time of this method. It could be read using
48       "$event->GetUnicodeKey"
49
50       WARNING: This method runs very often (on each keypress), keep it as
51       efficient
52                and fast as possible!
53
54   "project_tagsfile"
55       No arguments.
56
57       Returns the full path and file name of the Perl tags file for the
58       current document.
59
60   "project_create_tagsfile"
61       Creates a tags file for the project of the current document. Includes
62       all Perl source files within the project excluding blib.
63
64
65
66perl v5.12.1                      2010-06-11          Padre::Document::Perl(3)
Impressum