Re: [PATCH] Bug 2011: Pasting text with middle mouse button is not undoable
Michael Gerz wrote: Please test. Works like a charm! Thank you! Thanks for testing! Can this one pass? Jürgen
Re: [PATCH] Bug 2011: Pasting text with middle mouse button is not undoable
Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes: Juergen Michael Gerz wrote: Please test. Works like a charm! Thank you! Juergen Thanks for testing! Juergen Can this one pass? Sure. You understand more about undo that I do now :) JMarc
Re: [PATCH] Bug 2011: Pasting text with middle mouse button is not undoable
Jean-Marc Lasgouttes wrote: Juergen Can this one pass? Sure. You understand more about undo that I do now :) I don't claim to understand the internals, but I think I'm beginning to understand how it is meant to be used (which is not much, but enough to fix this bug). Anyway, it will be in shortly. Jürgen
Re: [PATCH] Bug 2011: Pasting text with middle mouse button is not undoable
Michael Gerz wrote: > >Please test. > > > > Works like a charm! Thank you! Thanks for testing! Can this one pass? Jürgen
Re: [PATCH] Bug 2011: Pasting text with middle mouse button is not undoable
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Michael Gerz wrote: >> >Please test. > >> >> Works like a charm! Thank you! Juergen> Thanks for testing! Juergen> Can this one pass? Sure. You understand more about undo that I do now :) JMarc
Re: [PATCH] Bug 2011: Pasting text with middle mouse button is not undoable
Jean-Marc Lasgouttes wrote: > Juergen> Can this one pass? > > Sure. You understand more about undo that I do now :) I don't claim to understand the internals, but I think I'm beginning to understand how it is meant to be used (which is not much, but enough to fix this bug). Anyway, it will be in shortly. Jürgen
[PATCH] Bug 2011: Pasting text with middle mouse button is not undoable
Please test. Jürgen Index: text3.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text3.C,v retrieving revision 1.306 diff -p -u -r1.306 text3.C --- text3.C 3 Aug 2005 20:21:11 - 1.306 +++ text3.C 15 Sep 2005 13:27:17 - @@ -919,6 +919,7 @@ void LyXText::dispatch(LCursor cur, Fu cur.clearSelection(); string const clip = bv-getClipboard(); if (!clip.empty()) { + recordUndo(cur); if (cmd.argument == paragraph) insertStringAsParagraphs(cur, clip); else
Re: [PATCH] Bug 2011: Pasting text with middle mouse button is not undoable
Juergen Spitzmueller wrote: Please test. Works like a charm! Thank you! Michael
[PATCH] Bug 2011: Pasting text with middle mouse button is not undoable
Please test. Jürgen Index: text3.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text3.C,v retrieving revision 1.306 diff -p -u -r1.306 text3.C --- text3.C 3 Aug 2005 20:21:11 - 1.306 +++ text3.C 15 Sep 2005 13:27:17 - @@ -919,6 +919,7 @@ void LyXText::dispatch(LCursor & cur, Fu cur.clearSelection(); string const clip = bv->getClipboard(); if (!clip.empty()) { + recordUndo(cur); if (cmd.argument == "paragraph") insertStringAsParagraphs(cur, clip); else
Re: [PATCH] Bug 2011: Pasting text with middle mouse button is not undoable
Juergen Spitzmueller wrote: Please test. Works like a charm! Thank you! Michael