Vergleich admin/jscripts/codemirror/addon/fold/comment-fold.js - 1.8.6 - 1.8.36

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 28Zeile 28
      continue;
}
if (pass == 1 && found < start.ch) return;

      continue;
}
if (pass == 1 && found < start.ch) return;

    if (/comment/.test(cm.getTokenTypeAt(CodeMirror.Pos(line, found + 1)))) {



    if (/comment/.test(cm.getTokenTypeAt(CodeMirror.Pos(line, found + 1))) &&
(found == 0 || lineText.slice(found - endToken.length, found) == endToken ||
!/comment/.test(cm.getTokenTypeAt(CodeMirror.Pos(line, found))))) {

      startCh = found + startToken.length;
break;
}

      startCh = found + startToken.length;
break;
}