D21298: Add example app for printing highlighted text to pdf

2019-05-20 Thread Friedrich W. H. Kossebau
This revision was automatically updated to reflect the committed changes. kossebau marked 2 inline comments as done. Closed by commit R216:47e8ac891f91: Add example app for printing highlighted text to pdf (authored by kossebau). CHANGED PRIOR TO COMMIT

D21298: Add example app for printing highlighted text to pdf

2019-05-19 Thread Pino Toscano
pino added inline comments. INLINE COMMENTS > main.cpp:36 > +parser.addPositionalArgument(QStringLiteral("source"), > QStringLiteral("The source file to print.")); > +parser.addPositionalArgument(QStringLiteral("pdf"), QStringLiteral("The > PDF file to prin to.")); > +

D21298: Add example app for printing highlighted text to pdf

2019-05-19 Thread Dominik Haumann
dhaumann accepted this revision. dhaumann added a comment. This revision is now accepted and ready to land. I ngeneral looks good to me. Maybe use ecm_optional_add_subdirectory - this also allows 3rd party users to omit the code and it still works. INLINE COMMENTS > CMakeLists.txt:6 > + >

D21298: Add example app for printing highlighted text to pdf

2019-05-19 Thread Friedrich W. H. Kossebau
kossebau created this revision. kossebau added a reviewer: vkrause. Herald added projects: Kate, Frameworks. Herald added subscribers: kde-frameworks-devel, kwrite-devel. kossebau requested review of this revision. REVISION SUMMARY Gives an example how to use KSyntaxHighlighting when simply