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:
parent
2205090e73
commit
61a39f2a92
2 changed files with 19 additions and 11 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue