Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-3427

Manual copy from QTextEdit strips, white space and tab

XMLWordPrintable

      When a line of text having lot of white spaces Or only tabs copied in clipboard after selection( right click copy) , It does not pastes all spaces of line or tab to MsWord, It strips the white spaces when pasted with word.

      It was not not reproduced with Qt 3 QTextEdit.

      To reproduce:
      Run

      int main( int argc, char * argv[] )
      {
          QApplication app( argc, argv );
          QTextEdit edit;
          
          edit.show();
          return app.exec();
      }
      

      Type something like :

      lots                      of                           spaces

      Select this line copy and paste in Ms word.
      You can see all these spaces are stripped.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            laknoll Lars Knoll
            smk smk
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes