diff --git a/platform/lang-impl/src/com/intellij/codeInsight/documentation/DocumentationComponent.java b/platform/lang-impl/src/com/intellij/codeInsight/documentation/DocumentationComponent.java index 64ce16e561fe..0a688dcc14ec 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/documentation/DocumentationComponent.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/documentation/DocumentationComponent.java @@ -328,6 +328,7 @@ public class DocumentationComponent extends JPanel implements Disposable, DataPr // Note: Making the caret visible is merely for convenience myEditorPane.getCaret().setVisible(true); } + myEditorPane.getCaret().setSelectionVisible(true); myEditorPane.setBackground(EditorColorsUtil.getGlobalOrDefaultColor(COLOR_KEY)); HTMLEditorKit editorKit = new UIUtil.JBHtmlEditorKit(true) { @Override