Atmapuri
2008-06-12 11:33:07 UTC
Hi!
I am using IOTAEditPosition to obtain a line
from the IDE, but EditPosition.Read returns a string
with tab charachters. EditPosition.Column however
knows the width of those tabs and returns the charachter
count based position, where each tab accounts for several
spaces.
How can I get a string where the tabs have been replaced with
correct number of spaces to have the right column position?
Thanks!
Atmapuri
I am using IOTAEditPosition to obtain a line
from the IDE, but EditPosition.Read returns a string
with tab charachters. EditPosition.Column however
knows the width of those tabs and returns the charachter
count based position, where each tab accounts for several
spaces.
How can I get a string where the tabs have been replaced with
correct number of spaces to have the right column position?
Thanks!
Atmapuri