NAME

App::Codit::Ext::CoditMDI - Multiple Document Interface for App::Codit

SYNOPSIS

my $app = new App::Codit(@options,
   -extensions => ['CoditMDI'],
);
$app->MainLoop;

DESCRIPTION

Inherits Tk::AppWindow::Ext::MDI.

This is a specially crafted multiple document interface for l<App::Codit>.

CONFIG VARIABLES

-doc_autoindent

Sets and returns the autoindent option of the currently selected document.

-doc_wrap

Sets and returns the autoindent option of the currently selected document.

-doc_view_folds

Sets and returns the showfolds option of the currently selected document.

-doc_view_numbers

Sets and returns the shownumbers option of the currently selected document.

-doc_view_status

Sets and returns the showstatus option of the currently selected document.

COMMANDS

-doc_autoindent

Sets and returns the autoindent option of the currently selected document.

-doc_find

Pops up the search bar in the currently selected document.

-doc_replace

Pops up the search and replace bar in the currently selected document.

-doc_wrap

Sets and returns the wrap option of the currently selected document.

-edit_delete, $begin, $end

Deletes text in the currently selected document. It takes two indices as parameters.

-edit_insert, $index, $text

Inserts text in the currently selected document. It takes an index and the text parameters.

-modified

Dummy command. It is called after every edit. It gets the document name and location of the edit as parameters. It is only there so plugins can hook on to it.

METHODS

editDelete($begin, $end)

Deletes text in the currently selected document. It takes two indices as parameters.

editInsert($index, $text)

Inserts text in the currently selected document. It takes an index and the text parameters.

LICENSE

Same as Perl.

AUTHOR

Hans Jeuken (hanje at cpan dot org)

BUGS

Unknown. If you find any, please contact the author.

SEE ALSO

Tk::AppWindow::Ext::MDI