<div>Is there a way to use it from KDevelop?</div><div>š</div><div>26.05.2016, 16:57, "dev Laptander" <dev-laptander@yandex.ru>:</div><blockquote type="cite"><div><div style="font-family:Verdana,Arial,Helvetica,Sans-Serif;"><table bgcolor="#f9f3c9" cellpadding="12" style="border:1px #c9c399 solid;border-radius:6px;" width="100%"><tbody><tr><td>This is an automatically generated e-mail. To reply, visit: <a href="https://git.reviewboard.kde.org/r/126173/">https://git.reviewboard.kde.org/r/126173/</a></td></tr></tbody></table><br /><table bgcolor="#e0e0e0" cellpadding="12" style="border:1px gray solid;border-radius:6px;" width="100%"><tbody><tr><td><h1 style="margin:0;padding:0;font-size:10pt;">This change has been marked as submitted.</h1></td></tr></tbody></table><br /><table bgcolor="#fefadf" cellpadding="12" cellspacing="0" style="border:1px #888a85 solid;border-radius:6px;" width="100%"><tbody><tr><td><div>Review request for Kate.</div><div>By dev Laptander.</div><p style="color:grey;"><i>Updated May 26, 2016, 5:57 p.m.</i></p><h1 style="color:#575012;font-size:10pt;margin-top:1.5em;">Changes</h1><table bgcolor="#ffffff" cellpadding="10" cellspacing="0" style="border:1px solid #b8b5a0;" width="100%"><tbody><tr><td><pre style="margin:0;padding:0;white-space:-o-pre-wrap;">Submitted with commit de546bf064357aed3d92e7340fcea00a72a550d5 by Christoph Cullmann to branch master.</pre></td></tr></tbody></table><div style="margin-top:1.5em;"><b style="color:#575012;font-size:10pt;">Repository: </b> kate</div><h1 style="color:#575012;font-size:10pt;margin-top:1.5em;">Description</h1><table bgcolor="#ffffff" cellpadding="10" cellspacing="0" style="border:1px solid #b8b5a0;" width="100%"><tbody><tr><td><p style="padding:0;margin:0;line-height:inherit;white-space:inherit;">Please, rewiew this and correct me. I marked todo in cpp file and added comments where it is questionable to me.</p></td></tr></tbody></table><h1 style="color:#575012;font-size:10pt;margin-top:1.5em;">Testing</h1><table bgcolor="#ffffff" cellpadding="10" cellspacing="0" style="border:1px solid #b8b5a0;" width="100%"><tbody><tr><td><p style="padding:0;margin:0;line-height:inherit;white-space:inherit;">After fix relative dtd, there is still problem of checking if path includes spaces. Should find a workaround. Standing single quotes in <em style="padding:0;margin:0;line-height:inherit;white-space:normal;">m_proc << "--path '" << path <<"' "; did not helped because xmllint says Unknown option --path ' I have found a way how to force quote that string: QString shell_escaped_path = KShell::quoteArg(path); </em>m_proc << "--path" << shell_escaped_path; But this do not works too, because plugin tryes to append relative path of dtd to that string, which is rounded by single quotes.</p><p style="padding:0;margin:0;line-height:inherit;white-space:inherit;">I need some function, that will replace all " " with "\ " and so on with another characters , like '[','{'... When you are in terminal and using auto completion with tab, then shell uses kind of such function: file names with spaces appears escaped. I do not know if it is possible to call such function from qt. After long searching I have found a sprintf parameter to do it: %q. But now I cannot convert QString to const char<em style="padding:0;margin:0;line-height:inherit;white-space:normal;">. After that edition I plan to convert const char</em> back to QString. Can anybody help with it? Or maybe there is such function for QT?</p></td></tr></tbody></table><h1 style="color:#575012;font-size:10pt;margin-top:1.5em;">Diffs</h1><ul style="margin-left:3em;padding-left:0;"><li>addons/CMakeLists.txt <span style="color:grey;">(61279a28355beed0dd553cf92dba76aacf6060d5)</span></li><li>addons/xmlcheck/CMakeLists.txt <span style="color:grey;">(PRE-CREATION)</span></li><li>addons/xmlcheck/Messages.sh <span style="color:grey;">(PRE-CREATION)</span></li><li>addons/xmlcheck/katexmlcheck.desktop <span style="color:grey;">(PRE-CREATION)</span></li><li>addons/xmlcheck/plugin_katexmlcheck.h <span style="color:grey;">(PRE-CREATION)</span></li><li>addons/xmlcheck/plugin_katexmlcheck.cpp <span style="color:grey;">(PRE-CREATION)</span></li><li>addons/xmlcheck/ui.rc <span style="color:grey;">(PRE-CREATION)</span></li><li>doc/kate/plugins.docbook <span style="color:grey;">(605d867eaaf7fa74b889bd6b95e3a4c801c48b89)</span></li></ul><p><a href="https://git.reviewboard.kde.org/r/126173/diff/" style="margin-left:3em;">View Diff</a></p></td></tr></tbody></table></div></div>,<p>_______________________________________________<br />KWrite-Devel mailing list<br /><a href="mailto:KWrite-Devel@kde.org">KWrite-Devel@kde.org</a><br /><a href="https://mail.kde.org/mailman/listinfo/kwrite-devel">https://mail.kde.org/mailman/listinfo/kwrite-devel</a></p></blockquote><div>š</div><div>š</div><div>--</div><div>Alexander Zhigalin - <span style="color:#0000ff;">DevOps</span></div><div>š</div>