diff --git a/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp b/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp index d7f5eb469..de4a27092 100644 --- a/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp +++ b/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp @@ -1521,9 +1521,6 @@ void ScintillaEditView::defineDocType(LangType typeDoc) setSpecialStyle(styleLN); } setTabSettings(_pParameter->getLangFromID(typeDoc)); - execute(SCI_SETSTYLEBITS, 8); // Always use 8 bit mask in Document class (Document::stylingBitsMask), - // in that way Editor::PositionIsHotspot will return correct hotspot styleID. - // This value has no effect on LexAccessor::mask. } BufferID ScintillaEditView::attachDefaultDoc()