Class: TextYatta

Defined in: lib/Frameworks/TextYatta.coffee

Overview

Framework for Text Datastructures.

Instance Method Summary

Constructor Details

# (void) constructor(user_id, Connector)

Parameters:

  • user_id ( String ) Uniqe user id that defines this peer.
  • Connector ( Connector ) The connector defines how you connect to the other peers.

Instance Method Details

# (void) getRootElement()

@result Word

# (void) getEngine()

See also:

# (void) getConnector()

Get the initialized connector.

# (void) getHistoryBuffer()

See also:

# (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()

See also:

# (void) insertText(pos, content)

See also:

# (void) deleteText(pos, length)

See also:

# (void) replaceText(text)

See also:

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: