From 735e0193822f9f39db6816e0d63e27650753e975 Mon Sep 17 00:00:00 2001 From: Christian Grasser Date: Mon, 23 Nov 2015 21:45:27 +0100 Subject: [PATCH] Remove scintilla deprecated calls SCI_SETSTYLEBITS Close #1173 Remove deprecated call to SCI_SETSTYLEBITS, see http://www.scintilla.org/ScintillaDoc.html#DeprecatedMessages --- PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp | 3 --- 1 file changed, 3 deletions(-) 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()