/// <summary> 获取项的输入上下文 </summary> /// <param name="item">指定项</param> /// <returns>项的输入上下文</returns> public IMRATextInputContext GetContext(IMRATextItem item) { return(item is MRATextInputItem && item.ItemType == MRATextItemTypes.InputContextZone ? new MRATextInputContext((ITextZone)(((MRATextInputItem)item).Item), -1, -1) : null); }
public MRADocMatchResult(IMRATextItem _result, int _start, int _count) { this.result = _result; this.start = _start; this.count = _count; }