}
+docstring InsetBranch::layoutName() const
+{
+ docstring const name = support::subst(branch(), '_', ' ');
+ return from_ascii("Branch:") + name;
+}
+
+
+
bool InsetBranch::isMacroScope() const
{
// Its own scope if not selected by buffer
///
void doDispatch(Cursor & cur, FuncRequest & cmd) override;
///
- docstring layoutName() const override { return from_ascii("Branch:") + branch(); }
+ docstring layoutName() const override;
///
Inset * clone() const override { return new InsetBranch(*this); }