FireGPG.Selection

Class to handle selection

Summary
FireGPG.SelectionClass to handle selection
Functions
getFramefind a select in a frame
getReturn current selection.
washTransform HTML to usable text to encrypt
isEditableReturn true if the selection is editable.
setModify the selection, or show a dialog with the text if it’s not possible.

Functions

getFrame

getFrame: function(frames)

find a select in a frame

Parameters

framesThe frame

get

get: function()

Return current selection.

wash

wash: function(text)

Transform HTML to usable text to encrypt

Parameters

textThe text to wash

isEditable

isEditable: function()

Return true if the selection is editable.

set

set: function(text,
infoSignAndCrypt)

Modify the selection, or show a dialog with the text if it’s not possible.

Parameters

textThe text to set.
infoSignAndCryptOptional.  Informations about a signature into a decrypted text.
getFrame: function(frames)
find a select in a frame
get: function()
Return current selection.
wash: function(text)
Transform HTML to usable text to encrypt
isEditable: function()
Return true if the selection is editable.
set: function(text,
infoSignAndCrypt)
Modify the selection, or show a dialog with the text if it’s not possible.
Close