DESCRIPTION
You will find more infomation in our wiki <http://padre.perlide.org/trac/wiki/Features/EditPatch/> pages.A very simplistic tool, only works on open saved files, in the Padre editor.
Patch a single file, in the editor with a patch/diff file that is also open.
Diff between two open files, the resulting patch file will be in Unified form.
Diff a single file to svn, only display files that are part of an SVN already, the resulting patch file will be in Unified form.
All results will be a new Tab.
METHODS
new
Constructor. Should be called with $main by "Patch::load_dialog_main()".run
"run" configures the dialogue for your environmentset_up
"set_up" configures the dialogue for your environmenton_action
Event handler for action, adjust dialogue accordinglyon_against
Event handler for against, adjust dialogue accordinglyprocess_clicked
Event handler for process_clicked, perform your chosen action, all results go into a new tab in editor.current_files
extracts file info from Padre about all open files in editorapply_patch
A convenience method to apply patch to chosen file.uses Text::Patch
make_patch_diff
A convenience method to generate a patch/diff file from two selected files.uses Text::Diff
test_svn
test for a local copy of svn in Path and version greater than 1.6.2.make_patch_svn
A convenience method to generate a patch/diff file from a selected file and svn if applicable, ie file has been checked out.file2_list_type
composed methodfilename_url
composed methodset_selection_file1
composed methodset_selection_file2
composed methodfile1_list_svn
composed methodfile2_list_patch
composed methodfile_lists_saved
composed methodBUGS AND LIMITATIONS
List Order is that of load order, if you move your Tabs the List Order will not follow suite.If you have multiple files open with same name but with different paths only the first will get matched.
LICENSE AND COPYRIGHT
Copyright 2008-2013 The Padre development team as listed in Padre.pm.This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.
The full text of the license can be found in the LICENSE file included with this module.