mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
Rework annotators engine to make annotators run in parallel, each on all relevant PSI elements in their own order (makes fast annotators complete faster to allow them to remove outdated highlighters faster). For that, for each annotator (in parallel): - create its own AnnotationHolder - rearrange its PSI elements in "time to first diagnostic in previous run" order, to reduce latency. - run annotator on these PSI elements sequentially - as soon as annotator produces info/fails to produce the same info from the previous run, update the corresponding range highlighters Pleas note, there's no more contract "Do not call annotators for parent PSI if some (maybe completely unrelated) annotator/highlight visitor produced error for some PSI element". Fix highlighting tests, the majority of which relied on annotator order, or implicit contract above. Fix a bunch of annotators which tried to double-visit some PSI elements to fight the contract above. GitOrigin-RevId: 74f727fc6d3be3f500cdbb0f26e7d0daf1ffe7ff
14 lines
809 B
XML
14 lines
809 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.scene.layout.*?>
|
|
|
|
<AnchorPane xmlns:fx="http://javafx.com/fxml">
|
|
<children>
|
|
<AnchorPane AnchorPane.leftAnchor="0.0" <error descr="Property 'AnchorPane.leftAnchor1' is read-only"><error descr="Attribute AnchorPane.leftAnchor1 is not allowed here">AnchorPane.<error descr="Cannot resolve symbol 'leftAnchor1'">leftAnchor1</error></error>="0.0"</error>>
|
|
<AnchorPane.bottomAnchor>200</AnchorPane.bottomAnchor>
|
|
<<error descr="Element AnchorPane1.bottomAnchor is not allowed here">AnchorPane1.bottomAnchor</error>>200</<error descr="Element AnchorPane1.bottomAnchor is not allowed here">AnchorPane1.bottomAnchor</error>>
|
|
<GridPane.rowIndex>0</GridPane.rowIndex>
|
|
</AnchorPane>
|
|
</children>
|
|
</AnchorPane>
|