[L2Ork-dev] request for mentorship: comment parsing

Jonathan Wilkes jon.w.wilkes at gmail.com
Mon Apr 30 12:27:13 EDT 2018


> On Mon, Apr 30, 2018 at 9:43 AM, Ivica Bukvic <ico at vt.edu> wrote:
> I like it, as it would also remove messy workaround we've had up until now
> to allow line breaks. I would, however, name the class something other than
> text2 asthar may limit code's comprehensibility and maintainability down the
> road.

textbytes, text_bytelist, bytes2text? That sort of thing?

One important snag:

I really like how this implementation would keep the engine from doing any kind
of parsing of utf8 content. However, the cost of that is that the Pd
engine wouldn't
know anything about the bbox of the comment. So we'd either have to
take the plunge
and handle mouse interaction completely in the GUI, or set up some kind of
(probably buggy) algorithm in C to figure out the bbox dimensions.

-Jonathan


More information about the L2Ork-dev mailing list