Re: ISPF: How to remove highlighting of a FIND/SEEK result in an EDIT MACRO

2023-01-04 Thread Wayne Bickerdike
/* REXX */
Address isredit
"macro"
"seek 'macro' "
"resert find"

Gary, I think you mean "reset find"

On Wed, Jan 4, 2023 at 10:31 AM Gary Freestone  wrote:

> This macro works fine.   I ran it on itself and the cursor was left at the
> start of the first occurrence of macro but macro was not highlighted.
>
> /* REXX */
> Address isredit
> "macro"
> "seek 'macro' "
> "resert find"
>
> Regards,
> Gary
>
> -Original Message-
> From: IBM Mainframe Discussion List  On Behalf
> Of
> Bob Bridges
> Sent: Sunday, 1 January 2023 11:39 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: ISPF: How to remove highlighting of a FIND/SEEK result in an
> EDIT MACRO
>
> I don't think I've ever run across this.  The Edit Macro manual says this
> about RESET FIND:
>
> "Turns off highlighting of FIND strings until the next FIND, RFIND, CHANGE,
> or RCHANGE command. However, SEEK and EXCLUDE do not return the
> highlighting
> of FIND strings in this manner.
>
> "RESET with no operands has the same effect on highlighted FIND strings as
> RESET FIND."
>
> I think it's saying "you can't get there from here".  Maybe there's a
> workaround, but I don't see it here.
>
> ---
> Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313
>
> /* Do you know what constitutes a "hate crime"?  Put your thinking caps on.
> What tools do we need to determine whether a crime was motivated by hate or
> prejudice?  Answer: We need thought police.  -from "See, I Told You So" by
> Rush Limbaugh */
>
> -Original Message-
> From: IBM Mainframe Discussion List  On Behalf
> Of
> Binyamin Dissen
> Sent: Saturday, December 31, 2022 17:50
>
> I have an EDIT MACRO that is doing a SEEK (but the same results with FIND).
>
> There does not seem to be an obvious way to reset the high-lit result.
>
> I tried RESET FIND and RESET with no luck.
>
> What obvious command am I missing?
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions, send email
> to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>


-- 
Wayne V. Bickerdike

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF: How to remove highlighting of a FIND/SEEK result in an EDIT MACRO

2023-01-03 Thread Gary Freestone
This macro works fine.   I ran it on itself and the cursor was left at the
start of the first occurrence of macro but macro was not highlighted.

/* REXX */
Address isredit
"macro"
"seek 'macro' "
"resert find"

Regards,
Gary

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of
Bob Bridges
Sent: Sunday, 1 January 2023 11:39 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: ISPF: How to remove highlighting of a FIND/SEEK result in an
EDIT MACRO

I don't think I've ever run across this.  The Edit Macro manual says this
about RESET FIND:

"Turns off highlighting of FIND strings until the next FIND, RFIND, CHANGE,
or RCHANGE command. However, SEEK and EXCLUDE do not return the highlighting
of FIND strings in this manner.

"RESET with no operands has the same effect on highlighted FIND strings as
RESET FIND."

I think it's saying "you can't get there from here".  Maybe there's a
workaround, but I don't see it here.

---
Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313

/* Do you know what constitutes a "hate crime"?  Put your thinking caps on.
What tools do we need to determine whether a crime was motivated by hate or
prejudice?  Answer: We need thought police.  -from "See, I Told You So" by
Rush Limbaugh */

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of
Binyamin Dissen
Sent: Saturday, December 31, 2022 17:50

I have an EDIT MACRO that is doing a SEEK (but the same results with FIND).

There does not seem to be an obvious way to reset the high-lit result.

I tried RESET FIND and RESET with no luck.

What obvious command am I missing?

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF: How to remove highlighting of a FIND/SEEK result in an EDIT MACRO

2022-12-31 Thread Paul Gilmartin
On Sun, 1 Jan 2023 00:49:52 +0200, Binyamin Dissen wrote:

>I have an EDIT MACRO that is doing a SEEK (but the same results with FIND).
>There does not seem to be an obvious way to reset the high-lit result.
>
Why is highlighting undesirable?  Terminal sensitivity?

BTW, I'm suddenly curious:  Does FIND NEXT work correctly with Hebrew text?

-- 
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF: How to remove highlighting of a FIND/SEEK result in an EDIT MACRO

2022-12-31 Thread Bob Bridges
I don't think I've ever run across this.  The Edit Macro manual says this
about RESET FIND:

"Turns off highlighting of FIND strings until the next FIND, RFIND, CHANGE,
or RCHANGE command. However, SEEK and EXCLUDE do not return the highlighting
of FIND strings in this manner.

"RESET with no operands has the same effect on highlighted FIND strings as
RESET FIND."

I think it's saying "you can't get there from here".  Maybe there's a
workaround, but I don't see it here.

---
Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313

/* Do you know what constitutes a "hate crime"?  Put your thinking caps on.
What tools do we need to determine whether a crime was motivated by hate or
prejudice?  Answer: We need thought police.  -from "See, I Told You So" by
Rush Limbaugh */

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of
Binyamin Dissen
Sent: Saturday, December 31, 2022 17:50

I have an EDIT MACRO that is doing a SEEK (but the same results with FIND).

There does not seem to be an obvious way to reset the high-lit result.

I tried RESET FIND and RESET with no luck.

What obvious command am I missing?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


ISPF: How to remove highlighting of a FIND/SEEK result in an EDIT MACRO

2022-12-31 Thread Binyamin Dissen
I have an EDIT MACRO that is doing a SEEK (but the same results with FIND).

There does not seem to be an obvious way to reset the high-lit result.

I tried RESET FIND and RESET with no luck.

What obvious command am I missing?

--
Binyamin Dissen 
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN