App-Codit
view release on metacpan or search on metacpan
lib/App/Codit.pm view on Meta::CPAN
Specifies the minimum word length for an addition to the database.
=item Switch B<-contentactivedelay>
Specifies the delay in ms between the moment the user stops typing and the moment an
auto complete suggestion list pops up.
=item Switch B<-contentautobrackets>
Boolean. If set, Every time you type a (, {, {, ' or " it's counterpart will be placed
right after it and the insert cursor in between.
=item Switch B<-contentautocomplete>
Boolean. If set, auto complete is on.
=item Switch B<-contentautoindent>
Boolean. If set, auto indent is on.
=item Switch B<-contentbackground>
lib/App/Codit/ConfigVariables.pod view on Meta::CPAN
Specifies the minimum word length for an addition to the database.
=item B<-contentactivedelay> in L<App::Codit>
Specifies the delay in ms between the moment the user stops typing and the moment an
auto complete suggestion list pops up.
=item B<-contentautobrackets> in L<App::Codit>
Boolean. If set, Every time you type a (, {, {, ' or " it's counterpart will be placed
right after it and the insert cursor in between.
=item B<-contentautocomplete> in L<App::Codit>
Boolean. If set, auto complete is on.
=item B<-contentautoindent> in L<App::Codit>
Boolean. If set, auto indent is on.
=item B<-contentbackground> in L<App::Codit>
lib/App/Codit/Plugins/Critic.pm view on Meta::CPAN
)->pack(@padding, -fill => 'x');
my $txt = $sa->Scrolled('ROText',
-scrollbars => 'oe',
-width => 80,
-wrap => 'word',
)->pack(@padding, -expand => 1, -fill => 'both');
$self->{TXT} = $txt;
$txt->tagConfigure('link', -foreground => $self->configGet('-linkcolor'));
$txt->tagBind('link', '<Enter>', sub { $txt->configure('-cursor', 'hand1')});
$txt->tagBind('link', '<Leave>', sub { $txt->configure('-cursor', 'xterm')});
$txt->tagBind('link', '<ButtonRelease-1>', [$self, 'linkClick', Ev('x'), Ev('y')]);
$self->ReConfigure;
return $self;
}
sub Clear {
my $self = shift;
my $txt = $self->{TXT};
$txt->delete('0.0', 'end');
lib/App/Codit/Plugins/PerlSubs.pm view on Meta::CPAN
=head1 DESCRIPTION
Easily find the subs in your document.
=head1 DETAILS
PerlSubs scans the current selected document for lines that begin
with 'sub someName' and displays it in a list with the line number.
The list is refreshed after an edit.
When you click on and item in the list, the insert cursor is moved to that
line and it is scrolled into visibility.
Both colums are sizable and sortable.
=cut
sub new {
my $class = shift;
my $self = $class->SUPER::new(@_);
return undef unless defined $self;
lib/App/Codit/Plugins/Sessions.pm view on Meta::CPAN
=head1 DESCRIPTION
Manage your sessions. Saves your named session on exit and reloads it on start.
=head1 DETAILS
The sessions plugin allows you to save a collection of documents as a session.
When re-opening the session the documents are loaded in the exact order as they
were when the session was closed. Also the syntax option, tab size, indent style,
bookmarks and insert cursor position are saved. The only thing that is lost is your
undo stack.
The sessions plugin also saves the following from plugins if they are loaded:
=over 4
=item The working folder from the Console plugin
=item The working folder from the FileBrowser plugin
( run in 0.696 second using v1.01-cache-2.11-cpan-84e82930d8c )