mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
test fixed
This commit is contained in:
@@ -130,7 +130,8 @@ class DaemonListeners implements Disposable {
|
||||
@Override
|
||||
public void caretPositionChanged(CaretEvent e) {
|
||||
Editor editor = e.getEditor();
|
||||
if (!editor.getComponent().isShowing() || !worthBothering(editor.getDocument(), editor.getProject())) {
|
||||
if ((!editor.getComponent().isShowing() && !ApplicationManager.getApplication().isUnitTestMode()) ||
|
||||
!worthBothering(editor.getDocument(), editor.getProject())) {
|
||||
return; //no need to stop daemon if something happened in the console
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user