浏览代码

Cleanup code.

/main
Yuncong Zhang 5 年前
当前提交
cc16e475
共有 1 个文件被更改,包括 8 次插入10 次删除
  1. 18
      Runtime/rendering/editable.cs

18
Runtime/rendering/editable.cs


using System;
using System.Collections.Generic;
using System.Collections.Generic;
using Unity.UIWidgets.foundation;
using Unity.UIWidgets.gestures;
using Unity.UIWidgets.painting;

}
public TextSelection selection {
get {
return this._selection;
}
get { return this._selection; }
if (this._selection == value) {
return;
if (this._selection == value) {
return;
this._selection = value;
this._selectionRects = null;
this.markNeedsPaint();

public TextPosition getParagraphBackward(TextPosition position, TextAffinity? affinity = null) {
var lineCount = this._textPainter.getLineCount();
Paragraph.LineRange line = null;
for (int i = lineCount - 1; i >= 0; --i) {
line = this._textPainter.getLineRange(i);

}
}
public void setFloatingCursor(FloatingCursorDragState? state, Offset boundedOffset, TextPosition lastTextPosition,
public void setFloatingCursor(FloatingCursorDragState? state, Offset boundedOffset,
TextPosition lastTextPosition,
float? resetLerpValue = null) {
D.assert(boundedOffset != null);
D.assert(lastTextPosition != null);

正在加载...
取消
保存