Skip to content

Commit 78c6149

Browse files
authored
Merge branch 'master' into copypastefix
2 parents d8437f0 + b9f483d commit 78c6149

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/api/src/lib/editor/api.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { HighlightPosition, Annotation } from './type'
22
import { StatusEvents } from '@remixproject/plugin-utils'
3+
import { HighLightOptions } from '@remixproject/plugin-api'
34

45
export interface IEditor {
56
events: StatusEvents
@@ -8,6 +9,7 @@ export interface IEditor {
89
position: HighlightPosition,
910
filePath: string,
1011
hexColor: string,
12+
opt?: HighLightOptions
1113
): void
1214
discardHighlight(): void
1315
discardHighlightAt(line: number, filePath: string): void

packages/api/src/lib/editor/type.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ export interface HighlightPosition {
99
}
1010
}
1111

12+
export interface HighLightOptions {
13+
focus: boolean
14+
}
15+
1216
export interface Annotation {
1317
row: number;
1418
column: number;

0 commit comments

Comments
 (0)