App-Codit
view release on metacpan or search on metacpan
lib/App/Codit/Commands.pod view on Meta::CPAN
=item B<doc_case_upper> in L<App::Codit::Ext::CoditMDI>
If there is a selection it turns it to upper case.
Else it only turns the character at the insert position to upper case.
=item B<doc_close> in L<Tk::AppWindow::Ext::MDI>
Takes a document name as parameter and closes it.
If no parameter is specified closes the current selected document.
Returns a boolean for succes or failure.
=item B<doc_delete> in L<App::Codit::Ext::CoditMDI>
Closes the current selected document and deletes the document file from disk.
Use with caution.
=item B<doc_delete_dialog> in L<App::Codit::Ext::CoditMDI>
Same as I<doc_delete> except it first asks nicely if you really want to do that.
=item B<doc_find> in L<App::Codit::Ext::CoditMDI>
Pops up the search bar in the currently selected document.
=item B<doc_fix_indent> in L<App::Codit::Ext::CoditMDI>
Asks for the number of spaces per tab and attempts
to reformat the indentation taking the indentstyle into account.
If a selection exists it will do this for the selection, otherwise it
will scan the whole document.
=item B<doc_get_sel> in L<App::Codit::Ext::CoditMDI>
Returns the begin and end index of the current selection.
=item B<doc_get_text> I<$begin>, I<$end> in L<App::Codit::Ext::CoditMDI>
Returns the text in the current selected document from index $begin to index $end.
=item B<doc_new> in L<Tk::AppWindow::Ext::MDI>
Takes a document name as parameter and creates a new document.
If no parameter is specified an Untitled document is created.
Returns a boolean for succes or failure.
=item B<doc_open> in L<Tk::AppWindow::Ext::MDI>
Takes a filename as parameter and opens it in deferred state.
If no parameter is specified a file dialog is issued.
Returns a boolean for succes or failure.
=item B<doc_remove_trailing> in L<App::Codit::Ext::CoditMDI>
Removes spaces at the end of each line.
If a selection exists it will do this for the selection, otherwise it
will scan the whole document.
=item B<doc_rename> in L<Tk::AppWindow::Ext::MDI>
Takes two document names as parameters and renames the first one to
the second one in the interface.
=item B<doc_replace> in L<App::Codit::Ext::CoditMDI>
Pops up the search and replace bar in the currently selected document.
=item B<doc_save> in L<Tk::AppWindow::Ext::MDI>
Takes a document name as parameter and saves it if it is modified.
If no parameter is specified the current selected document is saved.
Returns a boolean for succes or failure.
=item B<doc_save_all> in L<Tk::AppWindow::Ext::MDI>
Saves all open and modified documents.
Returns a boolean for succes or failure.
=item B<doc_save_as> in L<Tk::AppWindow::Ext::MDI>
Takes a document name as parameter and issues a file dialog to rename it.
If no parameter is specified the current selected document is initiated in the dialog.
Returns a boolean for succes or failure.
=item B<doc_select> in L<Tk::AppWindow::Ext::MDI>
Select an opened document.
=item B<doc_wrap> in L<App::Codit::Ext::CoditMDI>
Sets and returns the wrap option of the currently selected document.
=item B<edit_delete>, I<$begin>, I<$end> in L<App::Codit::Ext::CoditMDI>
Deletes text in the currently selected document. It takes two indices as parameters.
=item B<edit_insert>, I<$index>, I<$text> in L<App::Codit::Ext::CoditMDI>
Inserts text in the currently selected document. It takes an index and a string as parameters.
=item B<edit_replace>, I<$begin>, I<$end>, I<$text> in L<App::Codit::Ext::CoditMDI>
Replaces text in the currently selected document. It takes two indices and a text as parameters.
=item B<git_collapse> in L<App::Codit::Plugins::Git>
Collapses the git document tree and only opens the current selected document, if it is in
the current selected repository.
=item B<git_command> I<$project>, I<$commandstring> in L<App::Codit::Plugins::Git>
Executes the git command in $commandstring for repository $project.
=item B<git_expand> in L<App::Codit::Plugins::Git>
Epxands the git document tree.
=item B<git_open_all> in L<App::Codit::Plugins::Git>
Opens all files in the current selected repository.
=item B<git_remove> I<?$name?> in L<App::Codit::Plugins::Git>
If $name is not specified, $name is the selected document.
Closes $name, Removes it from the current selected repository
and deletes the file from disk. Use with care.
=item B<git_remove_dialog> in L<App::Codit::Plugins::Git>
Same as git_remove but first asks nicely if you really want to do this.
=item B<help> in L<Tk::AppWindow::Ext::Help>
Loads the helpfile in your system's default application or browser.
=item B<key_released>, I<$doc>, I<$key> in L<App::Codit::Ext::CoditMDI>
Dummy command only meant for hooking on by plugins. Called every time a visible character
key was pressed.
( run in 0.573 second using v1.01-cache-2.11-cpan-39bf76dae61 )