I would say that this my $func = {sub => {return 1}}; should be my $func = sub { return 1 };, that's in the 2nd case.
Where is the source code of get_text_range()? You should start from there and see the whole chain of the complain it spewed. Logically, memory should be allocated in the buffer to accommodate the text which should be related to the row/col range you pass in. Are you sure they are OK?
In reply to Re: how to call gtk3::vte::grab_text_range
by bliako
in thread how to call gtk3::vte::grab_text_range
by hanspr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |