popups: fix note formatting

This commit is contained in:
Yann Cébron 2019-11-07 17:58:12 +01:00
parent ecb2b1ef7c
commit d1102d484d

View File

@ -48,8 +48,7 @@ By returning a new popup step from the `onChosen()` method, you can implement hi
Once you've created the popup, you need to display it by calling one of the `show()` methods.
You can let the IntelliJ Platform automatically choose the position based on the context, by calling `showInBestPositionFor()`, or specify the position explicitly through methods like `showUnderneathOf()` and `showInCenterOf()`.
> **Note:** The `show()` methods return immediately and do not wait for the popup to be closed.
> **NOTE** The `show()` methods return immediately and do not wait for the popup to be closed.
If you need to perform some action when the popup is closed, you can either attach a listener to it using the `addListener()` method, override a method of the popup contents such as
[PopupStep.onChosen()](upsource:///platform/platform-api/src/com/intellij/openapi/ui/popup/PopupStep.java),