Constructors

All elements have an id associated to encourage short unique ids for all elements.

Properties

Cached renders.

Write the clean data to the dirty data on apply. This is off by default to avoid accidental destruction.

Write the dirty data to the clean data on snapshot because snapshot assumes you are on a clean machine.

String of text shown on expand or on hover that gives more details.

Clean copy to compare against.

Internal id used in filesystem refs and urls so no spaces or nasty chars please. Please set this yourself if possible.

Current state of the element.

Title, this should make it really clear what the element is about.

Possibly dirty copy to compare against.

memberof

PDiffView

Methods

Overridable universal element initialization implementation.

Overridable render implementation. Results from this must not be cached.

Overridable universal elememnt execution implementation.

The actual diffing implementation.

memberof

VanillaDiffView

Where we will save diff files

User-facing render implementation.

Universal method applicable to all elements for executing their functions. DO NOT OVERRIDE. Please override _run instead which is called internally.

EXPLICITLY Set whether to write the clean data to the dirty data on apply.

EXPLICITLY Set whether to write the not "dirty" data to the original clean data on apply.