1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Fixed switch closing brace with indented cases

This commit is contained in:
Brian Fiete 2022-05-18 07:18:39 -07:00
parent bb7a5a3dff
commit c925d7ccc2

View file

@ -4189,7 +4189,7 @@ namespace IDE.ui
if (lineText.Length == 0) if (lineText.Length == 0)
{ {
ClearLine(); ClearLine();
CursorLineAndColumn = LineAndColumn(line, Math.Max(0, GetLineEndColumn(line, false, false) - gApp.mSettings.mEditorSettings.mTabSize)); CursorLineAndColumn = LineAndColumn(line, Math.Max(0, GetLineEndColumn(line, false, false, false, false, true) - gApp.mSettings.mEditorSettings.mTabSize));
CursorMoved(); CursorMoved();
} }
base.KeyChar(keyChar); base.KeyChar(keyChar);