trait Document extends LinesHolder with ObservableEvents[DocumentEvent]
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Document
- ObservableEvents
- LinesHolder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def characters: CharSequence
- abstract def createAnchorAt(offset: Int, bias: Bias): Anchor
- abstract def insert(offset: Int, s: String): Unit
- abstract def length: Int
- Definition Classes
- LinesHolder
- abstract def remove(begin: Int, end: Int): Unit
- abstract def replace(begin: Int, end: Int, s: String): Unit
- abstract val text: String
- abstract def wraps: Seq[Int]
- Attributes
- protected
- Definition Classes
- LinesHolder
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def charAt(offset: Int): Char
- def charAtOrElse(offset: Int, default: Char): Char
- def charOptionAt(offset: Int): Option[Char]
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def disconnect(action: (DocumentEvent) => Unit): Unit
- Definition Classes
- ObservableEvents
- def endOffsetOf(line: Int): Int
- Definition Classes
- LinesHolder
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def intervalOf(line: Int): Interval
Interval of a given line, not including newline.
Interval of a given line, not including newline.
- Definition Classes
- LinesHolder
- def intervalOfNl(line: Int): Interval
Line
intervalOfbut including newline if the line is not the last line.Line
intervalOfbut including newline if the line is not the last line.- Definition Classes
- LinesHolder
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lineNumberOf(offset: Int): Int
- Definition Classes
- LinesHolder
- def linesCount: Int
- Definition Classes
- LinesHolder
- def maximumIndent: Int
- Definition Classes
- LinesHolder
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def notifyObservers(event: DocumentEvent): Unit
- Definition Classes
- ObservableEvents
- def onChange(action: (DocumentEvent) => Unit): Unit
- Definition Classes
- ObservableEvents
- def remove(interval: Interval): Unit
- def replace(interval: Interval, s: String): Unit
- def startOffsetOf(line: Int): Int
- Definition Classes
- LinesHolder
- def startOffsetOfClip(line: Int): Int
Like
startOffsetOf, but if line is too small, clips to zero, if line is too large, returnslength.Like
startOffsetOf, but if line is too small, clips to zero, if line is too large, returnslength.- Definition Classes
- LinesHolder
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def text(interval: Interval): String
- def text(begin: Int, end: Int): String
- def toLocation(offset: Int): Location
- Definition Classes
- LinesHolder
- def toNearestOffset(location: Location): Int
- Definition Classes
- LinesHolder
- def toOffset(location: Location): Option[Int]
- Definition Classes
- LinesHolder
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()