Skip to content

Commit

Permalink
filter nodes tagged with @internal flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mkslanc committed Jun 18, 2024
1 parent d94f658 commit 97678b1
Show file tree
Hide file tree
Showing 21 changed files with 149 additions and 203 deletions.
8 changes: 5 additions & 3 deletions ace-ext.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,9 @@ declare module "ace-code/src/ext/textarea" {
setDefaultValues(path: string, optionHash: {
[key: string]: any;
}): void;
setMessages(value: any): void;
setMessages(value: any, options?: {
placeholders?: "dollarSigns" | "curlyBrackets";
}): void;
nls(key: string, defaultString: string, params?: {
[x: string]: any;
}): any;
Expand All @@ -792,7 +794,7 @@ declare module "ace-code/src/ext/textarea" {
string
], onLoad: (module: any) => void) => void;
setModuleLoader: (moduleName: any, onLoad: any) => void;
version: "1.34.2";
version: "1.35.0";
};
edit: (el: string | (HTMLElement & {
env?: any;
Expand All @@ -804,7 +806,7 @@ declare module "ace-code/src/ext/textarea" {
EditSession: typeof ace.EditSession;
UndoManager: typeof ace.UndoManager;
VirtualRenderer: typeof ace.VirtualRenderer;
version: "1.34.2";
version: "1.35.0";
transformTextarea: (element: any, options: any) => ace.Editor;
defaultOptions: {
mode: string;
Expand Down
10 changes: 1 addition & 9 deletions ace-internal.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ export namespace Ace {
sharedPopups: boolean,
useStrictCSP: boolean | null
}
//setOption<K extends keyof T>(name: K, value: T[K]): void;
//
// getOption<K extends keyof T>(name: K): T[K];

export interface Config {
get<K extends keyof ConfigOptions>(key: K): ConfigOptions[K];
Expand Down Expand Up @@ -1342,12 +1339,7 @@ declare module "./src/edit_session" {
$occurMatchingLines?: any,
$useEmacsStyleLineStart?: boolean,
$selectLongWords?: boolean,
curOp?: {
command: {},
args: string,
scrollTop: number,
[key: string]: any;
},
curOp?: any,

getSelectionMarkers(): any[],
}
Expand Down
5 changes: 4 additions & 1 deletion ace-lib.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,11 @@ declare module "ace-code/src/lib/app_config" {
}): void;
/**
* @param {any} value
* @param {{placeholders?: "dollarSigns" | "curlyBrackets"}} [options]
*/
setMessages(value: any): void;
setMessages(value: any, options?: {
placeholders?: "dollarSigns" | "curlyBrackets";
}): void;
/**
* @param {string} key
* @param {string} defaultString
Expand Down
2 changes: 1 addition & 1 deletion ace-modes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1561,4 +1561,4 @@ declare module "ace-code/src/mode/zig_highlight_rules" {

declare module "ace-code/src/mode/zig" {
export const Mode: new () => import("ace-code").Ace.SyntaxMode;
}
}
Loading

0 comments on commit 97678b1

Please sign in to comment.