浏览代码

make selectWord & selectWordEdge public

/main
xingwei.zhu 6 年前
当前提交
8d7ee7b8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      Runtime/rendering/editable.cs

4
Runtime/rendering/editable.cs


this.selectPositionAt(from: this._lastTapDownPosition, cause: cause);
}
void selectWord(SelectionChangedCause? cause = null) {
public void selectWord(SelectionChangedCause? cause = null) {
this.selectWordsInRange(from: this._lastTapDownPosition, cause: cause);
}

}
}
void selectWordEdge(SelectionChangedCause cause) {
public void selectWordEdge(SelectionChangedCause cause) {
this._layoutText(this.constraints.maxWidth);
D.assert(this._lastTapDownPosition != null);
if (this.onSelectionChanged != null) {

正在加载...
取消
保存