Using MikroC PRO dsPIC editor 7.1.0 on Win 10 64 bit.
In a normal Windows style editor, if I double click a word, the editor will highlight and select that word.
In my editor, double clicking on a word will move my edit window to some random place in the text and highlights some unrelated text. I think this has something to do with recent edits to the text and / or moving text around, but I can't duplicate it.
For instance, I try to double click the word "LVL_Target":
And the editor takes me here:
Editor Bug - Double Click
Re: Editor Bug - Double Click
A similar issue is when I manually highlight "LVL_Target" and hit Ctrl-F (Find) on the keyboard. The Find window pops up correctly with the correct word, but finds something completely unrelated. Subsequent F3 (search next) searches go to more strange places.
- petar.suknjaja
- mikroElektronika team
- Posts: 683
- Joined: 05 Mar 2018 09:44
- Location: Belgrade
Re: Editor Bug - Double Click
Hi,
I'll try to reproduce the issue and then report it to our developers.
Kind regards,
Petar
I'll try to reproduce the issue and then report it to our developers.
Kind regards,
Petar
Re: Editor Bug - Double Click
Hi,
Can you please attach the project that demonstrates this issue ?
Regards,
Filip.
Can you please attach the project that demonstrates this issue ?
Regards,
Filip.
Re: Editor Bug - Double Click
OK. Here you go.
- Attachments
-
- VODER Code - for MikroE.zip
- (94.45 KiB) Downloaded 94 times
Re: Editor Bug - Double Click
Hi,
I have tried your code on my PC using and didn't manage to reproduce this issue ?
Is it possible that you try this on another PC, just to check things out ?
Regards,
Filip.
I have tried your code on my PC using and didn't manage to reproduce this issue ?
Is it possible that you try this on another PC, just to check things out ?
Regards,
Filip.
Re: Editor Bug - Double Click
Hi Filip,
I tried your suggestion, but I have found the problem area. It is when sections of code are "rolled up" - hidden by clicking the "-". I'm not an expert, but it seems that when the code is hidden, search features don't know about it, so they place the search selection in a place that would be normal if the code was NOT hidden. Make sense?
The first file is when I double click "Serial_Init" when Flush_Com1 is expanded. The second file is when Flush_Com1 is rolled up. Notice that the editor selection seems to be at some random place.
(It looks like the images are reversed. I can't remember how to place images inline. Sorry - hope you get the idea.)
Hope this helps!
Best regards,
Doug
I tried your suggestion, but I have found the problem area. It is when sections of code are "rolled up" - hidden by clicking the "-". I'm not an expert, but it seems that when the code is hidden, search features don't know about it, so they place the search selection in a place that would be normal if the code was NOT hidden. Make sense?
The first file is when I double click "Serial_Init" when Flush_Com1 is expanded. The second file is when Flush_Com1 is rolled up. Notice that the editor selection seems to be at some random place.
(It looks like the images are reversed. I can't remember how to place images inline. Sorry - hope you get the idea.)
Hope this helps!
Best regards,
Doug
- Attachments
-
- 2018-10-31 07_05_28-Window.png (24.45 KiB) Viewed 2709 times
-
- 2018-10-31 07_01_20-Window.png (18.38 KiB) Viewed 2709 times
Re: Editor Bug - Double Click
Just don't use the "Collapse Feature" (If you can call that a feature when it's breaks things), it is utterly broken. If you start using it you will see that it's not only the search that is broken when you collapses code. (Search in this forum, you will find many post on this and other GUI defects)
Re: Editor Bug - Double Click
Disappointed today... Even after several years, it seems this problem has still not been resolved. It just bit me AGAIN.