 
   fillInMarkers: (hintMarkers) ->
     hintStrings = @hintStrings(hintMarkers.length)
-    for marker, idx in hintMarkers
-      marker.hintString = hintStrings[idx]
-      marker.innerHTML = spanWrap(marker.hintString.toUpperCase()) if marker.isLocalMarker
+    for marker, i in hintMarkers
+      marker.hintString = hintStrings[i]
+      if marker.isLocalMarker
+        marker.innerHTML = spanWrap(marker.hintString.toUpperCase())
+    return
 
   #
   # Returns a list of hint strings which will uniquely identify the given number of links. The hint strings

  indicator: "Copy link text"
  linkActivator: (link) ->
    text = link.textContent
    if 0 < text.length
      HUD.copyToClipboard text
      text = text[0..25] + "...." if 28 < text.length
      HUD.showForDuration "Yanked #{text}", 2000
    else
      HUD.showForDuration "No text to yank.", 2000
HOVER_LINK =
  name: "hover"
  indicator: "Hover link"
  linkActivator: (link) -> new HoverMode link
FOCUS_LINK =
  name: "focus"
  indicator: "Focus link"
  linkActivator: (link) -> link.focus()

availableModes = [OPEN_IN_CURRENT_TAB, OPEN_IN_NEW_BG_TAB, OPEN_IN_NEW_FG_TAB, OPEN_WITH_QUEUE, COPY_LINK_URL,
  OPEN_INCOGNITO, DOWNLOAD_LINK_URL, COPY_LINK_TEXT, HOVER_LINK, FOCUS_LINK]

      # If link hints is launched within the help dialog, then we only offer hints from that frame.  This
      # improves the usability of the help dialog on the options page (particularly for selecting command
      # names).
      if isVimiumHelpDialog and not window.isVimiumHelpDialog
        @localHints = []
      else
        @localHints = LocalHints.getLocalHints requireHref
      @localHintDescriptors = @localHints.map ({linkText}, localIndex) -> {frameId, localIndex, linkText}
      @sendMessage "postHintDescriptors", hintDescriptors: @localHintDescriptors
      return
    return

  # We activate LinkHintsMode() in every frame and provide every frame with exactly the same hint descriptors.
  # We also propagate the key state between frames.  Therefore, the hint-selection process proceeds in lock
