projects
/
roobuilder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31277aa
)
src/Lsp.vala
author
Alan Knowles
<alan@roojs.com>
Sun, 28 Jan 2024 11:12:21 +0000
(19:12 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sun, 28 Jan 2024 11:12:21 +0000
(19:12 +0800)
src/Lsp.vala
patch
|
blob
|
history
diff --git
a/src/Lsp.vala
b/src/Lsp.vala
index
e74dc46
..
ec3c8a5
100644
(file)
--- a/
src/Lsp.vala
+++ b/
src/Lsp.vala
@@
-165,6
+165,16
@@
namespace Lsp {
}
public class Diagnostic : Object {
+
+ public Diagnostic.simple ( int line, int character, string message)
+ {
+ this.message = message;
+ this.severity = DiagnosticSeverity.Error;
+ this.range = new Range.simple(line, character );
+
+
+
+ }
/**
* The range at which the message applies.
*/