mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed cursor placement after OpenCodeBlock with 'spaces' indenting
This commit is contained in:
parent
cb13198609
commit
ae8ea6281d
1 changed files with 4 additions and 1 deletions
|
@ -2731,7 +2731,10 @@ namespace IDE.ui
|
|||
InsertAtCursor(sb);
|
||||
}
|
||||
|
||||
CursorTextPos -= indentCount + 2;
|
||||
if (gApp.mSettings.mEditorSettings.mTabsOrSpaces == .Spaces)
|
||||
CursorTextPos -= indentCount*mTabLength + 2;
|
||||
else
|
||||
CursorTextPos -= indentCount + 2;
|
||||
CursorToLineEnd();
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue