CutPasteFilter

ammonite.terminal.filters.ReadlineFilters$.CutPasteFilter
case class CutPasteFilter() extends DelegateFilter

All the cut-pasting logic, though for many people they simply use these shortcuts for deleting and don't use paste much at all.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Filter
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def append(b: Vector[Char]): Unit
def cutCharLeft(b: Vector[Char], c: Int): (Vector[Char], Int)
def cutLineLeft(b: Vector[Char], c: Int): (Vector[Char], Int)
def cutLineRight(b: Vector[Char], c: Int): (Vector[Char], Int)
def cutWordLeft(b: Vector[Char], c: Int): (Vector[Char], Int)
def cutWordRight(b: Vector[Char], c: Int): (Vector[Char], Int)
def paste(b: Vector[Char], c: Int): (Vector[Char], Int)
def prepend(b: Vector[Char]): Unit

Inherited methods

def identifier: String

the .toString of this object, except by making it separate we force the implementer to provide something and stop them from accidentally leaving it as the meaningless default.

the .toString of this object, except by making it separate we force the implementer to provide something and stop them from accidentally leaving it as the meaningless default.

Attributes

Inherited from:
DelegateFilter
def op(ti: TermInfo): Option[TermAction]

Attributes

Inherited from:
DelegateFilter
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Filter -> Any
Inherited from:
Filter

Concrete fields

var accumulating: Boolean
var currentCut: Vector[Char]

Implicits

Inherited implicits

implicit val enclosing: Enclosing

Attributes

Inherited from:
DelegateFilter