Provided by: padre_1.00+dfsg-1_all bug

NAME

       Padre::Wx::Dialog::Patch - The Padre Patch dialog

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 environment

   set_up
       "set_up" configures the dialogue for your environment

   on_action
       Event handler for action, adjust dialogue accordingly

   on_against
       Event handler for against, adjust dialogue accordingly

   process_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 editor

   apply_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 method

   filename_url
       composed method

   set_selection_file1
       composed method

   set_selection_file2
       composed method

   file1_list_svn
       composed method

   file2_list_patch
       composed method

   file_lists_saved
       composed method

BUGS 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.

AUTHORS

       BOWTIE <kevin.dawson@btclick.com>

       Adam Kennedy <adamk@cpan.org>

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.