[Robelle-l] Qedit String change question
John MacLerran
macljohn@isu.edu
Mon, 13 Oct 2003 17:01:02 -0600
Hi Paul,
That works most of the time, except that some of our field names have
'use' in them, e.g. in the label statement:
FIELD AI-LAST-USED bla bla bla LABEL "Last Use "
comes out: field ai-last-used bla bla bla label "last use " --
everything gets downshifted just becuase 'use' is in there. I've tried
setting the window (smart, upshift), but because the word 'use' stands
alone in that program, that didn't work. I was hoping to be able to use
a regexp, so I can anchor the string to the beginning of the line -- in
the code, the 'USE' statement will always appear at the start of the
line. Still, this is very helpful and gives me the ability to start
moving some of the source code and begin testing it.
Paul Gobes wrote:
>John, /proc down "use"
>
> the line range can be a string in most qedit commands
>
>/paul
>
>
>Test /l @
> 1 dont DOWNSHIFT ME
> 2 use /isu/source/ai/AIQUCTMP.qku
> 3 use /isu/source/ai/AIQUCPIN.qku
> 4 use /isu/source/ai/AIQUC012.qku
> 5 use /isu/source/ai/AIQUC021.qku
> 6 use /isu/source/ai/AIhilite.qku
> 7 use /isu/source/ai/AIQUCPIC.qku
> 8 use /isu/source/ai/AIQUCPRG.qku
> 9 dont DOWNSHIFT ME
>Test /proc down "use"
>Set Shift DOWN? 1(@) 2(") 3(') 4(" or ') [0]:1
> 2 use /isu/source/ai/aiquctmp.qku
> 3 use /isu/source/ai/aiqucpin.qku
> 4 use /isu/source/ai/aiquc012.qku
> 5 use /isu/source/ai/aiquc021.qku
> 6 use /isu/source/ai/aihilite.qku
> 7 use /isu/source/ai/aiqucpic.qku
> 8 use /isu/source/ai/aiqucprg.qku
>7 lines down shifted
>Test /l @
> 1 dont DOWNSHIFT ME
> 2 use /isu/source/ai/aiquctmp.qku
> 3 use /isu/source/ai/aiqucpin.qku
> 4 use /isu/source/ai/aiquc012.qku
> 5 use /isu/source/ai/aiquc021.qku
> 6 use /isu/source/ai/aihilite.qku
> 7 use /isu/source/ai/aiqucpic.qku
> 8 use /isu/source/ai/aiqucprg.qku
> 9 dont DOWNSHIFT ME
>Test /
>_______________________________________________
>Robelle-l mailing list
>Robelle-l@robelle.com
>http://two.pairlist.net/mailman/listinfo/robelle-l
>
>
--
----------------------------------------------------------------------
John MacLerran
IT Systems Analyst email: macljohn@isu.edu
Idaho State University V(208) 282-2954
http://www.isu.edu/~macljohn F(208) 282-3673
----------------------------------------------------------------------