@difizen/libro-cofine-editor 0.1.26 → 0.1.27
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/es/libro-e2-editor.js +2 -2
- package/package.json +7 -7
- package/src/libro-e2-editor.ts +2 -2
package/es/libro-e2-editor.js
CHANGED
|
@@ -238,8 +238,8 @@ export var LibroE2Editor = (_dec = transient(), _dec2 = inject(CommandRegistry),
|
|
|
238
238
|
this.setCursorPosition = function (position) {
|
|
239
239
|
var _this$monacoEditor19;
|
|
240
240
|
(_this$monacoEditor19 = _this.monacoEditor) === null || _this$monacoEditor19 === void 0 || _this$monacoEditor19.setPosition({
|
|
241
|
-
column: position.column,
|
|
242
|
-
lineNumber: position.line
|
|
241
|
+
column: position.column + 1,
|
|
242
|
+
lineNumber: position.line + 1
|
|
243
243
|
});
|
|
244
244
|
};
|
|
245
245
|
this.getSelection = function () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@difizen/libro-cofine-editor",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.27",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"libro",
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@difizen/monaco-editor-core": "0.39.4",
|
|
36
|
-
"@difizen/libro-cofine-editor-core": "^0.1.
|
|
37
|
-
"@difizen/libro-cofine-textmate": "^0.1.
|
|
38
|
-
"@difizen/libro-lsp": "^0.1.
|
|
39
|
-
"@difizen/libro-code-editor": "^0.1.
|
|
40
|
-
"@difizen/libro-common": "^0.1.
|
|
41
|
-
"@difizen/libro-core": "^0.1.
|
|
36
|
+
"@difizen/libro-cofine-editor-core": "^0.1.27",
|
|
37
|
+
"@difizen/libro-cofine-textmate": "^0.1.27",
|
|
38
|
+
"@difizen/libro-lsp": "^0.1.27",
|
|
39
|
+
"@difizen/libro-code-editor": "^0.1.27",
|
|
40
|
+
"@difizen/libro-common": "^0.1.27",
|
|
41
|
+
"@difizen/libro-core": "^0.1.27",
|
|
42
42
|
"@difizen/mana-app": "latest",
|
|
43
43
|
"resize-observer-polyfill": "^1.5.1",
|
|
44
44
|
"vscode-languageserver-protocol": "^3.17.4",
|
package/src/libro-e2-editor.ts
CHANGED
|
@@ -889,8 +889,8 @@ export class LibroE2Editor implements IEditor {
|
|
|
889
889
|
};
|
|
890
890
|
setCursorPosition = (position: IPosition) => {
|
|
891
891
|
this.monacoEditor?.setPosition({
|
|
892
|
-
column: position.column,
|
|
893
|
-
lineNumber: position.line,
|
|
892
|
+
column: position.column + 1,
|
|
893
|
+
lineNumber: position.line + 1,
|
|
894
894
|
});
|
|
895
895
|
};
|
|
896
896
|
getSelection = () => {
|