public GetNumberOfPreviousProps ( SelLimitType type ) : int | ||
type | SelLimitType | Anchor or End |
리턴 | int |
/// -------------------------------------------------------------------------------- /// <summary> /// Initializes a new instance of the <see cref="LocationInfo"/> class. /// </summary> /// <param name="helper">The selection helper used to initialize this location. /// </param> /// -------------------------------------------------------------------------------- public LocationInfo(SelectionHelper helper) { m_location = helper.GetLevelInfo(SelectionHelper.SelLimitType.Bottom); m_tag = helper.GetTextPropId(SelectionHelper.SelLimitType.Bottom); m_ichMin = m_ichLim = helper.GetIch(SelectionHelper.SelLimitType.Bottom); m_cpropPrev = helper.GetNumberOfPreviousProps(SelectionHelper.SelLimitType.Bottom); m_ws = SelectionHelper.GetFirstWsOfSelection(helper.Selection); }