From 69863bc414b2fa2641ad1ca268846ce82f32a152 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Wed, 2 Apr 2025 15:39:51 +0200 Subject: [PATCH] structure_view.md: cleanup --- .../reference_guide/custom_language_support/structure_view.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/topics/reference_guide/custom_language_support/structure_view.md b/topics/reference_guide/custom_language_support/structure_view.md index 896383689..00f412878 100644 --- a/topics/reference_guide/custom_language_support/structure_view.md +++ b/topics/reference_guide/custom_language_support/structure_view.md @@ -39,7 +39,7 @@ In the implementation of `StructureViewTreeElement.getChildren()`, the plugin ca Another important method is `getPresentation()`, which can be used to customize the text, attributes, and icon used to represent an element in the structure view. The implementation of `StructureViewTreeElement.getChildren()` needs to be matched by `TextEditorBasedStructureViewModel.getSuitableClasses()`. -The latter method returns an array of `PsiElement`\-derived classes, which can be shown as structure view elements. +The latter method returns an array of `PsiElement`-derived classes, which can be shown as structure view elements. It is used to select the Structure View item matching the cursor position when the structure view is first opened or when the Autoscroll from source option is enabled. **Example:**