Code Editor : selection-api.js