浏览代码

Merge pull request #224 from UnityTech/focus

make selectWord & selectWordEdge public
/main
GitHub 6 年前
当前提交
e1575776
共有 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) {

正在加载...
取消
保存