Page 1 of 1

Incorrect line selection

Posted: Thu Jan 09, 2025 3:16 pm
by MSpagni
Try using the sychronizing splitter: you must click two lines lower than the line you want to select!
It seems quite repeatable.

Re: Incorrect line selection

Posted: Thu Jan 09, 2025 6:29 pm
by psguru
How does it manifest itself? What are the steps and results?

Re: Incorrect line selection

Posted: Thu Jan 09, 2025 7:23 pm
by David B. Trout
Try using the sychronizing splitter: you must click two lines lower than the line you want to select!
It seems quite repeatable.
THANK YOU for reporting this bug!

I also have been fighting with this bug too for the past several versions I think.

It's driving me nuts! :(
How does it manifest itself? What are the steps and results?
For me, it seems to happen all the freaking time. But I will try to perform some experiments to determine if there are any special conditions that produce it. I don't think there are, but I could be wrong. We'll see.

p.s. my version is 15.0.1.20

Re: Incorrect line selection

Posted: Thu Jan 09, 2025 9:44 pm
by David B. Trout
How does it manifest itself? What are the steps and results?
For me, it seems to happen all the freaking time. But I will try to perform some experiments to determine if there are any special conditions that produce it. I don't think there are, but I could be wrong. We'll see.
I was wrong. There DOES seem to be a condition that always produces it. (At least for me anyway!)

The condition that produces the problem for me is, that it must be a: C/C++ programming language file! (i.e. a file ending with either .c, .cpp or .h)

If I rename the two files in question from "aaa.h" and "bbb.h" to "aaa.h.txt" and "bbb.h.txt", the problem does not occur! EDP behaves correctly.

But as soon as I rename to, say, "aaa.cpp" and bbb.cpp", etc, then BOOM! EDP screws up. The problem occurs.

I've attached two simple C++ header files below that exhibit the problem for me, even though I'm sure you could easily recreate the problem for yourself.

I sure hope you can find this annoying bug and get it fixed for all of the many C/C++ programmers out there who, like us, are using EDP! :wink:

Thanks! :)

Re: Incorrect line selection

Posted: Fri Jan 10, 2025 1:54 am
by MSpagni
Bingo!
As per Murphy's law, I tried with files .h and .c... :roll:

Re: Incorrect line selection

Posted: Fri Jan 10, 2025 9:01 am
by psguru
I tried your files and still couldn't reproduce the issue. What are the steps? Could you post a screenshot?

Re: Incorrect line selection

Posted: Fri Jan 10, 2025 10:03 am
by psguru
No need, I see how it happens: you need to have prog. language files and have scope bar hidden. The fix will be in the next build.

Re: Incorrect line selection

Posted: Fri Jan 10, 2025 10:08 am
by MSpagni
Thank you, as always.
And... happy new year! :mrgreen:

Re: Incorrect line selection

Posted: Fri Jan 10, 2025 10:10 am
by David B. Trout
I tried your files and still couldn't reproduce the issue. What are the steps? Could you post a screenshot?
Maybe it's the version of EDP that is being used?
Or maybe it's the personal computer operating system being used?
Or maybe it's EDP's "Document Types" settings?

For me, I'm using EDP version 15.0.1.20, On Windows 7 Ultimate SP1, and my EDP "Document Type" settings are as follows:
.
.
"Document Types" settings
"Document Types" settings
EDP-Doc-Type.png (109.31 KiB) Viewed 49110 times
.
.
That's all I can think of. Because as I said, the problem ALWAYS occurs for me under the described conditions.

I hope that helps!

Re: Incorrect line selection

Posted: Fri Jan 10, 2025 10:14 am
by David B. Trout
The fix will be in the next build.
YEA! THANK YOU! THANK YOU! THANK YOU! :D :D :D