src/Lsp.vala
authorAlan Knowles <alan@roojs.com>
Sat, 16 Mar 2024 09:20:40 +0000 (17:20 +0800)
committerAlan Knowles <alan@roojs.com>
Sat, 16 Mar 2024 09:20:40 +0000 (17:20 +0800)
src/Lsp.vala

index da7fd9c..70b97d9 100644 (file)
@@ -341,7 +341,7 @@ namespace Lsp {
         public SymbolKind kind { get; set; }
         public bool deprecated { get; set; }
         private Range? _initial_range;
-        public Range range {
+       /* public Range range {
             owned get {
                 if (_initial_range == null)
                     _initial_range = new Range.from_sourceref (children.first ()._source_reference);
@@ -349,6 +349,7 @@ namespace Lsp {
                 return children.fold<Range> ((child, current_range) => current_range.union (child.range), _initial_range);
             }
         }
+        */
         public Range selectionRange { get; set; }
         public GLib.ListStore children { get; private set; default = new Glib.ListStore(typeof(DocumentSymbol)); }
         public string? parent_name;