void (int visualLine, int offset) { myEditor.processLineExtensions(myDocument.getLineNumber(offset), (info) -> { List<LineExtensionData> list = myExtensionData.get(visualLine); if (list == null) myExtensionData.put(visualLine, list = new ArrayList<>()); list.add(new LineExtensionData(info, LineLayout.create(myView, info.getText(), info.getFontType()))); return true; }); }