TIP: Click on subject to list as thread! ANSI
echo: semware
to: All
from: Michael Fisher
date: 2003-01-30 06:22:58
subject: [TSEPro] TSE for DOS: Outlining macros?

From: Michael Fisher 
@Date: Wed, 29 Jan 2003 11:52:59 -0800
@Sender: semware-owner{at}sawasdi.apana.org.au



>As far as i can tell, TSE for DOS doesn't have an outlining 
>mode. 

You are right, it has none. BTW a more usual term for what you 
mean would be "folding" mode. "Outline mode" is more used by 
word processors, like WordPerfect.

I.e., the editor can hide all text between two points in your 
text.  These points can defined by the user, or be predefined 
by repetetive structurual components in your document.  

You mentioned outlines, programmers often use folding for the 
begin and end of procedures, loops, functions etc. It makes the 
structure and flow of their code more visible.

A folding mode probably has to be built into an editor, doing 
it with macros alone maybe a lot of work.

My suggestione for you:

- try how far the "Compressed View" macro can help.
You could insert a non-textual character in each line like so

~Topic I
     ~Subtopic I-A
       ~Subsubtopic I-A-1
       ~Subsubtopic I-A-2

to mark them, and then use that for search and "Compress View".
Or several characters to search for each different level:

~Topic I
     ~^Subtopic I-A
       ~#Subsubtopic I-A-1
       ~#Subsubtopic I-A-2


With a few small macros, thse marks could be inserted and 
removed rather quickly. 

In the TSE collection there is also a macro written to help 
with texts containing "repetetive structures", IIRC.  That 
could be helpful, too.




 




--
TSEPro mailing list



---
[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/1 379/1 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™.