@codingame/monaco-languageclient-wrapper 2.8.0 → 2.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -7205,13 +7205,13 @@ interface Position {
7205
7205
  */
7206
7206
  line: number;
7207
7207
  /**
7208
- * Character offset on a line in a document (zero-based). Assuming that the line is
7209
- * represented as a string, the `character` value represents the gap between the
7210
- * `character` and `character + 1`.
7208
+ * Character offset on a line in a document (zero-based).
7209
+ *
7210
+ * The meaning of this offset is determined by the negotiated
7211
+ * `PositionEncodingKind`.
7211
7212
  *
7212
7213
  * If the character value is greater than the line length it defaults back to the
7213
7214
  * line length.
7214
- * If a line number is negative, it defaults to 0.
7215
7215
  */
7216
7216
  character: number;
7217
7217
  }
@@ -7230,7 +7230,7 @@ interface Position {
7230
7230
  */
7231
7231
  interface Range {
7232
7232
  /**
7233
- * The range's start position
7233
+ * The range's start position.
7234
7234
  */
7235
7235
  start: Position;
7236
7236
  /**
@@ -8862,11 +8862,15 @@ interface IConnectionProvider {
8862
8862
  }
8863
8863
 
8864
8864
  declare class MonacoLanguageClient extends BaseLanguageClient {
8865
- static bypassConversion: (result: any, token?: CancellationToken$1 | undefined) => any;
8865
+ static bypassConversion: (result: any, token?: CancellationToken$1) => any;
8866
8866
  protected readonly connectionProvider: IConnectionProvider;
8867
8867
  constructor({ id, name, clientOptions, connectionProvider }: MonacoLanguageClient.Options);
8868
8868
  protected createMessageTransports(encoding: string): Promise<MessageTransports>;
8869
8869
  protected getLocale(): string;
8870
+ protected registerBuiltinFeatures(): void;
8871
+ registerTextDocumentSaveFeatures(): void;
8872
+ registerConfigurationFeatures(): void;
8873
+ registerProgressFeatures(): void;
8870
8874
  }
8871
8875
  declare namespace MonacoLanguageClient {
8872
8876
  interface Options {