-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Edit > Find issues #5380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is probably caused by #4363. I'll see if I can find some time to look into this. |
Should be fixed by #5383 |
When searching through all tabs, the order was accidentally reversed. This was broken by commit d2bac86 (Remove tab switching logic from Sketch). This also fixes a problem where "replace all" would only work on the first and last tab (since it would search backwards from the first tab to the last tab and then conclude it was done). This fixes a part of arduino#5380.
I just came to the same conclusion. However, it seems this only fixes issue 1 and 3, I still see 2 happening. What seems to happen there is that when a tab is first created, it does not have a caret yet (or something like that) and selections do not show up. Once you click in the text area, selections will show up from then on. I'll see if I can figure out what happens exactly. |
Issue 2 looks solved to me too (have I missed something about the real problem? ) |
@facchinm Could you reproduce the problem without the fix? Note that the issue only occurs in tabs that have never received the focus, so really only directly after loading a sketch. |
Ah ok, we are talking about issue 1 (find does not highlight content on secondary tabs). |
Oh, woops, I meant issue 2/3 is fixed, 1 is still present. Sorry for that. It seems the issue is related to focus somehow, I think that only after the textarea has been focused at least once, it draws its selection or something like that. The problem is probably that the selection is set while the editor window is not focused. Not sure how it works exactly yet, though. |
Using Arduino IDE 1.6.12 Hourly Build 2016/09/14 08:20 with Windows 7 64 bit
Issue 1:
Issue 2:
Issue 3:
These issues don't occur with Arduino IDE 1.6.11 or previous
Please don't release Arduino IDE 1.6.12 before this issue is fixed. It's very important for Replace All to work reliably.
The text was updated successfully, but these errors were encountered: