jonathan-dejong / find-and-replace-with-prev

A fork from the Atom package find-and-replace which also adds the famous "Find prev" button back in. To use you have to first disable the core package before enabling this.
MIT License
0 stars 0 forks source link

Find and Replace package forked

This is a fork of the core package for Atom. All this package does is add the "Find prev" button back that was removed way back. This will likely not be updated but hopefully the original author will accept my PR to include it back into core.

Important: Disable the core package before enabling this.

Find and replace in the current buffer or across the entire project in Atom.

Find in buffer

Using the shortcut cmd-f (Mac) or ctrl-f (Windows and Linux). screen shot 2013-11-26 at 12 25 22 pm

Find in project

Using the shortcut cmd-shift-f (Mac) or ctrl-shift-f (Windows and Linux). screen shot 2013-11-26 at 12 26 02 pm

Provided Service

If you need access the marker layer containing result markers for a given editor, use the find-and-replace@0.0.1 service. The service exposes one method, resultsMarkerLayerForTextEditor, which takes a TextEditor and returns a TextEditorMarkerLayer that you can interact with. Keep in mind that any work you do in synchronous event handlers on this layer will impact the performance of find and replace.