Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Tabs and columns position!

2 views
Skip to first unread message

Atmapuri

unread,
Jun 12, 2008, 7:33:07 AM6/12/08
to
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

Atmapuri

unread,
Jun 12, 2008, 8:49:18 AM6/12/08
to
Hi!

Found one solution. I call MoveRelative(0,1) and append
EditPosition.Charachter to a string until EOL is reached.

Thanks!
Atmapuri

"Atmapuri" <janez.m...@usa.net> wrote in message
news:48510979$1...@newsgroups.borland.com...

0 new messages