Bug 81720

Ilmari Lauhakangas ilmari.lauhakangas at libreoffice.org
Fri Aug 19 14:01:41 UTC 2022

On 19.8.2022 16.41, Phillips Rogfield wrote:
> Dear developers,
> I would like to fix bug 81720 
> <https://bugs.documentfoundation.org/show_bug.cgi?id=81720#c22>.
> Basically when you insert a ReferenceMark, if you put the cursor at the 
> edge of it (start or end), and type something, it will expand on the 
> reference mark instead of writing it as a “normal text”.
> You can find how to reproduce it in comment 22 
> <https://bugs.documentfoundation.org/show_bug.cgi?id=81720#c22>.
> I have set up my environment, but I’m not sure where is the code that 
> “checks” if something is a ReferenceMark, if anything.
> Can you point me in the right direction, please?

If you look at the file attached to the report (flat ODF), it has

text:name="fooname"/>foo<text:reference-mark-end text:name="fooname"/>

Grepping then with

git grep 'reference-mark-start'

yields interesting results like

xmloff/source/core/xmltoken.cxx:        TOKEN( "reference-mark-start", 

Hopefully it can help you.

I have no experience with the topic :)


More information about the LibreOffice mailing list