Preserve FXML source ranges and extend shared Component projection
This commit is contained in:
@@ -235,13 +235,18 @@ public final class WorkflowProbe implements StartupActivity.DumbAware {
|
||||
output.resolve("intellij.png").toFile());
|
||||
return null;
|
||||
});
|
||||
try (var document =
|
||||
pane.kit().host().documents().open(path.toUri()).toCompletableFuture().get()) {
|
||||
de.neitzel.fxdesigner.kit.ProjectionHostChecks.run(pane, document);
|
||||
}
|
||||
String version = fx(() -> System.getProperty("javafx.runtime.version"));
|
||||
if (!version.startsWith("26"))
|
||||
throw new AssertionError("Wrong host JavaFX: " + version);
|
||||
Files.writeString(
|
||||
output.resolve("SUCCESS.txt"),
|
||||
"PASS registered IntelliJ editor, shared Kit, real Build and Refresh, target"
|
||||
+ " pixels, native document edits, undo/redo, draft render; JavaFX "
|
||||
+ " pixels, native document edits, undo/redo, draft render,"
|
||||
+ " source-preserving projection and extended Component scenarios; JavaFX "
|
||||
+ version
|
||||
+ "\n");
|
||||
} catch (Throwable e) {
|
||||
|
||||
Reference in New Issue
Block a user