GhosttyTerminalGestureCoordinator<PositionT, SelectionT> class final

Shared gesture-side selection coordinator for terminal widgets.

This centralizes the selection decisions that were previously duplicated in both terminal views while keeping coordinate resolution and renderer-specific selection construction pluggable.

Constructors

GhosttyTerminalGestureCoordinator(GhosttyTerminalSelectionSession<SelectionT> session)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
session GhosttyTerminalSelectionSession<SelectionT>
final

Methods

beginLineSelection({required PositionT? position, required int rowOfPosition(PositionT position), required SelectionT? resolveLineSelection(PositionT position)}) → SelectionT?
beginSelection({required PositionT? position, required SelectionT collapsedSelection(PositionT position)}) → SelectionT?
completeWordSelection({required PositionT? position, required SelectionT? resolveWordSelection(PositionT position)}) → SelectionT?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
selectWord({required PositionT? position, required SelectionT? resolveWordSelection(PositionT position)}) → SelectionT?
toString() String
A string representation of this object.
inherited
updateSelection({required SelectionT? currentSelection, required PositionT? position, required SelectionT extendSelection(SelectionT currentSelection, PositionT position), required SelectionT? extendLineSelection(int anchorRow, PositionT position)}) → SelectionT?

Operators

operator ==(Object other) bool
The equality operator.
inherited