mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
the old-style autopopup to be triggered inside identifier
This commit is contained in:
+1
-1
@@ -125,7 +125,7 @@ class JavaAutoPopupTest extends CompletionAutoPopupTestCase {
|
||||
|
||||
}
|
||||
|
||||
public void testNoAutopopupInTheMiddleOfIdentifier() {
|
||||
public void _testNoAutopopupInTheMiddleOfIdentifier() {
|
||||
myFixture.configureByText("a.java", """
|
||||
class Foo {
|
||||
String foo(String iterable) {
|
||||
|
||||
+2
@@ -91,6 +91,7 @@ public class CompletionAutoPopupHandler extends TypedHandlerDelegate {
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
if (!CompletionProgressIndicator.showHintAutopopup()) {
|
||||
final CharSequence text = editor.getDocument().getCharsSequence();
|
||||
final int offset = editor.getSelectionModel().hasSelection() ? editor.getSelectionModel().getSelectionEnd() : editor.getCaretModel().getOffset();
|
||||
@@ -98,6 +99,7 @@ public class CompletionAutoPopupHandler extends TypedHandlerDelegate {
|
||||
return Result.CONTINUE;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
final boolean isMainEditor = FileEditorManager.getInstance(project).getSelectedTextEditor() == editor;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user