Discontinuing codeline

11 views
Skip to first unread message

KoenP

unread,
Jan 7, 2021, 7:37:08 AM1/7/21
to GoFish

Hi,
Would it be possible in the next update of GoFish4 to make an option to search also on  continuated code line?

Suppose you have following code in a procedure:
.FontSize = Iif( Int( .nOriginalFontSize * tnHeightRatio ) < 1, 1, ;
INT( .nOriginalFontSize * tnHeightRatio )   )

and you have an error in letsay .OriginalFontsize, my errorreporter reports an error on the command:

.FontSize = Iif( Int( .nOriginalFontSize * tnHeightRatio ) < 1, 1, INT( .nOriginalFontSize * tnHeightRatio )   )

when I than C&P this command into the searchbox on GoFish, it does not find it, only when I  cut of the next line (after the ;) GoGFish sees it.

Or am I missing an option/checkbox here?

Thanks,

Koen

Matt Slay

unread,
Jan 7, 2021, 8:52:10 AM1/7/21
to foxpro...@googlegroups.com

Koen - In my opinion, this would be a very challenging thing to implement.  It is not something *I* will ever plan to address.

As you now, all the source code for GF is on GitHub, and you could make this update yourself.

Koen --
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/foxprogofish/d2565b56-49c3-41fc-87f4-a2ce438d5d81n%40googlegroups.com.

Koen Piller

unread,
Jan 7, 2021, 10:07:00 AM1/7/21
to foxpro...@googlegroups.com
Matt
It is inderdaad a rare thing, let me see what I can find/do. 
Stay healthy
Koen

Op do 7 jan. 2021 om 14:52 schreef Matt Slay <matt...@jordanmachine.com>
--
Verzonden vanaf mijn iPhone

Eric Selje

unread,
Jan 7, 2021, 12:36:34 PM1/7/21
to foxpro...@googlegroups.com
I would try searching for less and less of the entire command line until I zero in on it.

Eric

Jim Nelson

unread,
Jan 7, 2021, 12:43:26 PM1/7/21
to foxpro...@googlegroups.com
Yeah, considering how much work it would take to implement this change in GF.

I think there could be problems with the continued line if there are leading/trailing/embedded tabs or spaces as well.  Which speaks as well for searching for shorted pieces of text.



Reply all
Reply to author
Forward
0 new messages