Class: PasteViewer

PasteViewer()

new PasteViewer()

(view) Parse and show paste.
Source:

Methods

(static) getFormat() → {string}

returns the current format
Source:
Returns:
Type
string

(static) getText() → {string}

gets the current cached text
Source:
Returns:
Type
string

(static) hide()

hide parsed text (preview)
Source:

(static) init()

init status manager preloads jQuery elements
Source:

(static) isPrettyPrinted() → {bool}

returns whether the current view is pretty printed
Source:
Returns:
Type
bool

(static) run()

show/update the parsed text (preview)
Source:

(static) setFormat(newFormat)

sets the format in which the text is shown
Parameters:
Name Type Description
newFormat string the new format
Source:

(static) setText(newText)

sets the text to show
Parameters:
Name Type Description
newText string the text to show
Source: