mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-18 17:02:06 +03:00
Fix regions highlighter infinite loops when regex matches empty ranges
This commit is contained in:
parent
c95bd83ea1
commit
654e3fcb46
@ -1673,7 +1673,10 @@ struct RegionMatches
|
||||
--recurse_level;
|
||||
}
|
||||
|
||||
beg_pos = end_it->end_coord();
|
||||
if (beg_pos != end_it->end_coord())
|
||||
beg_pos = end_it->end_coord();
|
||||
else
|
||||
++end_it;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user