Author Topic: Strange IDE behavior  (Read 3163 times)

0 Members and 1 Guest are viewing this topic.

Offline TerryRitchie

  • Seasoned Forum Regular
  • Posts: 495
  • Semper Fidelis
    • View Profile
Strange IDE behavior
« on: August 31, 2018, 01:06:20 am »
Earlier today I ran across a few variables that had their case (lower to upper) changed throughout the code. This happened to me the other day as well so I decided to do a little digging. This is what I came up with. Take the little snippet of code below:

CARmgp = 20

car = 123

Now let's say I had a typo, I meant to type in CARmpg instead of CARmgp. I place my cursor after the p, backspace a few times, and car = 123 suddenly turns into CAR = 123. I don't remember this happening in earlier versions of the IDE. Is this a potential bug? My thinking would be syntax checking would not be done until I leave the current line being edited.

While working on the helicopter blade code I uploaded earlier it happened as well because I was using simple one letter variables for the loops (i, j, k) but while messing around with other variables these were getting upper and lower-cased occasionally on their own.
In order to understand recursion, one must first understand recursion.

FellippeHeitor

  • Guest
Re: Strange IDE behavior
« Reply #1 on: August 31, 2018, 01:39:32 am »
I don't remember this happening in earlier versions of the IDE. Is this a potential bug?

It's always been like that really. The way the IDE module was designed has the refresh/recompile routines restart with every keystroke.

Offline TerryRitchie

  • Seasoned Forum Regular
  • Posts: 495
  • Semper Fidelis
    • View Profile
Re: Strange IDE behavior
« Reply #2 on: August 31, 2018, 03:14:52 am »
You are correct. I fired up .954 and the same behavior occurred. I guess I never noticed it as much. Perhaps syntax highlighting makes it more apparent to me now?
In order to understand recursion, one must first understand recursion.