private void notifyCaretListeners() {
    for (CodeDisplayEventListener listener : eventListeners) {
      listener.caretChanged(caretPosition);
    }
  }
The code makes use of the well-orderedness of TreeMap, this map *cannot* simply be replaced
with a different map.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/CodeDisplay/CodeDisplay.java