Revert 735e019382
for preventing from regression
parent
53809d8ef9
commit
232ccc7d46
|
@ -1521,6 +1521,10 @@ void ScintillaEditView::defineDocType(LangType typeDoc)
|
||||||
setSpecialStyle(styleLN);
|
setSpecialStyle(styleLN);
|
||||||
}
|
}
|
||||||
setTabSettings(_pParameter->getLangFromID(typeDoc));
|
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()
|
BufferID ScintillaEditView::attachDefaultDoc()
|
||||||
|
|
|
@ -156,6 +156,7 @@ void URLCtrl::destroy()
|
||||||
if(_hCursor)
|
if(_hCursor)
|
||||||
::DestroyCursor(_hCursor);
|
::DestroyCursor(_hCursor);
|
||||||
}
|
}
|
||||||
|
|
||||||
void URLCtrl::action()
|
void URLCtrl::action()
|
||||||
{
|
{
|
||||||
if (_cmdID)
|
if (_cmdID)
|
||||||
|
|
Loading…
Reference in New Issue