Dotclear


Ignore:
Timestamp:
06/13/18 12:31:58 (6 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Update Codemirror to 5.38.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/js/codemirror/addon/edit/closebrackets.js

    r3617 r3758  
    130130          curType = "skip"; 
    131131      } else if (identical && cur.ch > 1 && triples.indexOf(ch) >= 0 && 
    132                  cm.getRange(Pos(cur.line, cur.ch - 2), cur) == ch + ch && 
    133                  (cur.ch <= 2 || cm.getRange(Pos(cur.line, cur.ch - 3), Pos(cur.line, cur.ch - 2)) != ch)) { 
     132                 cm.getRange(Pos(cur.line, cur.ch - 2), cur) == ch + ch) { 
     133        if (cur.ch > 2 && /\bstring/.test(cm.getTokenTypeAt(Pos(cur.line, cur.ch - 2)))) return CodeMirror.Pass; 
    134134        curType = "addFour"; 
    135135      } else if (identical) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map