Annoying character spacing in IDE

mangojack

Expert
Licensed User
Longtime User
Hi . I can't seem to locate any previous posts re this annoying behaviour ,so thought I would ask if anyone else encounters the same.
Mainly when I type a lowercase Keyword or Variable , then a Space , when I commence entering the remainder of the statement, in the case of a Keyword it will Color Blue and Capitalize the first character, as it Should. But in that process it "soaks up" the Space. To keep the code neat I then insert a further Space to separate them, then remove a Space.

I have attached a snap which probably explains it best ...

Whilst this is a little annoying its certainly livable,but would be nice to find a solution.

B4A is the only software I encounter this behaviour ???

Many thanks
Cheers mj
 

Attachments

  • Capture.JPG
    Capture.JPG
    25 KB · Views: 239

mc73

Well-Known Member
Licensed User
Longtime User
This problem shows up when using some fonts as for e.g. Arial. Courier and other fonts work as expected. Furthermore, if we go from Arial to Courier "lost" spaces get back in order. Hope this helps.
 
Upvote 0

NJDude

Expert
Licensed User
Longtime User
Similar issue is if you change the TAB size in the IDE, I have mine setup at 1, and sometimes some people complain about the spacing, I noticed that if I change the tab size the spacing goes crazy, not a big deal but sometimes is annoying.
 
Upvote 0

mangojack

Expert
Licensed User
Longtime User
Thanks for the response ..

I did experiment with a few fonts prior to initial post and it appeared all TT fonts were affected and as you stated mc73, Courier is OK ,which i kind of expected as it is a fixed space font. I have tested many more and only found Courier New and LucindaSans Type to be unaffected.
The other Lucinda fonts seem to highlight the problem best ..

Typing "for i " results in "Fori". Even after saving the project ,if I place the cursor between the "r" and "i" and shift left one char the space appears and overlaps the "r", one more shift left the result is "Fcr i" . (I could not get accurate snap of this behaviour)

NJDude .. without going into detail , I also experience some annoying quirks when editing code.

Cheers mj
 
Last edited:
Upvote 0
Top