Bug? Problem with b4A editor

aedwall

Active Member
Licensed User
Longtime User
I use version 12.50 (64 bit). There is a serious problem at times with the editor. I am in debug mode and need to make some changes in my code. At times, not always, when I edit code, then certain other parts of my code automatically change on me. I don't know if this happens because of (after) a SAVE operation on my part, or before I save my work. b4A is changing lines of code I was not even modifying. This is annoying because it messes up my code and I have to try and figure out what it changed that I am not aware of.

One example of how changes were made in my code and code 28 lines above what I changed automatically changed by itself, from this:

B4X:
mp1 = Find_Midpoint(Transit(pidx(a1)), Transit(pidx(b1)))

to this:

B4X:
mp1 = Find_Midpoint(Transit(pidx(a1)), Transit(pidx())

What is going on here? Does anyone else have this problem? Seems like this has been around for many versions, and is still happening. Thank you.
 

stevel05

Expert
Licensed User
Longtime User
I haven't noticed this (mainly use B4j) but I can be ham fisted on the keyboard and can quite easily press Ctrl+z instead of Ctrl+s from time to time. I'm not saying that's what happened. Just a possibility.
 

aeric

Expert
Licensed User
Longtime User
Sometimes due to autocomplete or intellisence feature.
I always double check before leaving a line of code. That's why I always slow on writing code.
 

aedwall

Active Member
Licensed User
Longtime User
Sometimes due to autocomplete or intellisense feature.
I always double check before leaving a line of code. That's why I always slow on writing code.
It happens on lines where I haven't touched the code. So I don't see how it could be that. But I will turn those off as they are kind of a distraction anyway. But I don't see any references to either of those functionalities. UPDATE: I see "Disable Implicit Auto Completion" under "Tools - IDE Options".
 
Last edited:

aeric

Expert
Licensed User
Longtime User
It happens on lines where I haven't touched the code. So I don't see how it could be that. But I will turn those off as they are kind of a distraction anyway. But I don't see any references to either of those functionalities.

Check menu Tools ->IDE Options.

1744783063697.png
 

aedwall

Active Member
Licensed User
Longtime User
I'm not familiar with such issue. If you are able to reproduce it then please provide the exact steps required.
It happens at random times, not all the time, and I have not been able to reproduce it with any consistency. Yes, that makes it difficult to track and trace. I will keep my eyes open until it happens again. I know, not much you can do if you can't reproduce the problem.
 
Top