<table><tr><td style="">gszymaszek created this revision.<br />gszymaszek added a reviewer: KTextEditor.<br />gszymaszek set the repository for this revision to R39 KTextEditor.<br />Restricted Application added subscribers: Frameworks, kwrite-devel.<br />Restricted Application added a project: Frameworks.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D4537" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This diff enables support for reading configurations from <tt style="background: #ebebeb; font-size: 13px;">.editorconfig</tt> files, as an alternative to already supported <tt style="background: #ebebeb; font-size: 13px;">.kateconfig</tt>. <a href="http://editorconfig.org/" class="remarkup-link" target="_blank" rel="noreferrer">EditorConfig</a> is supported in many other editors and IDEs. In case of KTextEditor it’s done using <a href="https://github.com/editorconfig/editorconfig-core-c" class="remarkup-link" target="_blank" rel="noreferrer">editorconfig-core-c</a> library that I’ve added to <tt style="background: #ebebeb; font-size: 13px;">CMakeLists.txt</tt> and <tt style="background: #ebebeb; font-size: 13px;">katedocument.h</tt>. A disadvantage of my approach is that this library became a KTextEditor’s dependency, maybe it should be made optional?<br />
Fixes <a href="https://bugs.kde.org/show_bug.cgi?id=330843" class="remarkup-link" target="_blank" rel="noreferrer">bug 330843</a>.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R39 KTextEditor</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4537" rel="noreferrer">https://phabricator.kde.org/D4537</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/CMakeLists.txt<br />
src/document/katedocument.cpp<br />
src/document/katedocument.h</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>gszymaszek, KTextEditor<br /><strong>Cc: </strong>kwrite-devel, Frameworks<br /></div>