If you had Tab Characters and Optimal Fill set when you wrote the code,
then changing the tab width should change all the code.

If you didn't have Tab Characters set then you could use Word to
globally replace a string of spaces with a tab character.

James Sugrue wrote:
> 
> If I set the tab though in the Editor Properties, I want it to change *all*
> the tabs, not just the tabs after I change the properties.
> 
> I.E If I have a source file that is formatted at tab width of 3, and I
> change the tab width to 2, the old code width stays at 3.
> 
> EG
> Source Tab width 3
>    FileStream := TFileStream.Create('d:\qdx\plurelat.qdx, fmOpenRead);
>    strList := TStringList.Create;
>    strList.Sorted := True;
> 
> Now if I change the tab width to 2 and continue editting I get :
> 
>    FileStream := TFileStream.Create('d:\qdx\plurelat.qdx, fmOpenRead);
>    strList := TStringList.Create;
>    strList.Sorted := True;
>   while FileStream.Read(FileStruct, 512) = 512 do
>   begin
>   for nCount := 1 to 7 do
>     strPLU_BCD := strPLU_BCD + Char(FileStruct[i]);
>   ...
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 8 February 2001 12:13
> To: Multiple recipients of list delphi
> Subject: Re:[DUG]: Tabs
> 
> The Editor Properties - If you have "Use Tab Character" Set will allow you
> to
> set the tab stops...
> This is only tab stops as the tab character is used - therefore other apps
> will
> interpret the tab as they see fit...
> 
> eg
> Tab Stops:
> 3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55
> ,
> 57, 59, 60, 63, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 89, 91, 93,
> 95,
> 97, 99, 100
> 
> HTH
> Paul
> 
> CAUTION - This message may contain privileged and confidential information intended 
>only for the
> use of the addressee(s) named above.  If you are not the intended recipient of this 
>message you are
> hereby notified that any use, dissemination, distribution or reproduction of this 
>message is prohibited.
> If you have received this message in error please notify Progressive Enterprises 
>Ltd. immediately via
> email at [EMAIL PROTECTED]  Any views expressed in this message 
>are those of the
> individual sender and may not necessarily reflect the views of Progressive 
>Enterprises Ltd.
> 
> This footnote also confirms that Progressive Enterprises Ltd. has swept this email 
>message for the
> presence of computer viruses.  This does not guarantee this message is virus free.
> 
> ---------------------------------------------------------------------------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"

-- 
John Mason
Sinclair Knight Merz Limited
54 The Terrace, Wellington, New Zealand
Phone: +64-4-473 4265, Fax: +64-4-473 3369
--
NOTICE - This message contains privileged and confidential information
intended only for the use of the addressee named above. If you are not
the intended recipient of this message you are hereby notified that you
must not disseminate, copy, or take any action in reliance on it. If you
have received this message in error please notify Sinclair Knight Merz
Limited immediately. Any views expressed in this message are those of
the individual sender, except where the sender has the authority to
issue and specifically states them to be the views of Sinclair Knight
Merz.
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to