Custom actions in content completion dialog
Posted: Wed Aug 24, 2011 7:55 pm
We want to implement custom actions in content completion dialog similar to "Split listitem" that comes up if you press ctrl + space with cursor inside <para> of <listitem>. This action seems to be custom since the cursor is not inside the <listitem> but inside the <para>.
I looked in DocBook code and could not find the code responsible for adding that custom action. We want to implement similar behavior in bibliography section. There we have <bibliomixed> with <bibliomset> inside. How do we replicate list behavior.
I noticed that it may be possible to do what I want using custom action and content completion modification in document type customization, but before I go that rout I'd like to know how <listitem> does it.
I looked in DocBook code and could not find the code responsible for adding that custom action. We want to implement similar behavior in bibliography section. There we have <bibliomixed> with <bibliomset> inside. How do we replicate list behavior.
I noticed that it may be possible to do what I want using custom action and content completion modification in document type customization, but before I go that rout I'd like to know how <listitem> does it.