code: public void highlightConsecutiveIdentifiers(List<Integer> hashes, boolean backward) {
          final int startPos = highlightFirstIdentifier(hashes.get(0), backward);
          if (startPos >= 0) {
              highlightRemainingIdentifiers(hashes.subList(1, hashes.size()), startPos);
          }
      }
docs: Highlights consecutive occurrences of identifiers.
  
  @param hashes   list of content identifier hashes to highlight
  @param backward if true the first identifier is searched from the end of the expression