From: Alan Knowles Date: Tue, 19 Mar 2024 15:24:00 +0000 (+0800) Subject: src/Lsp.vala X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=e2303e2a6de7dd61e5fe786d70cff1cce3a8bb02;p=roobuilder src/Lsp.vala --- diff --git a/src/Lsp.vala b/src/Lsp.vala index eb1c99804..346895de4 100644 --- a/src/Lsp.vala +++ b/src/Lsp.vala @@ -63,10 +63,10 @@ namespace Lsp { public class Position : Object, Gee.Comparable { - public Position.new_line(uint line) + public Position(uint line, uint chr) { this.line = line; - this.character = 1; + this.character = chr; } /** * Line position in a document (zero-based).