|
Post by mueh on Sept 24, 2021 7:51:00 GMT -5
George: Tried to use following concatenated cmd .
x all;f xx 1 last;show .ZFIND .ZL
Issuing as single cmd also give strange results . It looks like .ZLOC never works ( loc cmd done before Change) .ZFIND works for CHANGE COPY PASTE only ( calling Method LineNoRef which is checking for Special Labels ) .ZCSR works for SHOW but only for single cmd's . I think it never worked in any version
Could you clarify what should work if it's to much work to support it . Thanks
|
|
|
Post by mueh on Sept 24, 2021 9:47:00 GMT -5
Robert: I'm aware that .ZL is .ZLAST . SHOW should display all lines from FIND to end of file in my test . Did another test with X all find xx loc .ZFIND if xx is found in first line loc positions cursor at excluded line . If string found in other lines it positions correctly as you said . No problem with first line if x is not done . Msg Line reference .ZLOC is undefined occures after using f.e change after LOC cmd . Thanks
|
|
|
Post by George on Sept 24, 2021 13:05:36 GMT -5
Guys: I'll have a look at all the .Z variables and see what I can find.
George
|
|
|
Post by George on Sept 24, 2021 15:27:29 GMT -5
MUEH: Ok, this was a combination of stuff.
First, there was an underlying problem in doing reverse searches (LAST). This seems to have been around for a long time, undetected.
Second, the last re-write of the general criteria parsing effectively killed .ZFIND, it was being reset when it shouldn't have been.
Third, .ZLOC was not even being set in some circumstances.
I'm not sure this handles it all. I'll post another Beta (tomorrow) so you an play with it and see what's still outstanding.
George
|
|
|
Post by mueh on Sept 27, 2021 1:50:35 GMT -5
George: Thanks for fixing .ZFIND .ZLOC problem . the mini-minor CSR Problem with LOC .ZFIND when find results in only the first line found is still there . following shows the cmd and the CSR position on X line after cmd is done . I think it needs no fix since following cmd which does SHOW for all lines between 2 find's work perfect . x all;f '/01' 5 last;loc .ZFIND;f '/12' 5 last;show .ZFIND .ZLOC all I also know that if i do CSR related things i have to write a Macro ( No multiple cmds or Do file) . However i tried LOC FIND cmd and it seems to be broken since v10 . (works only up to v8.5) it result in msg Bottom of data reached . This Beta 21268 creates also a Debug Log window showing msg's with Setting LocLineR= Thanks
|
|
|
Post by George on Sept 27, 2021 12:12:01 GMT -5
MUEH: OK, LOC FIND and LOC CHANGE are corrected. Been broken since FIND/CHANGE ALL triggered hilighting of all occurrences.
However I'm not clear on what the problem is with ZCSR and ZFIND, can you clarify?
George
|
|