File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
packages/api/src/lib/editor Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 11import { HighlightPosition , Annotation } from './type'
22import { StatusEvents } from '@remixproject/plugin-utils'
3+ import { HighLightOptions } from '@remixproject/plugin-api'
34
45export 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
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ export interface HighlightPosition {
99 }
1010}
1111
12+ export interface HighLightOptions {
13+ focus : boolean
14+ }
15+
1216export interface Annotation {
1317 row : number ;
1418 column : number ;
You can’t perform that action at this time.
0 commit comments