Padre::Wx::Dialog::Patch - The Padre Patch dialog
You will find more infomation in our wiki 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.
Constructor. Should be called with $main by Patch::load_dialog_main().
$main
Patch::load_dialog_main()
run configures the dialogue for your environment
run
set_up configures the dialogue for your environment
set_up
Event handler for action, adjust dialogue accordingly
Event handler for against, adjust dialogue accordingly
Event handler for process_clicked, perform your chosen action, all results go into a new tab in editor.
extracts file info from Padre about all open files in editor
A convenience method to apply patch to chosen file.
uses Text::Patch
A convenience method to generate a patch/diff file from two selected files.
uses Text::Diff
test for a local copy of svn in Path and version greater than 1.6.2.
A convenience method to generate a patch/diff file from a selected file and svn if applicable, ie file has been checked out.
composed method
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.
BOWTIE <kevin.dawson@btclick.com>
Adam Kennedy <adamk@cpan.org>
Copyright 2008-2012 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.
To install Padre, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Padre
CPAN shell
perl -MCPAN -e shell install Padre
For more information on module installation, please visit the detailed CPAN module installation guide.