From cffe9df9ecb6f2f66ec034c35b5977a4d3e6e3a0 Mon Sep 17 00:00:00 2001 From: Karol Lewandowski Date: Mon, 8 Apr 2024 12:27:58 +0200 Subject: [PATCH] status_bar_widgets.md: Add code formatting to titles --- topics/user_interface_components/status_bar_widgets.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/topics/user_interface_components/status_bar_widgets.md b/topics/user_interface_components/status_bar_widgets.md index 066e57bb4..ba931739d 100644 --- a/topics/user_interface_components/status_bar_widgets.md +++ b/topics/user_interface_components/status_bar_widgets.md @@ -1,4 +1,4 @@ - + # Status Bar Widgets @@ -38,7 +38,7 @@ To reuse the IntelliJ Platform implementation, you can extend one of two classes - [`EditorBasedWidget`](%gh-ic%/platform/platform-impl/src/com/intellij/openapi/wm/impl/status/EditorBasedWidget.kt) - [`EditorBasedStatusBarPopup`](%gh-ic%/platform/platform-impl/src/com/intellij/openapi/wm/impl/status/EditorBasedStatusBarPopup.kt) -## EditorBasedWidget +## `EditorBasedWidget` `EditorBasedWidget` is the basic widget implementation. To implement it, override `ID()` where returns the unique ID of the widget. @@ -81,7 +81,7 @@ Override `getComponent()` to return the custom widget's component to display. Example: [MemoryUsagePanel](%gh-ic%/platform/platform-impl/src/com/intellij/openapi/wm/impl/status/MemoryUsagePanel.java) -## EditorBasedStatusBarPopup +## `EditorBasedStatusBarPopup` `EditorBasedStatusBarPopup` is the basis for all widgets that have a popup with a list of actions. For example, the encoding widget of the current file.