1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-19 08:30:25 +02:00

Fixed reformat opening collapsed regions

This commit is contained in:
Brian Fiete 2022-04-16 08:23:43 -07:00
parent 2205090e73
commit 61a39f2a92
2 changed files with 19 additions and 11 deletions

View file

@ -732,6 +732,7 @@ namespace IDE.ui
public int32 mCollapseParseRevision;
public int32 mCollapseTextVersionId;
public bool mCollapseNeedsUpdate;
public bool mCollapseNoCheckOpen;
public List<PersistentTextPosition> PersistentTextPositions
{
@ -5185,6 +5186,9 @@ namespace IDE.ui
if (cursorMoveKind == .FromTyping_Deleting)
return true;
if (mCollapseNoCheckOpen)
return true;
if (IsLineCollapsed(checkLine))
{
if ((cursorMoveKind == .SelectLeft) || (cursorMoveKind == .SelectRight))