App-Codit

 view release on metacpan or  search on metacpan

lib/App/Codit/ConfigVariables.pod  view on Meta::CPAN


=item B<-autotool> in L<Tk::AppWindow::Ext::ToolBar>

Default value 1.

Specifies if the toolbar items of all extensions should be loaded automatically.

=item B<-commands> in L<Tk::AppWindow>

Defines commands to be used in your application. It takes a paired list of
command names and callbacks as parameter.

 my $app = $k::AppWindw->new(
    -commands => [
       do_something1 => ['method', $obj],
       do_something2 => sub { return 1 },
    ],
 );

Only available at create time.

lib/App/Codit/Ext/CoditMDI.pm  view on Meta::CPAN

	return unless defined $doc;
	$self->docGet($doc)->replace(@_);
}

sub keyReleased {
#	my ($self, $name, $key) = @_;
}

=back

Macros are callbacks executed in the background. For each line in the document the macro is linked to,
the callback is executed with a reference to the text widget and the line number as parameter.
the macro ends after the last line has been processed. Codit uses macro callback to do tasks like show
leading and trailing tabs and spaces and reparing indentation.

=over 4

=item B<macroGet>I<($doc, $name)>

Returns a reference to the macro object $name belonging to $doc.



( run in 0.337 second using v1.01-cache-2.11-cpan-8d75d55dd25 )