From: Alan Knowles Date: Sat, 16 Mar 2024 10:24:08 +0000 (+0800) Subject: src/Lsp.vala X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=86ba571219b802f4d8642577b50121faf3db271a;p=roobuilder src/Lsp.vala --- diff --git a/src/Lsp.vala b/src/Lsp.vala index 4d63b713e..815438b98 100644 --- a/src/Lsp.vala +++ b/src/Lsp.vala @@ -340,16 +340,8 @@ namespace Lsp { public string? detail { get; set; } public SymbolKind kind { get; set; } public bool deprecated { get; set; } - private Range? _initial_range; - /* public Range range { - owned get { - if (_initial_range == null) - _initial_range = new Range.from_sourceref (children.first ()._source_reference); - - return children.fold ((child, current_range) => current_range.union (child.range), _initial_range); - } - } - */ + + public Range range { get; set; } public Range selectionRange { get; set; } public GLib.ListStore children { get; private set; default = new GLib.ListStore(typeof(DocumentSymbol)); } public string? parent_name;