Page 1 of 1
Case correction glitch
Posted: Fri Dec 15, 2006 4:13 pm
by Trond
Pointer.POINT works, but if Pointer is a linked list POINT is turned into Point:
Posted: Sun Dec 17, 2006 8:34 pm
by freak
fixed.
Posted: Sun Dec 17, 2006 11:54 pm
by AND51
By the way, why does the IDE complete wrtinafter the cursor leaves the word?
Exmaple:
enumera| <--- Word uncomplete, cursor still at the end of the word
enumeration| <--- Word completed, but the first character is not converted to UPPER CASE. PB 3.94 handled it correctly, 4.00 does not
Enumeration | <--- Convertion (?) completed, but first, if you compile the code, append a Space or press enter...
As I said, PB 3.94 handled it correctly.
Posted: Mon Dec 18, 2006 12:10 am
by freak
It is by design, so variable names etc that start with a keyword do not get
a case forced while you type them.
Try creating a variable called "AND51" (with this case) in 3.94
This was quite an annoying behaviour.
So now only the color changes (so you can know you typed it right, and it is a keyword),
but the case only changes when it is sure that you finished the word.
Posted: Mon Dec 18, 2006 3:22 pm
by AND51
Ah, ok I understand!
This is a very clever idea

Now, I don't consider this as a bug any longer.
Posted: Thu Jan 11, 2007 7:12 pm
by Kaeru Gaman
...but it does NOT work with constants..
try to name a constant #subway...
it will be changed to #SUB immediately, before you add the space...
....or did i miss a flag in the preferences?
Posted: Thu Jan 11, 2007 7:18 pm
by freak
True. I will add it there as well.