Re: [racket-users] Finding non-text elements

2017-11-07 Thread Robby Findler
On Tue, Nov 7, 2017 at 1:52 PM, David Van Horn wrote: > On Tue, Nov 7, 2017 at 2:45 PM, Robby Findler > wrote: >> On Tue, Nov 7, 2017 at 1:42 PM, David Van Horn wrote: >>> Other than copy/pasting, I can seem to recreate a decimal-looking >>> number that is actually a special fraction, so I'm not

Re: [racket-users] Finding non-text elements

2017-11-07 Thread David Van Horn
On Tue, Nov 7, 2017 at 2:45 PM, Robby Findler wrote: > On Tue, Nov 7, 2017 at 1:42 PM, David Van Horn wrote: >> Other than copy/pasting, I can seem to recreate a decimal-looking >> number that is actually a special fraction, so I'm not sure how the >> author of the file accomplished this. > > The

Re: [racket-users] Finding non-text elements

2017-11-07 Thread Robby Findler
On Tue, Nov 7, 2017 at 1:42 PM, David Van Horn wrote: > Thanks, I found the elements by using wxme-port->port and > read-char-or-special until I found something special and it turns out > it was caused by fractions. > > There are a couple weird things: (1) wxme-read reads them as numbers, > not sp

Re: [racket-users] Finding non-text elements

2017-11-07 Thread David Van Horn
Thanks, I found the elements by using wxme-port->port and read-char-or-special until I found something special and it turns out it was caused by fractions. There are a couple weird things: (1) wxme-read reads them as numbers, not specials, and (2) the "fractions" are actually rendered in decimal f

Re: [racket-users] Finding non-text elements

2017-11-07 Thread Robby Findler
I believe this is the place that does the check: https://github.com/racket/gui/blob/master/gui-lib/framework/private/text.rkt#L2300 Possibly some printfs in and around there would help? Robby On Tue, Nov 7, 2017 at 1:03 PM, David Van Horn wrote: > I have some ISL+ programs that are being sa