Pavel Sanda wrote:
b) can somebody help me to understand what is the optional parameter of
dissolve inset
for? i see the parameter is used only in getStatus:
case LFUN_INSET_DISSOLVE:
if (!cmd.argument().empty()) {
InsetLayout il = cur.inset().getLayout(cur.buffer().params());
enable = cur.inset().lyxCode() == FLEX_CODE
&& il.lyxtype() == to_utf8(cmd.argument());
} else { ...
whats the point of introducing this?
Martin, blame points to you, can you help me understand of the purpose of this
check?
I think this is to make sure we're dissolving the right kind of inset
(e.g., a charstyle), but I'm not absolutely positive.
rh