GLBasic forum

Main forum => Bug Reports => Topic started by: Slydog on 2010-May-18

Title: Editor - Cursor X Position Status Bug
Post by: Slydog on 2010-May-18
I think this is a bug, and not a feature.
The 'Z' coordinate (so, we're viewing our files from the top view? ha) seems to work.

The 'X' coordinate seems to count the bytes of text, not the actual horizontal position.
This would work fine until you insert a 'Tab' character.
It displays four 'spaces', but takes only one byte.
With 3 tabs inserted to your left, it will show you as on position 4, not 13 like is should, imo.

I guess to fix it just add (tabsQtyInLine * 3) to the current position?  (Assuming the tab size if fixed at 4).

Title: Re: Editor - Cursor X Position Status Bug
Post by: Kitty Hello on 2010-May-19
OK, both fixed in V8.