Skip to content

Commit

Permalink
revert change to ace-modes
Browse files Browse the repository at this point in the history
  • Loading branch information
nightwing committed Apr 18, 2024
1 parent da46e1f commit 1a03d4d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 134 deletions.
132 changes: 0 additions & 132 deletions ace-modes.d.ts
Expand Up @@ -130,34 +130,6 @@ declare module "ace-code/src/mode/behaviour" {
export const Behaviour: new () => import("ace-code").Ace.Behaviour;
}

declare module "ace-code/src/mode/behaviour/css" {
export const CssBehaviour: new () => import("ace-code").Ace.Behaviour;
}

declare module "ace-code/src/mode/behaviour/cstyle" {
export const CstyleBehaviour: new () => import("ace-code").Ace.Behaviour;
}

declare module "ace-code/src/mode/behaviour/html" {
export const HtmlBehaviour: new () => import("ace-code").Ace.Behaviour;
}

declare module "ace-code/src/mode/behaviour/javascript" {
export const JavaScriptBehaviour: new () => import("ace-code").Ace.Behaviour;
}

declare module "ace-code/src/mode/behaviour/liquid" {
export const LiquidBehaviour: new () => import("ace-code").Ace.Behaviour;
}

declare module "ace-code/src/mode/behaviour/xml" {
export const XmlBehaviour: new () => import("ace-code").Ace.Behaviour;
}

declare module "ace-code/src/mode/behaviour/xquery" {
export const XQueryBehaviour: new () => import("ace-code").Ace.Behaviour;
}

declare module "ace-code/src/mode/bibtex_highlight_rules" {
export const BibTeXHighlightRules: new () => import("ace-code").Ace.HighlightRules;
}
Expand Down Expand Up @@ -420,110 +392,6 @@ declare module "ace-code/src/mode/flix" {
export const Mode: new () => import("ace-code").Ace.SyntaxMode;
}

declare module "ace-code/src/mode/folding/asciidoc" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/c9search" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/coffee" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/csharp" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/cstyle" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/diff" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/drools" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/fold_mode" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/haskell_cabal" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/html" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/ini" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/java" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/javascript" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/latex" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/lua" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/markdown" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/mixed" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/php" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/pythonic" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/ruby" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/sql" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/sqlserver" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/vbscript" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/velocity" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/xml" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/folding/yaml" {
export const FoldMode: new () => import("ace-code").Ace.Folding;
}

declare module "ace-code/src/mode/forth_highlight_rules" {
export const ForthHighlightRules: new () => import("ace-code").Ace.HighlightRules;
}
Expand Down
12 changes: 10 additions & 2 deletions ace-modules.d.ts
Expand Up @@ -2442,15 +2442,23 @@ declare module "ace-code/src/keyboard/keybinding" {
* @param {KeyboardHandler & {attach?: (editor: any) => void, detach?: (editor: any) => void;}} [kb]
* @param {number} [pos]
*/
addKeyboardHandler(kb?: KeyboardHandler & {
addKeyboardHandler(kb?: Partial<import("ace-code/src/keyboard/hash_handler").HashHandler> & {
attach?: (editor: import("ace-code/src/editor").Editor) => void;
detach?: (editor: import("ace-code/src/editor").Editor) => void;
getStatusText?: (editor?: any, data?: any) => string;
} & {
attach?: (editor: any) => void;
detach?: (editor: any) => void;
}, pos?: number): void;
/**
* @param {KeyboardHandler & {attach?: (editor: any) => void, detach?: (editor: any) => void;}} kb
* @returns {boolean}
*/
removeKeyboardHandler(kb: KeyboardHandler & {
removeKeyboardHandler(kb: Partial<import("ace-code/src/keyboard/hash_handler").HashHandler> & {
attach?: (editor: import("ace-code/src/editor").Editor) => void;
detach?: (editor: import("ace-code/src/editor").Editor) => void;
getStatusText?: (editor?: any, data?: any) => string;
} & {
attach?: (editor: any) => void;
detach?: (editor: any) => void;
}): boolean;
Expand Down

0 comments on commit 1a03d4d

Please sign in to comment.