diff --git a/PowerEditor/src/ScitillaComponent/Buffer.cpp b/PowerEditor/src/ScitillaComponent/Buffer.cpp index 550e7f788..2e1a5e1ab 100644 --- a/PowerEditor/src/ScitillaComponent/Buffer.cpp +++ b/PowerEditor/src/ScitillaComponent/Buffer.cpp @@ -1253,17 +1253,14 @@ int FileManager::detectCodepage(char* buf, size_t len) LangType FileManager::detectLanguageFromTextBegining(const unsigned char *data, unsigned int dataLen) { - // it detectes xml, php and bash script file - std::string xmlHeader = ""; // length : 6 - std::string htmlHeader1 = "