niblo

Results 14 comments of niblo

I'm getting a `Segmentation fault: 11` when integrating this in an application.

I'm no longer getting a segmentation fault. It was something downstream.

> Just tried it. Seems to crash more or less with any input containing `@` now (when the extension is enabled). > > Here for the input `@x`: > >...

> But I can see that if I move the block of lines 4315 - 4318 after that following mention-related if, the crash goes away. That opener/closer arithmetics likely makes...

> > Which lines exactly? > > These 4 lines make no sense to me in the case of input made of only mentions. That pointer arithmetic leads to the...

I re-read this and it occurred to me that the `syntax` callback does not make it possible to correlate offsets in the text with elements in the rendered text. Is...

(Not saying it's not useful - because I really think it is - but I think I made an error in thinking about that in particular.)

> The parser has no knowledge how much text the renderer shall output, given the output format syntax decoration (e.g. html tags) or escape rules. That I understand, I think....

Yes, you are of course right on those points. I think doing work on the `syntax` callback feature can provide more insight to this "source offset". Do you think it...

That was a nice find. I guess I haven't looked into the tasks feature enough. Thank you for mentioning it. That satisfies my particular needs for now with regards to...