Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Line numbers not updating with 'Find in' after making changes #6026

Open
willmruzek opened this issue Nov 18, 2013 · 4 comments
Open

Line numbers not updating with 'Find in' after making changes #6026

willmruzek opened this issue Nov 18, 2013 · 4 comments
Assignees

Comments

@willmruzek
Copy link

When conducting a 'Find in' I usually make changes and click on the next relevant result to make more changes. When these changes involve deleting lines I found the line numbers don't update. Thus when I click on the result, it takes me to the original line number when the document was originally searched.

Steps

  1. 'Find in' on a folder
  2. Search for something that has multiple results
  3. Delete a few lines where there are some results below
  4. Click on the next few 'Find in' results

Expected Result
After I make a change in the file all line numbers update and clicking sends me to the corresponding new line.

Actual Result
Line numbers don't update and clicking sends me to the designated line but wrong result.

This is mentioned in a pull request that says it addressed this issue, but the bug still exists: #4729

Brackets Version: sprint 34 experimental build 0.34.0-10729 (On branch master,master efbd1dc).
OS: OSX 10.9

@TomMalbran
Copy link
Contributor

From time to time, the auto-update seems to fail. But up to now I haven't found any way to reproduce that, or understand why it was broken.

Following your steps, I haven't found any issues. Can you give us more information on the type of search, files, what to delete, etc. to see if I am able to reproduce it?

@ghost ghost assigned TomMalbran Nov 18, 2013
@njx
Copy link

njx commented Nov 18, 2013

Assigning to @TomMalbran to investigate further, low pri.

@willmruzek
Copy link
Author

I'm going to fiddle around and create a couple documents to demonstrate this.

@TomMalbran
Copy link
Contributor

@mruzekw That would be great. Thanks

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