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?
  
  
  `KTextEditor::DocumentPrivate::documentReload()` is keeping 
m_fileTypeSetByUser to a local variable (`byUser`) before calling `openUrl` and 
uses that local variable after reloading to set the highlighting mode.
  
  I'll double check however and get back to you

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

Reply via email to