ws.kahn

ot

package ot

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Attribute extends AnyRef

  2. sealed trait AttributedOperation extends Operation

  3. case class BooleanAttribute(value: Boolean) extends Attribute with Product with Serializable

  4. case class CompositionErrorException(message: String) extends Exception with Product with Serializable

  5. case class Delete(num: Int) extends Operation with Product with Serializable

    The "delete" operation deletes a number of characters starting from the cursor's current position in the document.

    The "delete" operation deletes a number of characters starting from the cursor's current position in the document.

    num

    the number of characters to delete.

  6. case class Delta(operations: IndexedSeq[Operation]) extends Product with Serializable

    A delta represents a change performed on a document as a sequence of operations that move a cursor over the document.

    A delta represents a change performed on a document as a sequence of operations that move a cursor over the document.

    operations

    the list of operations in order. An operation can be any one of:

    • retain: advance the current position, skipping over characters
    • insert: insert characters at the current position
    • delete: delete characters at the current position
  7. sealed trait Insert extends AttributedOperation

    The "insert" operation inserts a given string at the cursor's current position in the string.

  8. case class InsertCode(code: Int, attributes: Option[Map[String, Attribute]] = None) extends Insert with Product with Serializable

  9. case class InsertText(chars: String, attributes: Option[Map[String, Attribute]] = None) extends Insert with Product with Serializable

  10. class NullAttribute extends Attribute

  11. case class NumberAttribute(value: Double) extends Attribute with Product with Serializable

  12. case class OpIterator(ops: IndexedSeq[Operation]) extends Product with Serializable

  13. case class OpIteratorException(msg: String) extends Exception with Product with Serializable

  14. sealed trait Operation extends AnyRef

  15. case class Retain(num: Int, attributes: Option[Map[String, Attribute]] = None) extends AttributedOperation with Product with Serializable

    The "retain" operation moves the cursor along the document by a number of characters, effectively "skipping" over them.

    The "retain" operation moves the cursor along the document by a number of characters, effectively "skipping" over them.

    num

    the number of characters to skip or retain.

  16. case class StringAttribute(value: String) extends Attribute with Product with Serializable

Value Members

  1. object Attribute

  2. object BooleanAttribute extends Serializable

  3. object Delete extends Serializable

  4. object Delta extends Serializable

  5. object Insert

  6. object InsertCode extends Serializable

  7. object InsertText extends Serializable

  8. object NullAttribute

  9. object NumberAttribute extends Serializable

  10. object Operation

  11. object Retain extends Serializable

  12. object StringAttribute extends Serializable

  13. package exceptions

Ungrouped