 Point = require 'point'
 Cursor = require 'cursor'
 Selection = require 'selection'
+Range = require 'range'
 $ = require 'jquery'
 $$ = require 'template/builder'
 _ = require 'underscore'

      @on 'select-up', => @selectUp()
      @on 'select-down', => @selectDown()
      @on 'newline', =>  @insertNewline()
      @on 'backspace', => @backspace()
      @on 'delete', => @delete()
      @on 'copy', => @copySelection()



        'shift-up': 'select-up'
        'shift-down': 'select-down'
        enter: 'newline'
        backspace: 'delete-left'
        delete: 'delete-right'
        'meta-c': 'copy'

      @on 'move-right', => @moveCursorRight()
