mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 22:04:55 +02:00
Revert 735e0193822f9f39db6816e0d63e27650753e975 for preventing from regression
This commit is contained in:
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…
x
Reference in New Issue
Block a user