Ted2Go icon indicating copy to clipboard operation
Ted2Go copied to clipboard

Minor source panel issue

Open blitz-research opened this issue 7 years ago • 2 comments

Hi,

Just a really minor issue with the source panel: sometimes when you click on a local, it highlights the function and not the var.

For example, open modules/thread/test1.monkey2 from the examples tab (nice!) , open the 'Test()' function and then click on 'i' or 'sema'. Here, this results in 'Test()' getting highlighted, not the var. Doesn't happen with 'threads' array or 'N' const though.

Playing with it a bit more and it only seems to happen the first time, ie: if you click on 'i' or 'sema' again it gets highlighted (highlit?) correctly.

Bye, Mark

blitz-research avatar Jul 21 '18 03:07 blitz-research

Need to check srcpos and endpos, mb they are incorrect. I made a magic +1 for locals, mb it's wrong way. Can we make release with that issue?

engor avatar Jul 21 '18 05:07 engor

I think srcpos is OK because it takes you to the right line of code. It's just highlighting the wrong treeview item in the source view, and only the first time you click.

It's hardly even a bug and it certainly wont be holding up release!

On Sat, Jul 21, 2018 at 5:36 PM Evgeniy Goroshkin [email protected] wrote:

Need to check srcpos and endpos, mb they are incorrect. I made a magic +1 for locals, mb it's wrong way. Can we make release with that issue?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/engor/Ted2Go/issues/150#issuecomment-406772353, or mute the thread https://github.com/notifications/unsubscribe-auth/ADU3Qrjivd1Q3Ak7tAw4hTfSoRaY36Wkks5uIr3wgaJpZM4VZeey .

blitz-research avatar Jul 21 '18 06:07 blitz-research