object MMTSideKick
- Source
- MMTSideKick.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MMTSideKick
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getAssetAtOffset(view: View, offset: Int): Option[JAsset]
- returns
the asset at the specified position
-
def
getAssetAtRange(view: View, begin: Int, end: Int): Option[MMTAsset]
- returns
the smallest asset covering the specified range (inclusive begin, exclusive end)
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getCurrentAsset(view: View): Option[(MMTAsset, Boolean)]
return the smallest asset covering the first selection or (if no selection) the asset at the the cursor; boolean is true if the former case this is useful for button or key interaction, where a selection or cursor position must be used to determine an asset
-
def
getSelectedAssetAtOffset(view: View, offset: Int): Option[(MMTAsset, Boolean)]
like getAssetAtOffset, but includes the surrounding selection, if any; the boolean if true if the area is selected this is useful for mouse interaction, where an offset can be computed from the mouse pointer position
-
def
getSelectedRangeAroundOffset(ta: TextArea, offset: Int): Option[(Int, Int)]
the range of the selection at a position (selection inclusive begin, exclusive end)
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()