Skip to content

Commit

Permalink
Merge pull request #2257 from ericoporto/fix-delete-collapsed-disappe…
Browse files Browse the repository at this point in the history
…ars-script-editor

Editor: fix deleting collapsed text in script editor
  • Loading branch information
ivan-mogilko authored Dec 13, 2023
2 parents 28d73ee + 22fbbfd commit ffe0c43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Editor/AGS.Editor/Panes/ScintillaWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,8 @@ private void SetFolding()

scintillaControl1.SetFoldFlags(FoldFlags.LineAfterContracted); // Draw line below if collapsed
scintillaControl1.Margins[2].Sensitive = true;

scintillaControl1.AutomaticFold = ScintillaNET.AutomaticFold.Show | ScintillaNET.AutomaticFold.Change;
}

void scintillaControl1_MarginClick(object sender, MarginClickEventArgs e)
Expand Down

0 comments on commit ffe0c43

Please sign in to comment.