Article View: borland.public.delphi.opentoolsapi
Article #69Tabs and columns position!
From: Atmapuri
Date: Thu, 12 Jun 2008 11:33
Date: Thu, 12 Jun 2008 11:33
14 lines
1370 bytes
1370 bytes
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
Technical Details
Message-ID:
<48510979$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10c3df,1863393f916de579,start X-Google-Attributes: gid10c3df,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Atmapuri" <janez.makovsek@usa.net> Newsgroups: borland.public.delphi.opentoolsapi Subject: Tabs and columns position! Date: Thu, 12 Jun 2008 13:33:07 +0200 Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6000.16480 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545 NNTP-Posting-Host: 83.222.45.127 Message-ID: <48510979$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1213270393 83.222.45.127 (12 Jun 2008 04:33:13 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail