       @hideMarker marker for marker in @hintMarkers
       @showMarker matched, @markerMatcher.hintKeystrokeQueue.length for matched in linksMatched
 
-    @setOpenLinkMode @mode, false
+    @setIndicator()
 
   # When only one hint remains, activate it in the appropriate way.  The current frame may or may not contain
   # the matched link, and may or may not have the focus.  The resulting four cases are accounted for here by

      keydown: @onKeyDownInMode.bind this
      keypress: @onKeyPressInMode.bind this

    @hintMode.onExit (event) =>
      if event?.type == "click" or (event?.type == "keydown" and
        (KeyboardUtils.isEscape(event) or event.keyCode in [keyCodes.backspace, keyCodes.deleteKey]))
          HintCoordinator.sendMessage "exit", isSuccess: false

    @setOpenLinkMode mode, false

    # Note(philc): Append these markers as top level children instead of as child nodes to the link itself,
    # because some clickable elements cannot contain children, e.g. submit buttons.
    @hintMarkerContainingDiv = DomUtils.addElementList (marker for marker in @hintMarkers when marker.isLocalMarker),
      id: "vimiumHintMarkerContainer", className: "vimiumReset"

  # TODO(smblott) This is currently doing two somewhat independent things.  We should refactor it to "update
  # @mode" and "update mode indicator".
  setOpenLinkMode: (@mode, shouldPropagateToOtherFrames = true) ->
    @hintMode.setIndicator @formatIndicator @mode.indicator if windowIsFocused()
    if shouldPropagateToOtherFrames
      HintCoordinator.sendMessage "setOpenLinkMode", modeIndex: availableModes.indexOf @mode

  formatIndicator: (indicator) ->
    typedCharacters = @markerMatcher.linkTextKeystrokeQueue?.join("") ? ""
    indicator + (if typedCharacters then ": '#{typedCharacters}'" else "") + "."

  #
  # Creates a link marker for the given link.

    @markerMatcher.fillInMarkers @hintMarkers

    @hintMode = new Mode
      name: "hint/#{@mode.name}"
      indicator: false
      singleton: "link-hints-mode"
      passInitialKeyupEvents: true
