gszymaszek created this revision. gszymaszek added a reviewer: KTextEditor. gszymaszek set the repository for this revision to R39 KTextEditor. Restricted Application added subscribers: Frameworks, kwrite-devel. Restricted Application added a project: Frameworks.
REVISION SUMMARY This diff enables support for reading configurations from `.editorconfig` files, as an alternative to already supported `.kateconfig`. EditorConfig <http://editorconfig.org/> is supported in many other editors and IDEs. In case of KTextEditor it’s done using editorconfig-core-c <https://github.com/editorconfig/editorconfig-core-c> library that I’ve added to `CMakeLists.txt` and `katedocument.h`. A disadvantage of my approach is that this library became a KTextEditor’s dependency, maybe it should be made optional? Fixes bug 330843 <https://bugs.kde.org/show_bug.cgi?id=330843>. REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D4537 AFFECTED FILES src/CMakeLists.txt src/document/katedocument.cpp src/document/katedocument.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: gszymaszek, #ktexteditor Cc: kwrite-devel, #frameworks