Zim::GUI::VersionsDialog.3pm

Langue: en

Version: 2009-03-16 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Zim::GUI::VersionsDialog - versions dialog for zim

DESCRIPTION

This modules contains the versions dialog for zim. It is autoloaded when needed.

METHODS

"show()"
Present the dialog.
"Diff(PAGE, VERSION1, VERSION2)"
Show the diff between VERSION1 and VERSION2 for PAGE in an external editor. Without PAGE show the complete diff, without VERSION2 show the diff against the current version.
"Compare(PAGE, VERSION1, VERSION2)"
Show VERSION1 and VERSION2 of the page side by side in a specialized application like ``meld'' or ``gvim -d''.
"Annotate(PAGE, VERSION)"
Show the annotated source in an external editor. If VERSION is undefined the current version is shown.
"Restore(PAGE, VERSION)"
Prompt the user whether to revert PAGE to VERSION and loose all changes. If VERSION is undefined we prompt to revert to latest saved version.
"gdiff(PAGE, PATH, V1, V2)"
Private method used by "Diff()", can be overloaded.
"gcompare(PAGE, PATH, V1, V2)"
Private method used by "Compare()", can be overloaded.
"gannotate(PAGE, PATH, VERSION)"
Private method used by "Annotate()", can be overloaded.
"grevert(PAGE, PATH, VERSION)"
Private method used by "Restore()", can be overloaded.

AUTHOR

Jaap Karssenberg (Pardus) <pardus@cpan.org>

Copyright (c) 2008 Jaap G Karssenberg. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Zim, Zim::GUI