Discover an embedded TextEditor within a non-TextEditor pane item
MODIFY
lib/find.coffee
lib/find.coffee
@@ -32,6 +32,8 @@ module.exports =
@subscriptions.add atom.workspace.getCenter().observeActivePaneItem (paneItem) =>
if atom.workspace.isTextEditor(paneItem)
@findModel.setEditor(paneItem)
+ else if paneItem?.getEmbeddedTextEditor?
+ @findModel.setEditor(paneItem.getEmbeddedTextEditor())
else
@findModel.setEditor(null)

Discover an embedded TextEditor within a non-TextEditor pane item