[comp.soft-sys.andrew] ctext/tags suggestion

tobeye@NORTHSTAR.DARTMOUTH.EDU (Anthony Edwards) (06/07/90)

I just thought of an idea for ctext:  Presently, there's the tags inset
which albeit has bugs in searching for subroutines (I posted a note on
this a month back) but in general is a very useful utility.  You could
take this inset one step further - how about allowing me to open a
second window like the table of contents window with a prettied-up
listing of all the subroutines in the Tags-Buffer.  Then, allow me to
click on a subroutine name in this new window.  Upon clicking, the last
editor window that I used will switch to the file that contains that
subroutine, placing the cursor on the subroutine declaration line. 
(It's a punt whether the switch should be a recursive edit or just a
switch buffer.  I suggest the latter.)

This would let me 'hyper-program' in a limited way.

Given the table of contents inset code and the tags inset code, it
shouldn't be that difficult or involved to implement my suggestion. 
(right?)

Just out of curiousity, is the ctextview inset considered finished and
done, or is someone maintaining it?  (read as:  is it worth my time to
make suggestions for it?)
   - Anthony

tom@ICASE.EDU (Tom Crockett) (06/08/90)

Excerpts from internet.info-andrew: 7-Jun-90 ctext/tags suggestion
Anthony Edwards@northsta (1116+0)

> You could take this inset one step further - how about allowing me to
> open a second window like the table of contents window with a
> prettied-up listing of all the subroutines in the Tags-Buffer.  Then,
> allow me to click on a subroutine name in this new window.  Upon
> clicking, the last editor window that I used will switch to the file
> that contains that subroutine, placing the cursor on the subroutine
> declaration line.

As a heavy user of ctext, I really like this idea.

>  (It's a punt whether the switch should be a recursive edit or just a
> switch buffer.  I suggest the latter.)

I like the latter approach, too.

Tom Crockett

ICASE
Institute for Computer Applications in Science and Engineering

M.S. 132C				e-mail:  tom@icase.edu
NASA Langley Research Center		phone:  (804) 864-2182
Hampton,  VA  23665-5225