#48 AutoUpdate and multiple editor

SVN
closed-fixed
QCodeEdit (16)
5
2009-02-16
2009-02-06
No

The list of autoUpdated cursor is static and shared between mutiple editor.
So if i have two editor open, and copy 3 selected line from one editor to another, and i look the first editor, the selection is modified. If i undo the paste in the second editor (with Ctrl+Z), the selection is restored in the first editor

See static QList<QDocumentCursorHandle*> m_autoUpdated;

Do you want more detail ?

Discussion

  • fullmetalcoder
    fullmetalcoder
    2009-02-11

    Fixed in latest SVN (discovered independently while working on placehoders for code snippets).
    The list of auto updated cursor is still static in QDocumentCommand and it may make sense to change that but at least the bugs have disappeared now.

    thanks for the report.

     
  • fullmetalcoder
    fullmetalcoder
    2009-02-11

    • assigned_to: nobody --> fullmetalcoder
    • status: open --> open-fixed
     
  • fullmetalcoder
    fullmetalcoder
    2009-02-16

    • status: open-fixed --> closed-fixed