   setMark: ->
     editor = @getEditor()
     return unless editor
-    editorView = atom.views.getView editor
-    $(editorView).toggleClass "transient-marked"
+    (atom.views.getView editor).classList.toggle "transient-marked"
     cursor.clearSelection() for cursor in editor.getCursors()
 
   killRegionOrBackwardWord: ->

      'emacs:backspace': => return @backspace()

    addEditorEventListner = (editor) =>
      editorView = $(atom.views.getView(editor))
      @eventListeners.push editor.onDidChangeCursorPosition (e)=>
        @killring?.seal() if @isUserCommand
        @deactivateISearch() if @isUserCommand
        editorView.removeClass "transient-marked"
      listener = new DOMListener(atom.views.getView(editor))
      @eventListeners.push listener.add 'atom-text-editor', 'click', (e)->

    atom.workspace.getTextEditors().forEach addEditorEventListner
    @addTextEditorListener = atom.workspace.onDidAddTextEditor (event) ->


  activateIsearch: (forward)->
    editor = atom.workspace.getActiveTextEditor()
    (atom.views.getView editor).classList.add "searching"
    @isforward = forward
    @isearchWord = @isearchLast if @isearchTile? and not @isearchWord
    @searchNext @isearchWord
