mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
postfix completion: inplace introduce variable: ensure doc committed when handler is started inside writeAction
test: switch on inplace mode in tests EA-86900 - RE: PostprocessReformattingAspect.beforeDocumentChanged
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
public class Foo {
|
||||
void m(Object o) {
|
||||
int foo = 1;<caret>
|
||||
int <caret>foo = 1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public class Foo {
|
||||
void m() {
|
||||
foo(new Runnable() {public void run()}.var<caret>);
|
||||
}
|
||||
|
||||
void foo(Runnable r) {}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
public class Foo {
|
||||
void m() {
|
||||
Runnable foo = new Runnable() {
|
||||
public void run()
|
||||
}; foo(foo);
|
||||
}
|
||||
|
||||
void foo(Runnable r) {}
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
public class Foo {
|
||||
void m(Object o) {
|
||||
boolean foo = o instanceof String;<caret>
|
||||
boolean <caret>foo = o instanceof String;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user