Пример #1
0
 /// <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("/*"));
 }
Пример #2
0
 /// <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("//"));
 }