nl_tokens: class EditSession
pl_tokens: function ( text , mode ) { this . $modified = true ; this . $breakpoints = [ ] ; this . $frontMarkers = { } ; this . $backMarkers = { } ; this . $markerId = 1 ; this . $rowCache = [ ] ; this . $wrapData = [ ] ; this . $foldData = [ ] ; this . $undoSelect = true ; this . $foldData . toString = function ( ) { var str = "" ; this . forEach ( function ( foldLine ) { str += "\n" + foldLine . toString ( ) ; } ) ; return str ; } if ( <mask> instanceof Document ) { this . setDocument ( text ) ; } else { this . setDocument ( new Document ( text ) ) ; } this . selection = new Selection ( this ) ; this . setMode ( mode ) ; }