<table><tr><td style="">nibags edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-k55taek3sywiey6/">(Show Details)</a><br />nibags added reviewers: KTextEditor, cullmann, dhaumann.
</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/D25390">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">**KateModeManager::updateFileType():**<br />
<br />
* Validate modes of **katemoderc**: In the same way as in D25389, the file **katemoderc** may contain invalid modes due to custom XML files that are deleted or renamed. Therefore, the existing modes are now verified and then the configuration of the **katemoderc** file is overwritten.<br />
* Prevent the **Normal** mode from being duplicated if the file **katemoderc** exists.<br />
* Modes with empty names are skipped. It's understood that the name of a mode shouldn't be empty, since it acts as a unique identifier.<br />
* Update the list of modes in the status bar menu (class KateModeMenuList) by calling `updateFileType()`. The menu uses the `KateFileType` objects to do a file extension search, so it's necessary. To do this, the `KateModeMenuList::reloadAll()` function is added, which updates the data model of the menu.</span></div></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/D25390">https://phabricator.kde.org/D25390</a></div></div><br /><div><strong>To: </strong>nibags, KTextEditor, cullmann, dhaumann<br /><strong>Cc: </strong>kwrite-devel, kde-frameworks-devel, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann<br /></div>