Insert at carret position
Posted: Thu Mar 13, 2025 5:39 pm
Hi,
we are implementing a side view to reproduce Desktop "Reusable Component view". In this view, an user can choose to insert a reference (xref @conref/@keyref) in the content. We use the insert action "ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation" to achieve this goal. It works successfully but we would like to insert at carret position. After looking at documentation (https://www.oxygenxml.com/doc/versions/ ... ments.html), it doesn't seem possible.
Do you have a suggestion or workaround to help us ?
Regards,
arthur
we are implementing a side view to reproduce Desktop "Reusable Component view". In this view, an user can choose to insert a reference (xref @conref/@keyref) in the content. We use the insert action "ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation" to achieve this goal. It works successfully but we would like to insert at carret position. After looking at documentation (https://www.oxygenxml.com/doc/versions/ ... ments.html), it doesn't seem possible.
Do you have a suggestion or workaround to help us ?
Regards,
arthur