wsdfhjxc created this revision. wsdfhjxc added reviewers: KTextEditor, Kate. Restricted Application added projects: Kate, Frameworks. Restricted Application added a subscriber: Frameworks. wsdfhjxc requested review of this revision.
REVISION SUMMARY This is an attempt to make the word/char count in the status bar a global preference covering the whole editor instead of a temporary menu option activated on demand for individual documents. BUG: 386897 TEST PLAN 1. Open Kate. 2. Open two new documents. 3. Go to Settings -> Configure Kate -> Appearance. 4. Check the "Show Word Count" option and apply changes. 5. Word counter in the status bar is shown across all documents. 6. Open another new document and observe the word counter. 7. Close Kate and open it once again. 8. The word counter is still there. REPOSITORY R39 KTextEditor BRANCH patch-1 REVISION DETAIL https://phabricator.kde.org/D11822 AFFECTED FILES src/dialogs/katedialogs.cpp src/dialogs/textareaappearanceconfigwidget.ui src/utils/kateconfig.cpp src/utils/kateconfig.h src/view/kateview.cpp To: wsdfhjxc, #ktexteditor, #kate Cc: #frameworks, michaelh, kevinapavew, ngraham, demsking, cullmann, sars, dhaumann