/// <summary> /// Returns true if the line at the given position ends with the /* characters prior to any pending changes. /// </summary> /// <param name="i"></param> /// <returns></returns> private bool LineIsJSDocOpening(int i) { return(StubUtils.GetLineTextFromPosition(i, this._view.TextSnapshot).EndsWith("/*")); }
/// <summary> /// Returns true if the line at the given position ends with a double slash prior to any pending changes. /// </summary> /// <param name="i"></param> /// <returns></returns> private bool EndsInDoubleSlash(int i) { return(StubUtils.GetLineTextFromPosition(i, this._view.TextSnapshot).EndsWith("//")); }