projects
/
roobuilder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8945bca
)
src/Lsp.vala
author
Alan Knowles
<alan@roojs.com>
Sat, 16 Mar 2024 10:24:08 +0000
(18:24 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sat, 16 Mar 2024 10:24:08 +0000
(18:24 +0800)
src/Lsp.vala
patch
|
blob
|
history
diff --git
a/src/Lsp.vala
b/src/Lsp.vala
index
4d63b71
..
815438b
100644
(file)
--- 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; }
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<Range> ((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;
public Range selectionRange { get; set; }
public GLib.ListStore children { get; private set; default = new GLib.ListStore(typeof(DocumentSymbol)); }
public string? parent_name;