Class: TextInsert
Defined in: | lib/Types/TextTypes.coffee |
Inherits: | types.Insert |
Overview
Extends the basic Insert type to an operation that holds a text value
Instance Method Summary
- # (void) getLength() Retrieve the effective length of the $content of this operation.
- # (void) val(current_position) The result will be concatenated with the results from the other insert operations in order to retrieve the content of the engine.
- # (void) _encode() Convert all relevant information of this operation to the json-format.
Constructor Details
#
(void)
constructor(content, uid, prev, next, origin)
Instance Method Details
#
(void)
getLength()
Retrieve the effective length of the $content of this operation.
#
(void)
val(current_position)
The result will be concatenated with the results from the other insert operations in order to retrieve the content of the engine.
#
(void)
_encode()
Convert all relevant information of this operation to the json-format. This result can be send to other clients.