| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | [TSEPro] Re: nonexpanding hard tabs |
From: Jim Wilson
@Date: Mon, 03 Mar 2003 23:37:33 -0500
@Sender: semware-owner{at}sawasdi.apana.org.au
At 04:39 PM 3/3/2003, you wrote:
>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.
Why divided by 8? Shouldn't the logic be minus TabWidth instead, like this?
CurrLineLen() < (MAXLINELEN - Query(TabWidth))
This should allow you to expand a TAB, regardless of the number of spaces
it should be converted into, and still be certain that you haven't gone
over the length limit. Of course, if your check is for more then 1 TAB at a
time then that wouldn't work.
Regards,
Jim
--
TSEPro Mailing List
List Maintenance: www.semware.com/html/list.htm
---
[sawasdi.apana.org.au] (3:800/846.13)
* Origin: apana>>>>>fidonetSEEN-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™.