mirror of
https://github.com/ScintillaOrg/lexilla.git
synced 2025-05-09 03:11:32 +08:00
LexVB: Add missing fold check (#271)
This commit is contained in:
parent
81a84bd416
commit
7d4336e665
@ -363,6 +363,9 @@ void LexerVB::Lex(Sci_PositionU startPos, Sci_Position length, int initStyle, ID
|
||||
}
|
||||
|
||||
void LexerVB::Fold(Sci_PositionU startPos, Sci_Position length, int, IDocument *pAccess) {
|
||||
if (!options.fold)
|
||||
return;
|
||||
|
||||
Accessor styler(pAccess, nullptr);
|
||||
const Sci_Position endPos = startPos + length;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user