editor scope guides
This commit is contained in:
parent
d93fe98bcd
commit
a5d28cde8d
@ -26,9 +26,7 @@ final class EditorDocumentScopeGuideGraphicFactory {
|
|||||||
final EditorDocumentScopeGuideModel.ActiveGuides activeGuides) {
|
final EditorDocumentScopeGuideModel.ActiveGuides activeGuides) {
|
||||||
final var container = new HBox(lineNumberNode);
|
final var container = new HBox(lineNumberNode);
|
||||||
final var segments = model.segmentsForLine(paragraphIndex, activeGuides);
|
final var segments = model.segmentsForLine(paragraphIndex, activeGuides);
|
||||||
if (!segments.isEmpty()) {
|
|
||||||
container.getChildren().add(new ScopeGuideCanvas(segments));
|
container.getChildren().add(new ScopeGuideCanvas(segments));
|
||||||
}
|
|
||||||
return container;
|
return container;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user