Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!uakari.primate.wisc.edu!brutus.cs.uiuc.edu!apple!voder!dtg.nsc.com!waggoner From: waggoner@dtg.nsc.com (Mark Waggoner) Newsgroups: comp.sys.amiga Subject: Re: Looking for editor which hides lines indented more than x levels Message-ID: <125@dtg.nsc.com> Date: 10 Oct 89 21:32:02 GMT References: <785@lpami.wimsey.bc.ca> <3476@stsusa.com> <125967@sun.Eng.Sun.COM> <3589@stsusa.com> Reply-To: waggoner@dtg.UUCP (Mark Waggoner) Organization: National Semiconductor, Santa Clara Lines: 41 In article <3589@stsusa.com> jellson@stsusa.com writes: >In article <125967@sun.Eng.Sun.COM>, cmcmanis%pepper@Sun.COM (Chuck McManis) writes: >> In <3909@blake.acs.washington.edu>, (Dale Larson) writes: >>> I would like to find an editor which will allow me to look at just the >>> top level routines in a program by hiding lines with more than a certain >>> number of tabs at the begining. >> >> In article <3476@stsusa.com> jellson@stsusa.com writes: >>>XEDIT on IBM mainframes had the ability to selectively hide lines. Then with >>>the aid of REXX you could write macros to hide lines according to any criterea >>>you liked, such as indentation. XEDIT maintains some sort of a 'level' parameter for each line, which can be set by the user. You can then select what 'levels' you want to be visable. You can also select whether you want 'hidden line' messages where lines are hidden or if you just don't want to see them at all. So, if you added an integer 'visability' attribute to every line in an editor, you could have it assign the level attribute depending on how many tabs are at the beginning of the line. This is more flexable than a simple visability attribute. XEDIT builds on the visability attribute with commands or macros such as ALL /target/ which displays only lines including the target string. > >I wonder if a similar visible attribute on file column ranges would be useful >so that you could hide columns 10 to 50 say? I don't think XEDIT had this but >it sure would be useful for modifying tables. > You can also choose to only see particular columns of the data and can even look at the same column more than once. You use the command: VERIFY c1 c2 [h] [c1 c2 ...] (I think) The h option means display those columns of data in hex. I'm not sure if I have the syntax exactly right, but it's close. -- ,------------------------------------------------------------------. | Mark Waggoner (408) 721-6306 waggoner@dtg.nsc.com | `------------------------------------------------------------------'