Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Cannot search and replace multiple lines in project #425

Closed
jannisborgers opened this issue Jul 1, 2015 · 1 comment
Closed

Cannot search and replace multiple lines in project #425

jannisborgers opened this issue Jul 1, 2015 · 1 comment

Comments

@jannisborgers
Copy link

For smaller, static websites, I often find myself having to replace whole regions of multiple HTML files (navs, footer sitemaps, etc.) that have the same content and I want to replace with a newer version of that content.

I tried using „Find in project“, each time pasting the region I want to search for (in this case, 3 lines), but the search results come up without hits.

Step 1: I select the lines, paste them in both the search and replace fields, and make my changes in the latter
bildschirmfoto 2015-07-01 um 14 33 45

Step 2: I hit return. The string is not found.
bildschirmfoto 2015-07-01 um 14 34 05

Because I indent my HTML, the preceding tabs are not transported to the input fields correctly and are omitted. Turning RegEx on does not change the results, putting something like „*.html“ in the scope field also does nothing.

Also note that I’m unsure if this is even an issue, or I’m just using the function in a wrong way, missing something?

Mac OS X Yosemite, Atom 1.0.0, with the following community packages installed:

bildschirmfoto 2015-07-01 um 14 41 26

@benogle
Copy link
Contributor

benogle commented Jul 1, 2015

Thanks for the report. Project find currently doesnt search across line boundaries. Closing as a dupe of #218

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants