@bhsd/codemirror-mediawiki 2.17.1 → 2.17.2

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/ref.d.ts CHANGED
@@ -2,9 +2,10 @@ import { EditorView } from '@codemirror/view';
2
2
  import type { AST } from 'wikiparser-node/base';
3
3
  import type { editor } from 'monaco-editor';
4
4
  declare type Ranges = [number, number][];
5
- export declare const trees: WeakMap<EditorView | editor.ITextModel, Promise<AST> & {
5
+ declare type Tree = Promise<AST> & {
6
6
  docChanged?: boolean;
7
- }>;
7
+ };
8
+ export declare const trees: WeakMap<EditorView | editor.ITextModel, Tree>;
8
9
  /**
9
10
  * 异步查找注释的内容
10
11
  * @param view
package/i18n/en.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.17.1",
2
+ "version": "2.17.2",
3
3
  "lang": "en",
4
4
  "i18n-failed": "Failed to fetch the translation file in $1.",
5
5
  "title": "CodeMirror Addons",
package/i18n/zh-hans.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.17.1",
2
+ "version": "2.17.2",
3
3
  "lang": "zh-hans",
4
4
  "i18n-failed": "获取 $1 的语言文件失败。",
5
5
  "title": "CodeMirror插件",
@@ -41,6 +41,8 @@
41
41
  "Stylelint-config": "JSON格式的Stylelint设置:",
42
42
  "and": "和",
43
43
  "json-error": "JSON格式错误:$1",
44
+ "phrase-Go-to-line": "跳转到行",
45
+ "phrase-go": "跳转",
44
46
  "phrase-Find": "查找",
45
47
  "phrase-next": "下一个",
46
48
  "phrase-previous": "上一个",
package/i18n/zh-hant.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.17.1",
2
+ "version": "2.17.2",
3
3
  "lang": "zh-hant",
4
4
  "i18n-failed": "取得 $1 的語言檔案失敗。",
5
5
  "title": "CodeMirror外掛程式",
@@ -41,6 +41,8 @@
41
41
  "Stylelint-config": "JSON格式的Stylelint設定:",
42
42
  "and": "和",
43
43
  "json-error": "JSON格式錯誤:$1",
44
+ "phrase-Go-to-line": "跳轉到行",
45
+ "phrase-go": "跳轉",
44
46
  "phrase-Find": "尋找",
45
47
  "phrase-next": "下一個",
46
48
  "phrase-previous": "上一個",
package/mediawiki.css CHANGED
@@ -1,9 +1,10 @@
1
1
  .cm-editor {
2
2
  background-color: #fff;
3
3
  }
4
- .cm-search .cm-textfield,
5
- .cm-search .cm-button,
6
- .cm-panels > .cm-search.cm-panel label {
4
+ .cm-panel .cm-textfield,
5
+ .cm-panel .cm-button,
6
+ .cm-panels > .cm-search.cm-panel label,
7
+ .cm-panels > .cm-gotoLine.cm-panel label {
7
8
  font-size: inherit;
8
9
  }
9
10
  .cm-tooltip-fold {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhsd/codemirror-mediawiki",
3
- "version": "2.17.1",
3
+ "version": "2.17.2",
4
4
  "description": "Modified CodeMirror mode based on wikimedia/mediawiki-extensions-CodeMirror",
5
5
  "keywords": [
6
6
  "mediawiki",