Is the feature where choosing edit from the search results opens the PRG and puts the cursor on the appropriate line broken?--
In GF 4 it works, but on GF 5 it always places the cursor at the top of the opened PRG.
I went ahead and traced the source to method EditFromCurrentRow in class GoFishSearchEngine, which was changed in GF5.
The problem I am experiencing seems to be that m.lcMethod is empty for a stand alone PRG and the new code forces lnStart to 1 whenever lcMethod is empty.
Temporarily I patched the method to remove the check for empty m.lcMethod, and then it works as I expect.** TF 02/2017 When m.lcMethod is empty, no line positioning takes place.
* removed the check for empty lcmethod to see if that helps.
**If Empty(m.lcMethod) Or 0 # Atc('<Property', m.lcMatchType)
If 0 # Atc('<Property', m.lcMatchType)
lcMethodString = ''
lnStart = 1
Else
Thanks.
You received this message because you are subscribed to the Google Groups "GoFish" group.
To unsubscribe from this group and stop receiving emails from it, send an email to foxprogofish+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ok, thanks.
Will there be a formal code change made? Or am I on my own with what I did to make it work?
On Friday, February 10, 2017 at 9:30:48 AM UTC-5, Jim wrote:
Thomas --Yes, what you describe does seem to be the case when the match in the PRG is not after a PROC or FUNC line.Funny that nobody has ever noticed this before.
On Fri, Feb 10, 2017 at 7:22 AM, Thomas Filliman <filli...@gmail.com> wrote:
Is the feature where choosing edit from the search results opens the PRG and puts the cursor on the appropriate line broken?
In GF 4 it works, but on GF 5 it always places the cursor at the top of the opened PRG.
I went ahead and traced the source to method EditFromCurrentRow in class GoFishSearchEngine, which was changed in GF5.
The problem I am experiencing seems to be that m.lcMethod is empty for a stand alone PRG and the new code forces lnStart to 1 whenever lcMethod is empty.
Temporarily I patched the method to remove the check for empty m.lcMethod, and then it works as I expect.** TF 02/2017 When m.lcMethod is empty, no line positioning takes place.
* removed the check for empty lcmethod to see if that helps.
**If Empty(m.lcMethod) Or 0 # Atc('<Property', m.lcMatchType)
If 0 # Atc('<Property', m.lcMatchType)
lcMethodString = ''
lnStart = 1
Else
Thanks.
--
You received this message because you are subscribed to the Google Groups "GoFish" group.
To unsubscribe from this group and stop receiving emails from it, send an email to foxprogofish...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "GoFish" group.
To unsubscribe from this group and stop receiving emails from it, send an email to foxprogofish+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Is the feature where choosing edit from the search results opens the PRG and puts the cursor on the appropriate line broken?
In GF 4 it works, but on GF 5 it always places the cursor at the top of the opened PRG.
I went ahead and traced the source to method EditFromCurrentRow in class GoFishSearchEngine, which was changed in GF5.
The problem I am experiencing seems to be that m.lcMethod is empty for a stand alone PRG and the new code forces lnStart to 1 whenever lcMethod is empty.
Temporarily I patched the method to remove the check for empty m.lcMethod, and then it works as I expect.** TF 02/2017 When m.lcMethod is empty, no line positioning takes place.
* removed the check for empty lcmethod to see if that helps.
**If Empty(m.lcMethod) Or 0 # Atc('<Property', m.lcMatchType)
If 0 # Atc('<Property', m.lcMatchType)
lcMethodString = ''
lnStart = 1
Else
Thanks.
--
You received this message because you are subscribed to the Google Groups "GoFish" group.
To unsubscribe from this group and stop receiving emails from it, send an email to foxprogofish+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.