cullmann added a comment.
Performance must later be profiled after it is used a lot. Then we can e.g. still switch to a vector indexed with the enum value, that should make lookup fast. REPOSITORY R39 KTextEditor BRANCH arcpatch-D19491_1 REVISION DETAIL https://phabricator.kde.org/D19491 To: cullmann, #ktexteditor, dhaumann, loh.tar Cc: kwrite-devel, kde-frameworks-devel, gennad, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann