Incorrect line selection

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
MSpagni
Expert Member
Posts: 607
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Incorrect line selection

Post by MSpagni »

Try using the sychronizing splitter: you must click two lines lower than the line you want to select!
It seems quite repeatable.
User avatar
psguru
Site Admin
Posts: 2339
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Incorrect line selection

Post by psguru »

How does it manifest itself? What are the steps and results?
psguru
PrestoSoft
User avatar
David B. Trout
Full Member
Posts: 35
Joined: Wed Jan 06, 2010 4:21 am

Re: Incorrect line selection

Post 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
"Fish" (David B. Trout)
"Programming today is a race between
software engineers striving to build bigger
and better idiot-proof programs, and the
Universe trying to produce bigger and better
idiots. So far, the Universe is winning"
- Rich Cook
User avatar
David B. Trout
Full Member
Posts: 35
Joined: Wed Jan 06, 2010 4:21 am

Re: Incorrect line selection

Post 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! :)
Attachments
bbb.h
Append .txt to file extension and it works fine!
(4.25 KiB) Downloaded 51 times
aaa..h
Append .txt to file extension and it works fine!
(4.24 KiB) Downloaded 51 times
"Fish" (David B. Trout)
"Programming today is a race between
software engineers striving to build bigger
and better idiot-proof programs, and the
Universe trying to produce bigger and better
idiots. So far, the Universe is winning"
- Rich Cook
MSpagni
Expert Member
Posts: 607
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: Incorrect line selection

Post by MSpagni »

Bingo!
As per Murphy's law, I tried with files .h and .c... :roll:
User avatar
psguru
Site Admin
Posts: 2339
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Incorrect line selection

Post by psguru »

I tried your files and still couldn't reproduce the issue. What are the steps? Could you post a screenshot?
psguru
PrestoSoft
User avatar
psguru
Site Admin
Posts: 2339
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Incorrect line selection

Post 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.
psguru
PrestoSoft
MSpagni
Expert Member
Posts: 607
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: Incorrect line selection

Post by MSpagni »

Thank you, as always.
And... happy new year! :mrgreen:
User avatar
David B. Trout
Full Member
Posts: 35
Joined: Wed Jan 06, 2010 4:21 am

Re: Incorrect line selection

Post 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 3739 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!
"Fish" (David B. Trout)
"Programming today is a race between
software engineers striving to build bigger
and better idiot-proof programs, and the
Universe trying to produce bigger and better
idiots. So far, the Universe is winning"
- Rich Cook
User avatar
David B. Trout
Full Member
Posts: 35
Joined: Wed Jan 06, 2010 4:21 am

Re: Incorrect line selection

Post by David B. Trout »

The fix will be in the next build.
YEA! THANK YOU! THANK YOU! THANK YOU! :D :D :D
"Fish" (David B. Trout)
"Programming today is a race between
software engineers striving to build bigger
and better idiot-proof programs, and the
Universe trying to produce bigger and better
idiots. So far, the Universe is winning"
- Rich Cook
Post Reply