qreal width = _sceneRect.width();
bool atBottom = (start == _lines.count());
bool atTop = !atBottom && (start == 0);
qreal width = _sceneRect.width();
bool atBottom = (start == _lines.count());
bool atTop = !atBottom && (start == 0);
// no item -> default scene actions
GraphicalUi::contextMenuActionProvider()->addActions(&menu, filter(), BufferId());
// no item -> default scene actions
GraphicalUi::contextMenuActionProvider()->addActions(&menu, filter(), BufferId());