How to access search results in CustomTextEditor #2621
Unanswered
vaclavHala
asked this question in
Extension Development QnA
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have registered a
CustomTextEditorProvider
with"priority": "default"
. Now when a user does text search through the nativeSearch
view and clicks some result from file covered by my custom editor, the custom editor opens but always scrolled to the top.Is there some way to know what search result user wanted to go to from inside my custom editor provider so I can try to move to it/focus it somehow in the custom editor? Alternatively, is there some way to disable the custom editor when user tries to open the file at specific location rather than opening the custom editor?
Beta Was this translation helpful? Give feedback.
All reactions