1
package Padre::QuickFixProvider;
11
# No need to override this
17
my $self = bless {}, $class;
23
# Returns the quick fix list
26
my ( $self, $doc, $editor ) = @_;
27
warn "quick_fix_list, You need to override this to do something useful with quick fix";
37
Padre::QuickFixProvider - Padre Quick Fix Provider API
41
=head2 Quick Fix (Shortcut: Ctrl-2)
43
This opens a dialog that lists different actions that relate to
44
fixing the code at the cursor. It will call B<event_on_quick_fix> method
45
passing a L<Padre::Wx::Editor> object on the current Padre document.
46
Please see the following sample implementation:
49
my ($self, $editor) = @_;
71
The B<Padre::QuickFixProvider> class provides a base class, default implementation
72
and API documentation for quick fix provision support in L<Padre>.
74
# Copyright 2008-2009 The Padre development team as listed in Padre.pm.
76
# This program is free software; you can redistribute it and/or
77
# modify it under the same terms as Perl 5 itself.