On 05/05/2018 11:56 AM, Scott Kostyshak wrote: > The attached patch is an attempt to only show the "Accept Change" and > "Reject Change" options in the context menu when there is a change in > the selection. > > It works well except if the selection is inside an inset. For example, > when in a LyX Note, ppos_beg and ppos_end refer to the position within > the note. Does each inset have its own ParagraphList? If so, how do I > access it?
If it's an InsetText, then it has its own Text object, which has paragraphs: ParagraphList const & pars = theInset.text().paragraphs(); Riki