Mail Archives: djgpp/1999/12/21/10:02:04
From: | Hans Yperman <Hans DOT Yperman AT rug DOT ac DOT be>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Rhide bug?
|
Date: | Tue, 21 Dec 1999 13:48:58 +0100
|
Organization: | University of Ghent, Belgium
|
Lines: | 13
|
Message-ID: | <385F773A.595A9DB1@e.mail>
|
NNTP-Posting-Host: | fwet35.rug.ac.be
|
Mime-Version: | 1.0
|
X-Mailer: | Mozilla 4.61 [en] (WinNT; I)
|
X-Accept-Language: | en
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
The Edit->Compact text function may do bad things with your code.
(I assume in this example that a tab=8 spaces.)
Do this:(not indented, start at column 0)
*xy++=' ';
with the space between the quotes on the tabstops-1'th column. Now there
is no way to see the difference between tab and space on this place, so
Rhide replaces the space with a tab. At runtime,a tab is written in the
string,not a space.
I hav not tested if the Expand all tabs function has an equivalent bug,
or if the same works in "double-quoted" strings.
- Raw text -