jsalatas added a comment.
In https://phabricator.kde.org/D4699#89262, @cullmann wrote: > Don't we need to honor "m_reloading" to avoid to do this on document reloads? You are right! We need to check `m_reloading` in cases of multiple consecutive reloads :) REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D4699 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: jsalatas, #ktexteditor, #frameworks, #framework_syntax_hightlighting, dhaumann Cc: dhaumann, cullmann, kwrite-devel