mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Better allocation trace for the focus tracer.
Deprecation of forced requestFocus methods.
This commit is contained in:
@@ -40,7 +40,7 @@ public class EditorSearchTest extends LightPlatformCodeInsightFixtureTestCase {
|
||||
assertEquals(key, getSearchTextComponent().getSelectedText());
|
||||
assertEquals(3, getSearchTextComponent().getCaretPosition());
|
||||
assertTrue(getEditorSearchComponent().hasMatches());
|
||||
IdeFocusManager.findInstance().requestFocus(myFixture.getEditor().getContentComponent(), false);
|
||||
IdeFocusManager.findInstance().requestFocus(myFixture.getEditor().getContentComponent());
|
||||
IdeEventQueue.getInstance().flushQueue();
|
||||
|
||||
myFixture.performEditorAction("Find");
|
||||
|
||||
Reference in New Issue
Block a user