Revert 735e019382
for preventing from regression
This commit is contained in:
parent
53809d8ef9
commit
232ccc7d46
@ -1521,6 +1521,10 @@ 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()
|
||||
|
@ -156,6 +156,7 @@ void URLCtrl::destroy()
|
||||
if(_hCursor)
|
||||
::DestroyCursor(_hCursor);
|
||||
}
|
||||
|
||||
void URLCtrl::action()
|
||||
{
|
||||
if (_cmdID)
|
||||
|
Loading…
Reference in New Issue
Block a user