private void collectCodeBlockMarkerRanges() {
    InjectedLanguageManager manager = InjectedLanguageManager.getInstance(myFile.getProject());

    PsiElement contextElement = myFile.findElementAt(
      TargetElementUtil.adjustOffset(myFile, myEditor.getDocument(), myEditor.getCaretModel().getOffset()));
    if (contextElement == null) {
      return;
    }

    for (TextRange range : CodeBlockSupportHandler.findMarkersRanges(contextElement)) {
      myCodeBlockMarkerRanges.add(manager.injectedToHost(contextElement, range));
    }
  }
private void collectCodeBlockMarkerRanges()