Skip to content

Commit

Permalink
some typings fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
anijanyan committed Oct 19, 2022
1 parent 5294aa2 commit 88af815
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ace.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,10 @@ export namespace Ace {
canRedo(): boolean;
bookmark(rev?: number): void;
isAtBookmark(): boolean;
hasUndo(): boolean;
hasRedo(): boolean;
isClean(): boolean;
markClean(rev?: number): void;
}

export interface Position {
Expand Down Expand Up @@ -459,7 +463,7 @@ export namespace Ace {
inFront?: boolean): number;
addDynamicMarker(marker: MarkerLike, inFront: boolean): MarkerLike;
removeMarker(markerId: number): void;
getMarkers(inFront?: boolean): MarkerLike[];
getMarkers(inFront?: boolean): {[id: number]: MarkerLike};
highlight(re: RegExp): void;
highlightLines(startRow: number,
endRow: number,
Expand Down

0 comments on commit 88af815

Please sign in to comment.