D14274: Modelines: add byte-order-mark & small fixes

Dominik Haumann noreply at phabricator.kde.org
Mon Aug 13 07:32:28 BST 2018


dhaumann added a comment.


  Sidenote: Looking into the code in KTextEditor, there is:
  
     } else if (var == QLatin1String("bom") || var == QLatin1String("byte-order-mark") || var == QLatin1String("byte-order-marker")) {
        if (checkBoolValue(val, &state)) {
            m_config->setBom(state);
        }
    }
  
  So byte-order-mark is also supported, the longer version byte-order-marker is just there for backwards compatibility.

REPOSITORY
  R216 Syntax Highlighting

REVISION DETAIL
  https://phabricator.kde.org/D14274

To: nibags, turbov, dhaumann, cullmann, vkrause, #kate
Cc: kwrite-devel, kde-frameworks-devel, michaelh, kevinapavew, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20180813/fc3ccd4d/attachment.html>


More information about the KWrite-Devel mailing list