See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview
internal package Foswiki::UI::RDiff UI functions for diffing.
StaticMethod diff( $session ) diff command handler. This method is designed to be invoked via the UI::run method.
Renders the differences between version of a topic
| topic | topic that we are showing the differences of | |
| rev1 | the higher revision | |
| rev2 | the lower revision | |
| render | the rendering style {sequential, sidebyside, raw, debug} | (preferences) DIFFRENDERSTYLE, sequential |
| type | {history, diff, last} history diff, version to version, last version to previous | history |
| context | number of lines of context | |
| skin | the skin(s) to use to display the diff |
StaticMethod revisionsAround($session, $topicObject, $requestedRev, $showRev, $maxRev) → $output Calculate the revisions spanning the current one for display in the bottom bar.
This topic: System > Category > DeveloperDocumentationCategory > PerlDoc
Topic revision: 2024-12-23, UnknownUser
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback