Preserve FXML source ranges and extend shared Component projection

This commit is contained in:
2026-11-12 11:52:43 +01:00
parent 7db7218a6e
commit dfa2dd1508
19 changed files with 1145 additions and 49 deletions
+6 -1
View File
@@ -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) {