Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
713abb6
chore: allow custom version number release script (#5699)
akoreman Dec 17, 2024
e580ecf
release v1.37.0
Dec 17, 2024
9df7987
chore: bump version in d.ts files on release (#5702)
akoreman Dec 20, 2024
66a6736
fix: hide gutter tooltip event missing from editor signal (#5701)
nlujjawal Dec 20, 2024
23eeb09
Zexpose gutter tooltip row information in gutter tooltip class (#5703)
nlujjawal Dec 20, 2024
e56cc9c
release v1.37.1
nlujjawal Dec 20, 2024
9c94712
disable loading emmet from other domain (#5704)
whazor Dec 23, 2024
de21d50
fix: fix return type of supportsFile modelist (#5705)
akoreman Dec 23, 2024
e445aaf
release v1.37.2
nlujjawal Jan 6, 2025
303904c
chore: add missing gutter editor events to types (#5712)
akoreman Jan 7, 2025
37008e0
release v1.37.3
Jan 7, 2025
2c8bf91
fix: Remove unnecesary `typeof` from type imports in declarations (#5…
jperals Jan 9, 2025
ef08dfb
release v1.37.4
Jan 9, 2025
85f01ca
docs: Correct return type of Search.find() (#5711)
ferdnyc Jan 13, 2025
7ae3a4c
fix: update aria-roledescription gutter (#5718)
akoreman Jan 16, 2025
2df045d
release v1.37.5
Jan 16, 2025
09a0c5a
fix(AcePopup): fix aria-posinset issue on google chrome (#5719)
xyos Jan 16, 2025
5acea6d
fix(VirtualRenderer): fix scrollbar overlap on autocompletion (#5713)
xyos Jan 20, 2025
73f9f17
use https for homepage (#5721)
phil-hands Jan 27, 2025
62b973e
fix: calling setMode just before destroy causes error reading getLeng…
nlujjawal Jan 28, 2025
9a76656
fix: types for setTimeout/setInterval calls (#5726)
mkslanc Jan 28, 2025
a4b9d2d
Fix: wrong type of paste event and missing types for themelist extens…
mkslanc Jan 28, 2025
6f05b92
fix test failing when TZ env variable is modified (#5734)
nightwing Jan 30, 2025
77b9fe1
Fix: highlight indent guides with wrapped lines (#5621)
mkslanc Feb 2, 2025
75fae83
Fix linter complaints (#5735)
nightwing Feb 3, 2025
ef8b1f0
Cleanup (#5720)
nightwing Feb 3, 2025
09fba2e
fix: improve aria attributes of popup elements (#5739)
babalaui Feb 5, 2025
0db7585
feat(popup): add supporting skipFilter flag for popup item (#5740)
nlujjawal Feb 10, 2025
09bbe54
release v1.38.0
nlujjawal Feb 12, 2025
9574e1e
Fix wrong event types and missing ace.require for ace-builds (#5744)
mkslanc Feb 15, 2025
fbe3ddc
fix: gutter hover tooltip a11y improvements (#5747)
babalaui Feb 19, 2025
a27e1e8
fix: set score completion item when skipfilter true (#5749)
akoreman Feb 19, 2025
ff16482
fix: check if row is present when setting aria label of popup element…
babalaui Feb 20, 2025
18cc336
fix: narrowing platform to be either win or mac (#5707)
marinsokol5 Feb 21, 2025
f9c8ed2
csv mode (#5748)
nightwing Feb 21, 2025
06d51b9
feat: Multiline Search Support: line breaks `\n` (#5675)
sekedus Feb 21, 2025
08ac1a4
add backwards multiline search test (#5751)
akoreman Feb 21, 2025
e237e54
release v1.39.0
Feb 21, 2025
810c465
fix: Fix is check in xml FoldMode (#5752)
mkslanc Feb 24, 2025
3d7eff8
Add Winter CMS to list of projects on homepage (#5757)
LukeTowers Feb 27, 2025
adde072
fix: updateDocTooltip with undefined this.completions (#5754)
mkslanc Mar 3, 2025
cd78a94
workaround for broken ligatures in source code pro font on fedora (#5…
nightwing Mar 4, 2025
b3de3c1
fix: replace NodeList.foreach with for loop (#5769)
InspiredGuy Mar 10, 2025
2516181
fix popups being covered by page scrollbar (#5763)
nightwing Mar 19, 2025
1098e53
Feat: Editing is disabled tooltip in readonly mode (#5771)
mkslanc Mar 19, 2025
4c3ee2a
fix readonly warning tooltip being shown after non-readonly commands …
nightwing Mar 20, 2025
8b6ac67
fix searchbar not working on mobile (#5773)
nightwing Mar 20, 2025
6b4c7a0
fix: wrong java keywords (#5759)
mkslanc Mar 20, 2025
1c16b49
release v1.39.1
nightwing Mar 20, 2025
9c880b0
Fix rust mode (#5777)
nightwing Mar 24, 2025
c41e5be
chore: don't autoclose p1 issues (#5778)
akoreman Mar 24, 2025
78ad9c7
Update drools folding to include 'global' and 'import' (#5775)
h11sam Mar 25, 2025
8f4f831
add separate inline diff editor
mkslanc Apr 8, 2025
c3849f6
refactor diffViews
mkslanc Apr 8, 2025
bebc483
prevent creation of unremovable fold (#5790)
nightwing Apr 8, 2025
a07d129
unfold command should not add folds (#5793)
nightwing Apr 9, 2025
a8f6b1c
fix: text layer placement; experimental ghost markers
mkslanc Apr 9, 2025
e0a3a9f
marker layer + text layer for inline diff view
mkslanc Apr 10, 2025
02ca705
refactoring; cleanup
mkslanc Apr 10, 2025
d02c085
fix filter-lines
nightwing Apr 11, 2025
14f7e32
small refactoring
mkslanc Apr 11, 2025
24001f9
change API
mkslanc Apr 13, 2025
6fde745
feature(gutter): add experimental ability to replace fold icon with c…
nlujjawal Apr 14, 2025
dda45af
add `showSideA` property; fix first marker not showed
mkslanc Apr 14, 2025
84930c5
Merge remote-tracking branch 'origin/HEAD'
nightwing Apr 14, 2025
3d75f5b
start adding test for diff algorithm
nightwing Apr 14, 2025
c5d19fd
fix: diff test
mkslanc Apr 15, 2025
8037400
feat(gutter): added keyboard handling for experimental feature custom…
nlujjawal Apr 15, 2025
e08d4fe
release v1.40.0
nlujjawal Apr 15, 2025
5ab4565
createPatch
mkslanc Apr 15, 2025
3f5d256
fix path on windows
nightwing Apr 15, 2025
26f56b2
tweak colors
nightwing Apr 15, 2025
f1b4fce
start improving demo
nightwing Apr 15, 2025
a828aa6
fix: add undomanager to split editors
mkslanc Apr 16, 2025
4c75e2a
fix: use different editors for different showSides
mkslanc Apr 16, 2025
75a38e7
tweak
nightwing Apr 17, 2025
3ff7fdc
fix: wrong markers; changeTheme
mkslanc Apr 17, 2025
116df8a
fix: ignoreTrimWhitespace
mkslanc Apr 17, 2025
dcd0f45
fix: flags
anijanyan Apr 17, 2025
5c1a001
add gutter decorators for changes
mkslanc Apr 17, 2025
0e43c84
implement minimal gutter decorators
mkslanc Apr 18, 2025
03f770c
fix wrong class addition
mkslanc Apr 18, 2025
51dc751
fix marker bug
nightwing Apr 18, 2025
f9342a7
cleanup
nightwing Apr 18, 2025
0a97a4d
misc fixes
mkslanc Apr 18, 2025
8609f07
just for test purposes
mkslanc Apr 18, 2025
3ec2cd2
add ability to choose providers
mkslanc Apr 20, 2025
14ad9da
Revert "just for test purposes"
nightwing Apr 20, 2025
3447545
fix: selection marker style
mkslanc Apr 21, 2025
e5c76b6
fix ignore whitespace support
nightwing Apr 21, 2025
4aa4ede
fix: char changes highlight for DiffMatchPatchProvider
mkslanc Apr 21, 2025
c75b625
experiment second editor
nightwing Apr 21, 2025
9116ad4
Merge remote-tracking branch 'azat/inline-diff'
nightwing Apr 21, 2025
e00740e
cleanup when detaching
nightwing Apr 21, 2025
bb908fd
move code to ext
nightwing Apr 21, 2025
05bb0da
update paths
nightwing Apr 21, 2025
be4f22a
cleanup
mkslanc Apr 21, 2025
3fbb773
syncSelectionMarker -> front marker; cleanup
mkslanc Apr 21, 2025
79a54c0
move scroll decorators; disable scroll decorators for now
mkslanc Apr 21, 2025
20a3a81
small tweaks
nightwing Apr 21, 2025
f96559f
Merge remote-tracking branch 'azat/inline-diff'
nightwing Apr 21, 2025
eb5bb2c
Merge remote-tracking branch 'origin/HEAD'
nightwing Apr 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ demo/
api/
**/* *
**/node_modules
0*
0*
esm-resolver.js
102 changes: 51 additions & 51 deletions .github/ISSUE_TEMPLATE/add-to-website.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
---
name: "🌐 Add a project to the list of project using Ace on its website."
description: Add a project to the list of projects using Ace, displayed on the website.
title: "Add project (project name) to the list of projects using Ace on its website"
labels: [website, needs-triage]
assignees: []
body:
- type: markdown
attributes:
value: |
The fastest way to get your project to be displayed on the website is to create a PR.
Examples: https://github.com/ajaxorg/ace/pull/5014, https://github.com/ajaxorg/ace/pull/5222.
If for any reason creating a PR is not an option for you, please proceed with filling out this issue. Thanks!
- type: input
id: name
attributes:
label: Project name
description: A name of the project to be used on Ace website.
validations:
required: true
- type: input
id: project-link
attributes:
label: Project link
description: A link to the project's website.
validations:
required: true
- type: input
id: logo-link
attributes:
label: Logo link
description: |
A link to the logo image to be used on the website for the project. If not provided, only the name of the project will be displayed.
By submitting this link, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
validations:
required: false
- type: textarea
id: info
attributes:
label: Additional information
description: Any additional information you would like to share.
validations:
required: false
- type: checkboxes
id: ack
attributes:
label: Acknowledgements
options:
- label: I may be able to implement this request.
required: false
---
name: "🌐 Add a project to the list of project using Ace on its website."
description: Add a project to the list of projects using Ace, displayed on the website.
title: "Add project (project name) to the list of projects using Ace on its website"
labels: [website, needs-triage]
assignees: []
body:
- type: markdown
attributes:
value: |
The fastest way to get your project to be displayed on the website is to create a PR.
Examples: https://github.com/ajaxorg/ace/pull/5014, https://github.com/ajaxorg/ace/pull/5222.
If for any reason creating a PR is not an option for you, please proceed with filling out this issue. Thanks!
- type: input
id: name
attributes:
label: Project name
description: A name of the project to be used on Ace website.
validations:
required: true
- type: input
id: project-link
attributes:
label: Project link
description: A link to the project's website.
validations:
required: true
- type: input
id: logo-link
attributes:
label: Logo link
description: |
A link to the logo image to be used on the website for the project. If not provided, only the name of the project will be displayed.

By submitting this link, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
validations:
required: false
- type: textarea
id: info
attributes:
label: Additional information
description: Any additional information you would like to share.
validations:
required: false
- type: checkboxes
id: ack
attributes:
label: Acknowledgements
options:
- label: I may be able to implement this request.
required: false
2 changes: 1 addition & 1 deletion .github/workflows/close-stale-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

# These labels are required
stale-issue-label: closing-soon
exempt-issue-labels: no-autoclose
exempt-issue-labels: no-autoclose, p1
response-requested-label: response-requested

# Don't set closed-for-staleness label to skip closing very old issues
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ npm-debug.log
deps/
dist

lib/ace
lib/ace
styles
93 changes: 93 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,99 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [1.40.0](https://github.com/ajaxorg/ace/compare/v1.39.1...v1.40.0) (2025-04-15)


### Features

* **gutter:** added keyboard handling for experimental feature custom widgets ([#5796](https://github.com/ajaxorg/ace/issues/5796)) ([8037400](https://github.com/ajaxorg/ace/commit/803740045ca73555b01116b582791fce940cbe00))

### [1.39.1](https://github.com/ajaxorg/ace/compare/v1.39.0...v1.39.1) (2025-03-20)


### Features

* Editing is disabled tooltip in readonly mode ([#5771](https://github.com/ajaxorg/ace/issues/5771)) ([1098e53](https://github.com/ajaxorg/ace/commit/1098e5306fdc02e873cdadc85d2e13228abfe80c))


### Bug Fixes

* Fix is check in xml FoldMode ([#5752](https://github.com/ajaxorg/ace/issues/5752)) ([810c465](https://github.com/ajaxorg/ace/commit/810c4650288d32b119239f7731a3b3be0c25376c))
* replace NodeList.foreach with for loop ([#5769](https://github.com/ajaxorg/ace/issues/5769)) ([b3de3c1](https://github.com/ajaxorg/ace/commit/b3de3c1d99540bd94df122cedb7c5e3a792986a7))
* updateDocTooltip with undefined this.completions ([#5754](https://github.com/ajaxorg/ace/issues/5754)) ([adde072](https://github.com/ajaxorg/ace/commit/adde072dd4810aa8f99bb1e16a6ab7dfc81a6e9d))
* wrong java keywords ([#5759](https://github.com/ajaxorg/ace/issues/5759)) ([6b4c7a0](https://github.com/ajaxorg/ace/commit/6b4c7a09d844a2e16d664d3e9fbb384b543bcfcb))

## [1.39.0](https://github.com/ajaxorg/ace/compare/v1.38.0...v1.39.0) (2025-02-21)


### Features

* Multiline Search Support: line breaks `\n` ([#5675](https://github.com/ajaxorg/ace/issues/5675)) ([06d51b9](https://github.com/ajaxorg/ace/commit/06d51b9164dc9dc39fbd6df26b7132f4b9580a4c))


### Bug Fixes

* check if row is present when setting aria label of popup elements ([#5750](https://github.com/ajaxorg/ace/issues/5750)) ([ff16482](https://github.com/ajaxorg/ace/commit/ff16482101965fc4fce488a61a3cd0f9454d8e87))
* gutter hover tooltip a11y improvements ([#5747](https://github.com/ajaxorg/ace/issues/5747)) ([fbe3ddc](https://github.com/ajaxorg/ace/commit/fbe3ddccb1248c9f8f4a6524d2ded7235d225b41))
* narrowing platform to be either win or mac ([#5707](https://github.com/ajaxorg/ace/issues/5707)) ([18cc336](https://github.com/ajaxorg/ace/commit/18cc336187519107f47bb15e989008f48f0b1563))
* set score completion item when skipfilter true ([#5749](https://github.com/ajaxorg/ace/issues/5749)) ([a27e1e8](https://github.com/ajaxorg/ace/commit/a27e1e8a5d3d912b3b554cd2b5916b58750e8e71))

## [1.38.0](https://github.com/ajaxorg/ace/compare/v1.37.5...v1.38.0) (2025-02-12)


### Features

* **popup:** add supporting skipFilter flag for popup item ([#5740](https://github.com/ajaxorg/ace/issues/5740)) ([0db7585](https://github.com/ajaxorg/ace/commit/0db7585ae0ccbd353091426f60ac3d9e53e182c4))


### Bug Fixes

* **AcePopup:** fix aria-posinset issue on google chrome ([#5719](https://github.com/ajaxorg/ace/issues/5719)) ([09a0c5a](https://github.com/ajaxorg/ace/commit/09a0c5a11106754916a4fc324a35e8daf84055ba))
* calling setMode just before destroy causes error reading getLength ([#5727](https://github.com/ajaxorg/ace/issues/5727)) ([62b973e](https://github.com/ajaxorg/ace/commit/62b973ef2247debdd51cf6a41a3b24b97277efdb))
* highlight indent guides with wrapped lines ([#5621](https://github.com/ajaxorg/ace/issues/5621)) ([77b9fe1](https://github.com/ajaxorg/ace/commit/77b9fe1bc0b10b4c3fb2780d65f9d256d60634ce))
* improve aria attributes of popup elements ([#5739](https://github.com/ajaxorg/ace/issues/5739)) ([09fba2e](https://github.com/ajaxorg/ace/commit/09fba2e7347cd499c979e53ec7a8d8ee1fd48918))
* types for setTimeout/setInterval calls ([#5726](https://github.com/ajaxorg/ace/issues/5726)) ([9a76656](https://github.com/ajaxorg/ace/commit/9a76656acc9528a4a2e92a3b72c4d6598d3a0a8c))
* **VirtualRenderer:** fix scrollbar overlap on autocompletion ([#5713](https://github.com/ajaxorg/ace/issues/5713)) ([5acea6d](https://github.com/ajaxorg/ace/commit/5acea6d9200f4ca0c8495350cda6e41e8351913f))
* wrong type of paste event and missing types for themelist extension ([#5725](https://github.com/ajaxorg/ace/issues/5725)) ([a4b9d2d](https://github.com/ajaxorg/ace/commit/a4b9d2d91a2be841320030d93afde46ae723c8c3))

### [1.37.5](https://github.com/ajaxorg/ace/compare/v1.37.4...v1.37.5) (2025-01-16)


### Bug Fixes

* update aria-roledescription gutter ([#5718](https://github.com/ajaxorg/ace/issues/5718)) ([7ae3a4c](https://github.com/ajaxorg/ace/commit/7ae3a4c5f6f6e9bd31ae491f1fcef71fc5ae62fa))

### [1.37.4](https://github.com/ajaxorg/ace/compare/v1.37.3...v1.37.4) (2025-01-09)


### Bug Fixes

* Remove unnecesary `typeof` from type imports in declarations ([#5715](https://github.com/ajaxorg/ace/issues/5715)) ([2c8bf91](https://github.com/ajaxorg/ace/commit/2c8bf916d75b086b958c205896bc2adc1747d241))

### [1.37.3](https://github.com/ajaxorg/ace/compare/v1.37.2...v1.37.3) (2025-01-07)

### [1.37.2](https://github.com/ajaxorg/ace/compare/v1.37.1...v1.37.2) (2025-01-06)


### Bug Fixes

* fix return type of supportsFile modelist ([#5705](https://github.com/ajaxorg/ace/issues/5705)) ([de21d50](https://github.com/ajaxorg/ace/commit/de21d50656bd874e1626265b8853923cb8da7c8b))

### [1.37.1](https://github.com/ajaxorg/ace/compare/v1.37.0...v1.37.1) (2024-12-20)


### Bug Fixes

* hide gutter tooltip event missing from editor signal ([#5701](https://github.com/ajaxorg/ace/issues/5701)) ([66a6736](https://github.com/ajaxorg/ace/commit/66a673643d5d128eaf59d4fb6e5907fa6fa68773))

### [1.36.6](https://github.com/ajaxorg/ace/compare/v1.36.5...v1.36.6) (2024-12-17)


### Bug Fixes

* update contribuition guide to mandate test cases ([#5694](https://github.com/ajaxorg/ace/issues/5694)) ([e6533b3](https://github.com/ajaxorg/ace/commit/e6533b3972d5adbf5995646c44894466b3b7f40f))
* wrong behaviour rules in modes ([#5682](https://github.com/ajaxorg/ace/issues/5682)) ([442680c](https://github.com/ajaxorg/ace/commit/442680c68e66531c2d5ac80d80444ed600262ec1))

### [1.36.5](https://github.com/ajaxorg/ace/compare/v1.36.4...v1.36.5) (2024-11-14)


Expand Down
8 changes: 6 additions & 2 deletions Makefile.dryice.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@ function correctDeclarationsForBuild(path, additionalDeclarations) {
if (additionalDeclarations) {
newDefinitions = newDefinitions + '\n' + additionalDeclarations;
}
if (/ace\.d\.ts$/.test(path)) {
var aceRequire = "$1\n export function require(name: string): any;";
newDefinitions = newDefinitions.replace(/(declare\smodule\s"ace\-builds"\s{)/, aceRequire);
}
fs.writeFileSync(path, newDefinitions);
}

Expand Down Expand Up @@ -268,6 +272,7 @@ function demo() {
);
}

require("rimraf").sync(BUILD_DIR + "/demo/kitchen-sink/docs/");
copy(ACE_HOME +"/demo/kitchen-sink/docs/", BUILD_DIR + "/demo/kitchen-sink/docs/");

copy.file(ACE_HOME + "/demo/kitchen-sink/logo.png", BUILD_DIR + "/demo/kitchen-sink/logo.png");
Expand Down Expand Up @@ -312,7 +317,7 @@ function demo() {
source = source.replace(/( |^)require\(/gm, "$1ace.require(");
}
source = source.replace(/"\.\.\/build\//g, function(e) {
console.log(e); return '"../';
return '"../';
});
return source;
}
Expand Down Expand Up @@ -668,7 +673,6 @@ function extractCss(callback) {
else
imageName = name + "-" + imageCounter + ".png";
images[imageName] = buffer;
console.log("url(\"" + directory + "/" + imageName + "\")");
return "url(\"" + directory + "/" + imageName + "\")";
}
);
Expand Down
50 changes: 38 additions & 12 deletions ace-internal.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ export namespace Ace {
type DragdropHandler = import("./src/mouse/dragdrop_handler").DragdropHandler;
type AppConfig = import("./src/lib/app_config").AppConfig;
type Config = typeof import("./src/config");
type GutterTooltip = import( "./src/mouse/default_gutter_handler").GutterTooltip;
type GutterKeyboardEvent = import( "./src/keyboard/gutter_handler").GutterKeyboardEvent;

type AfterLoadCallback = (err: Error | null, module: unknown) => void;
type LoaderFunction = (moduleName: string, afterLoad: AfterLoadCallback) => void;
Expand Down Expand Up @@ -509,7 +511,7 @@ export namespace Ace {
/**
* Emitted when text is pasted.
**/
"paste": (text: string, event: any) => void;
"paste": (e: { text: string, event?: ClipboardEvent }) => void;
/**
* Emitted when the selection style changes, via [[Editor.setSelectionStyle]].
* @param data Contains one property, `data`, which indicates the new selection style
Expand All @@ -524,6 +526,11 @@ export namespace Ace {
"codeLensClick": (e: any) => void;

"select": () => void;
"gutterkeydown": (e: GutterKeyboardEvent) => void;
"gutterclick": (e: MouseEvent) => void;
"showGutterTooltip": (e: GutterTooltip) => void;
"hideGutterTooltip": (e: GutterTooltip) => void;
"compositionStart": () => void;
}

interface AcePopupEvents {
Expand Down Expand Up @@ -939,9 +946,9 @@ export namespace Ace {
}) => void;

interface CommandManagerEvents {
on(name: 'exec', callback: execEventHandler): Function;

on(name: 'afterExec', callback: execEventHandler): Function;
"exec": execEventHandler
"afterExec": execEventHandler;
"commandUnavailable": execEventHandler;
}

type CommandManager = import("./src/commands/command_manager").CommandManager;
Expand Down Expand Up @@ -1229,6 +1236,24 @@ export namespace Ace {
docChanged?: boolean;
selectionChanged?: boolean;
}

export interface CommandBarEvents {
"hide": () => void;
"show": () => void;
"alwaysShow": (e: boolean) => void;
}

export interface FontMetricsEvents {
"changeCharacterSize": (e: { data: { height: number, width: number } }) => void;
}

export interface OptionPanelEvents {
"setOption": (e: { name: string, value: any }) => void;
}

export interface ScrollbarEvents {
"scroll": (e: { data: number }) => void;
}
}


Expand Down Expand Up @@ -1328,6 +1353,7 @@ declare module "./src/editor" {
showSettingsMenu?: () => void,
searchBox?: Ace.SearchBox,
_eventRegistry?: any,
$textInputAriaLabel?: string
}
}

Expand Down Expand Up @@ -1386,18 +1412,18 @@ declare module "./src/placeholder" {
}

declare module "./src/scrollbar" {
export interface VScrollBar extends Ace.EventEmitter<any> {
export interface VScrollBar extends Ace.EventEmitter<Ace.ScrollbarEvents> {
}

export interface HScrollBar extends Ace.EventEmitter<any> {
export interface HScrollBar extends Ace.EventEmitter<Ace.ScrollbarEvents> {
}
}

declare module "./src/scrollbar_custom" {
export interface VScrollBar extends Ace.EventEmitter<any> {
export interface VScrollBar extends Ace.EventEmitter<Ace.ScrollbarEvents> {
}

export interface HScrollBar extends Ace.EventEmitter<any> {
export interface HScrollBar extends Ace.EventEmitter<Ace.ScrollbarEvents> {
}
}

Expand Down Expand Up @@ -1459,13 +1485,13 @@ declare module "./src/snippets" {
}

declare module "./src/ext/command_bar" {
export interface CommandBarTooltip extends Ace.EventEmitter<any> {
export interface CommandBarTooltip extends Ace.EventEmitter<Ace.CommandBarEvents> {
$shouldHideMoreOptions?: boolean,
}
}

declare module "./src/commands/command_manager" {
export interface CommandManager extends Ace.EventEmitter<any> {
export interface CommandManager extends Ace.EventEmitter<Ace.CommandManagerEvents> {
$checkCommandState?: boolean
}
}
Expand Down Expand Up @@ -1545,12 +1571,12 @@ declare module "./src/mouse/mouse_handler" {
}

declare module "./src/ext/options" {
export interface OptionPanel extends Ace.EventEmitter<any> {
export interface OptionPanel extends Ace.EventEmitter<Ace.OptionPanelEvents> {
}
}

declare module "./src/layer/font_metrics" {
export interface FontMetrics extends Ace.EventEmitter<any> {
export interface FontMetrics extends Ace.EventEmitter<Ace.FontMetricsEvents> {
}
}

Expand Down
Loading
Loading