D14497: SymbolView: Add a plain-text-parser

Kåre Särs noreply at phabricator.kde.org
Sat Aug 11 13:52:46 BST 2018


sars added a comment.


  OK, Cool :)

INLINE COMMENTS

> plaintext_parser.cpp:51
> +QTreeWidgetItem         *m_lastNode = nullptr;
> +int                      m_paraLineNumber;    // Where the current paragraph begins
> +bool                     m_structIsOff;

You can do the init here with C++11. It is good practice to always initialize the member variables in the constructor or here, even if you always set them before usage.

REVISION DETAIL
  https://phabricator.kde.org/D14497

To: loh.tar, #kate, sars
Cc: dhaumann, #kate, sars, kwrite-devel, michaelh, kevinapavew, ngraham, demsking, cullmann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20180811/910f21a1/attachment.html>


More information about the KWrite-Devel mailing list