App-Codit

 view release on metacpan or  search on metacpan

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

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.

=item B<modified>, I<$doc>, I<$index> in L<App::Codit::Ext::CoditMDI>

Called every time you make an edit, it gets a document name and an index as parameters.
It checks if there are any macros that should be restarted.
Many plugins hook on to this command.

=item B<plugsdialog> in L<Tk::AppWindow::Ext::Plugins>

Creates a dialog window in which the user can select and unselect plugins

=item B<pop_hist_menu> in L<Tk::AppWindow::Ext::MDI>

Is called when the file menu is opened in the menubar. It populates the
'Open recent' menu with the current history.

=item B<quit> in L<Tk::AppWindow>

Calls the CmdQuit method. See there.

=item B<session_dialog> in L<App::Codit::Plugins::Sessions>

Pops the dialog for managing sessions.

=item B<session_fill_menu> in L<App::Codit::Plugins::Sessions>

Called when the Session menu in the menu bar is opened.

=item B<session_new> in L<App::Codit::Plugins::Sessions>

Closes current session and creates a new, unnamed, one.

=item B<session_open> in L<App::Codit::Plugins::Sessions>



( run in 0.558 second using v1.01-cache-2.11-cpan-5b529ec07f3 )