Skip to content

Commit

Permalink
Make search results tree contents act as reference context sources, n…
Browse files Browse the repository at this point in the history
…ot declaration
  • Loading branch information
Col-E committed Apr 27, 2024
1 parent 4cfd0d4 commit 9653c52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class PathNodeTree extends TreeView<PathNode<?>> {
*/
public PathNodeTree(@Nonnull CellConfigurationService configurationService, @Nonnull Actions actions) {
setShowRoot(false);
setCellFactory(param -> new WorkspaceTreeCell(ContextSource.DECLARATION, configurationService));
setCellFactory(param -> new WorkspaceTreeCell(ContextSource.REFERENCE, configurationService));
getStyleClass().addAll(Tweaks.EDGE_TO_EDGE, Styles.DENSE);
setOnKeyPressed(e -> {
KeyCode code = e.getCode();
Expand Down

0 comments on commit 9653c52

Please sign in to comment.