TIP: Click on subject to list as thread! ANSI
echo: semware
to: All
from: `Sammy Mitchell`
date: 2003-03-04 08:09:00
subject: [TSEPro] Re: nonexpanding hard tabs

From: "Sammy Mitchell" 
@Date: Mon, 3 Mar 2003 16:39:00 -0500
@Sender: semware-owner{at}sawasdi.apana.org.au



>Once in a blue moon, I open a file and all the tabs will be
>expanded correctly, except for one line which shows the tab
>characters, looking something like this:

When displaying each line, tabs are expanded if all of the
following tests are true:

if BinaryMode() == 0 and    // file must not be in binary mode
    Query(ExpandTabs) and   // ExpandTabs must be on
    CurrLineLen() < MAXLINELEN / 8 and  // 2000 in 4.0
    Query(TabWidth) and         // TabWidth must be > 0
    DisplayMode() != DISPLAY_HEX and    // no hex mode
    BufferType() != _SYSTEM_    // can't be a system buffer

All of these except the "line length" apply to the entire
buffer.  Given that, the only reasonable explanation I can
think of is that there is a stray character past column
1999.

But, since you say you delete the line, and still have the
problem, well, I'm not sure how this is happening.

Note that the line-length maximum (divided by 8) is less in
older versions of the editor, 255 in 2.5, and 1000 in either
2.8 or 3.0.

--
Sammy Mitchell

--
TSEPro Mailing List
List Maintenance: www.semware.com/html/list.htm



---
[sawasdi.apana.org.au] (3:800/846.13)
* Origin: apana>>>>>fidonet
SEEN-BY: 633/267 270
@PATH: 800/846 1 640/954 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.