Class: TextYatta
| Defined in: | lib/Frameworks/TextYatta.coffee | 
Overview
Framework for Text Datastructures.
Instance Method Summary
- # (void) getRootElement() @result Word
 - # (void) getEngine()
 - # (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) replaceText(text)
 
Constructor Details
      #
(void)
constructor(user_id, Connector)
      
    
Instance Method Details
      #
(void)
getRootElement()
      
    
@result Word
      #
(void)
getEngine()
      
    
      #
(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 JsonYatta was initialized (Depending on the HistoryBuffer implementation).
      #
(void)
val()
      
    
      #
(void)
insertText(pos, content)
      
    
      #
(void)
deleteText(pos, length)
      
    
      #
(void)
replaceText(text)