Class: TextFramework

Defined in: lib/Frameworks/TextFramework.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

# (?) getSharedObject()

Returns:

  • ( ? ) — WordType

# (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 JsonFramework was initialized (Depending on the HistoryBuffer implementation).

# (void) val()

See also:

# (void) insertText(pos, content)

# (void) deleteText(pos, length)

# (void) bind(textarea)

See also:

# (void) replaceText(text)

# (void) on()

See also:

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: