@bhsd/codemirror-mediawiki 2.17.2 → 2.17.4
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/bidi.d.ts +1 -2
- package/dist/codemirror.d.ts +0 -2
- package/dist/main.min.js +11 -11
- package/dist/mw.min.js +16 -16
- package/dist/ref.d.ts +2 -1
- package/dist/token.d.ts +1 -1
- package/dist/wiki.min.js +53 -0
- package/i18n/en.json +1 -1
- package/i18n/zh-hans.json +1 -1
- package/i18n/zh-hant.json +1 -1
- package/mediawiki.css +1 -0
- package/package.json +5 -5
- package/dist/util.d.ts +0 -11
package/dist/ref.d.ts
CHANGED
|
@@ -11,7 +11,8 @@ export declare const trees: WeakMap<EditorView | editor.ITextModel, Tree>;
|
|
|
11
11
|
* @param view
|
|
12
12
|
* @param target 目标名称
|
|
13
13
|
* @param all 是否查找所有
|
|
14
|
+
* @param group 是否group属性
|
|
14
15
|
*/
|
|
15
|
-
export declare const findRef: (view: EditorView | editor.ITextModel, target: string, all?: boolean) => Promise<Ranges>;
|
|
16
|
+
export declare const findRef: (view: EditorView | editor.ITextModel, target: string, all?: boolean, group?: boolean) => Promise<Ranges>;
|
|
16
17
|
export declare const refHover: import("@codemirror/state").Extension[];
|
|
17
18
|
export {};
|
package/dist/token.d.ts
CHANGED
|
@@ -132,7 +132,7 @@ export declare class MediaWiki {
|
|
|
132
132
|
get inComment(): Tokenizer;
|
|
133
133
|
eatTagName(name: string, isCloseTag?: boolean, isHtmlTag?: boolean): Tokenizer;
|
|
134
134
|
inHtmlTagAttribute(name: string, quote?: string): Tokenizer;
|
|
135
|
-
inExtTagAttribute(name: string, quote?: string, isLang?: boolean): Tokenizer;
|
|
135
|
+
inExtTagAttribute(name: string, quote?: string, isLang?: boolean, isPage?: boolean): Tokenizer;
|
|
136
136
|
eatExtTagArea(name: string): Tokenizer;
|
|
137
137
|
inExtTokens(origString: string): Tokenizer;
|
|
138
138
|
inVariable(pos?: number): Tokenizer;
|