]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/WorkArea.C
Document pasteParagraphList as hinted by Jean-Marc
[lyx.git] / src / frontends / WorkArea.C
index 3deac37bd88c773889c7a29d5584b7702b0d8ade..c2b8faf25c2638ed82d55d4da4f1fa7d6c958af2 100644 (file)
@@ -191,7 +191,7 @@ void WorkArea::dispatch(FuncRequest const & cmd0)
 
        theLyXFunc().setLyXView(&lyx_view_);
 
-       bool needRedraw = buffer_view_->workAreaDispatch(cmd0);
+       std::pair<bool, bool> needRedraw = buffer_view_->workAreaDispatch(cmd0);
 
        // Skip these when selecting
        if (cmd0.action != LFUN_MOUSE_MOTION) {
@@ -209,8 +209,8 @@ void WorkArea::dispatch(FuncRequest const & cmd0)
        hideCursor();
        toggleCursor();
 
-       if (needRedraw)
-               redraw();
+       if (needRedraw.first)
+               redraw(needRedraw.second);
 }