Skip to content

Commit 2fdf319

Browse files
committed
filters.core: Fix error due to constructor API change
Signed-off-by: Arnaud Fiorini <fiorini.arnaud@gmail.com>
1 parent dd7c13b commit 2fdf319

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • analyses/org.eclipse.tracecompass.incubator.filters.core/src/org/eclipse/tracecompass/incubator/internal/filters/core/client

analyses/org.eclipse.tracecompass.incubator.filters.core/src/org/eclipse/tracecompass/incubator/internal/filters/core/client/LanguageFilterClient.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
/**
4747
* The LanguageFilterClient implementation for the FilterBox
4848
*
49-
* See LSP specifications for more informations.
49+
* See LSP specifications for more information.
5050
*
5151
* @author Maxime Thibault
5252
*
@@ -97,7 +97,7 @@ public void publishDiagnostics(PublishDiagnosticsParams diagnostics) {
9797

9898
/**
9999
* Task to ask the server for autocompletion hints. Then update the dropdown
100-
* sugestions
100+
* suggestions
101101
*
102102
* @param uri
103103
* For a text document this would be a path to the file. In order
@@ -180,7 +180,7 @@ public void register(@NonNull LspObserver obs) {
180180
}
181181

182182
/**
183-
* Tell the server that the document at uri has been open
183+
* Tell the server that the document at uri has been opened
184184
*
185185
* @param uri
186186
*/
@@ -193,7 +193,7 @@ public void tellDidOpen(String uri) {
193193
}
194194

195195
/**
196-
* Tell the server that the document at uri as change.
196+
* Tell the server that the document at uri has changed.
197197
*
198198
* @param uri
199199
* @param input
@@ -211,7 +211,7 @@ public void tellDidChange(String uri, String input, int cursorPos) {
211211
Position p1 = new Position(0, min);
212212
Position p2 = new Position(0, max);
213213
Range r = new Range(p1, p2);
214-
TextDocumentContentChangeEvent change = new TextDocumentContentChangeEvent(r, max + 1, input);
214+
TextDocumentContentChangeEvent change = new TextDocumentContentChangeEvent(r, input);
215215
List<TextDocumentContentChangeEvent> changelist = new ArrayList<>();
216216
changelist.add(change);
217217
VersionedTextDocumentIdentifier filterBoxId = new VersionedTextDocumentIdentifier();

0 commit comments

Comments
 (0)