mbien commented on code in PR #5897:
URL: https://github.com/apache/netbeans/pull/5897#discussion_r1180888367
##########
ide/editor.completion/src/org/netbeans/modules/editor/completion/CompletionImpl.java:
##########
@@ -1414,16 +1414,18 @@ boolean hideDocumentationPane(boolean
documentationOnly) {
* May be called from any thread but it will be rescheduled into AWT.
*/
public void showToolTip() {
- if (!SwingUtilities.isEventDispatchThread()) {
- // Re-call this method in AWT if necessary
- SwingUtilities.invokeLater(new
ParamRunnable(ParamRunnable.SHOW_TOOL_TIP));
- return;
- }
-
- if (ensureActiveProviders()) {
- toolTipCancel();
- toolTipQuery();
- }
+ if
(CompletionSettings.getInstance(getActiveComponent()).completionDisplayTooltip())
{
Review Comment:
nitpick: you are using tabs here, please use spaces if possible (but read
other message first).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists