[Development] Assistant documentation can not be copied anymore?

2014-12-17 Thread Bernhard
Hi!

After searching for functions and features in Qt Assistant  I used to copy
code snippets (like function names, signatures etc.) from the Assistant
pages. Starting with Qt5.4 that got pretty annoying.

Still copied code looks perfectly fine but VS2013 Intellisense and compiler
complain about strange errors. It seems there are invisible characters
hidden in the assistant pages that break the code. VS editor doesn't show
these characters at all which is extremely annoying and hard to figure out.

E.g. I tried to copy the prototype of the QWidget::showEvent into the VS
editor. It contains an invisible but harmful character that can't be
compiled (seems the character is inserted directly in front if the
showEvent function name).

Has something changed in the formatting Assistant's pages from Qt 5.3.2 to
Qt 5.4? Can someone confirm/explain this?

-- 
Kind Regards
Bernhard Lindner



___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Assistant documentation can not be copied anymore?

2014-12-17 Thread Reinio Topi

Hi Bernhard,

This change is in qdoc, the tool that generates the documentation. 
Zero-width-space characters are injected into the function signatures, allowing 
browsers to break up long signatures over multiple lines in a nice manner - 
this was made to improve the looks of the new online documentation style, 
published under http://doc.qt.io.

The fact that it breaks copy-paste in some of the editors is unfortunate - 
thanks for reporting this, we'll look into it.

\topi

From: development-bounces+topi.reinio=theqtcompany@qt-project.org 
development-bounces+topi.reinio=theqtcompany@qt-project.org on behalf of 
Bernhard priv...@bernhard-lindner.de
Sent: Wednesday, December 17, 2014 12:40 PM
To: development@qt-project.org
Subject: [Development] Assistant documentation can not be copied anymore?

Hi!

After searching for functions and features in Qt Assistant  I used to copy
code snippets (like function names, signatures etc.) from the Assistant
pages. Starting with Qt5.4 that got pretty annoying.

Still copied code looks perfectly fine but VS2013 Intellisense and compiler
complain about strange errors. It seems there are invisible characters
hidden in the assistant pages that break the code. VS editor doesn't show
these characters at all which is extremely annoying and hard to figure out.

E.g. I tried to copy the prototype of the QWidget::showEvent into the VS
editor. It contains an invisible but harmful character that can't be
compiled (seems the character is inserted directly in front if the
showEvent function name).

Has something changed in the formatting Assistant's pages from Qt 5.3.2 to
Qt 5.4? Can someone confirm/explain this?

--
Kind Regards
Bernhard Lindner



___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development