Class: TextFramework
Defined in: | lib/Frameworks/TextFramework.coffee |
Overview
Framework for Text Datastructures.
Instance Method Summary
- # (?) getSharedObject()
- # (void) getConnector() Get the initialized connector.
- # (void) getHistoryBuffer()
- # (void) getUserId() Get the UserId from the HistoryBuffer object.
- # (void) val()
- # (void) insertText(pos, content)
- # (void) deleteText(pos, length)
- # (void) bind(textarea)
- # (void) replaceText(text)
- # (void) on()
Constructor Details
#
(void)
constructor(user_id, connector)
Instance Method Details
#
(void)
getConnector()
Get the initialized connector.
#
(void)
getHistoryBuffer()
#
(void)
getUserId()
Get the UserId from the HistoryBuffer object. In most cases this will be the same as the user_id value with which JsonFramework was initialized (Depending on the HistoryBuffer implementation).
#
(void)
val()
#
(void)
insertText(pos, content)
#
(void)
deleteText(pos, length)
#
(void)
bind(textarea)
#
(void)
replaceText(text)
#
(void)
on()