function plugin ( CodeMirror ) { CodeMirror . defineExtension ( 'printSomething' , function ( something ) { console . log ( something ) ; } ) ; } module . exports = { default : function ( _context ) { return { plugin : plugin , codeMirrorResources : [ 'addon/search/match-highlighter' ] , codeMirrorOptions : { 'highlightSelectionMatches' : true } , assets : function ( ) { return [ { name : './selection.css' } ] ; } , } ; } , } ;