From c5aba03ad3f6cd86af8020ed6188467821fdf39e Mon Sep 17 00:00:00 2001 From: Karol Lewandowski Date: Mon, 13 Jan 2025 14:54:58 +0100 Subject: [PATCH] tool_windows.md: Fix a typo --- topics/user_interface_components/tool_windows.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/topics/user_interface_components/tool_windows.md b/topics/user_interface_components/tool_windows.md index 7bbc71510..5b6501b83 100644 --- a/topics/user_interface_components/tool_windows.md +++ b/topics/user_interface_components/tool_windows.md @@ -74,7 +74,7 @@ To show and hide a tool window dynamically while the user is working with the pr ### Programmatic Setup -For toolwindows shown only after invoking specific actions, use [`ToolWindowManager.registerToolWindow(String,RegisterToolWindowTaskBuilder)`](%gh-ic%/platform/platform-api/src/com/intellij/openapi/wm/ToolWindowManager.kt). +For tool windows shown only after invoking specific actions, use [`ToolWindowManager.registerToolWindow(String,RegisterToolWindowTaskBuilder)`](%gh-ic%/platform/platform-api/src/com/intellij/openapi/wm/ToolWindowManager.kt). Always use [`ToolWindowManager.invokeLater()`](%gh-ic%/platform/platform-api/src/com/intellij/openapi/wm/ToolWindowManager.kt) instead of "plain" `Application.invokeLater()` when scheduling EDT tasks related to tool windows (see [](threading_model.md)).