mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-28 08:14:18 +02:00
Remove scintilla deprecated calls SCI_SETSTYLEBITS
Close #1173 Remove deprecated call to SCI_SETSTYLEBITS, see http://www.scintilla.org/ScintillaDoc.html#DeprecatedMessages
This commit is contained in:
parent
d24d3bc33c
commit
735e019382
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user