mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
fix compilation error
This commit is contained in:
parent
10a1e9c1a8
commit
e5ff101085
@ -697,8 +697,7 @@ void PegMarkdownHighlighter::getFastParseBlockRange(int p_position,
|
|||||||
goto goup;
|
goto goup;
|
||||||
}
|
}
|
||||||
|
|
||||||
int indent = VEditUtils::fetchIndentation(firstBlock);
|
if (VEditUtils::fetchIndentation(firstBlock) == 0) {
|
||||||
if (indent == 0) {
|
|
||||||
// If previous block is empty, then we could stop now.
|
// If previous block is empty, then we could stop now.
|
||||||
if (VEditUtils::isEmptyBlock(preBlock)) {
|
if (VEditUtils::isEmptyBlock(preBlock)) {
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user