mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +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);
|
InsertAtCursor(sb);
|
||||||
}
|
}
|
||||||
|
|
||||||
CursorTextPos -= indentCount + 2;
|
if (gApp.mSettings.mEditorSettings.mTabsOrSpaces == .Spaces)
|
||||||
|
CursorTextPos -= indentCount*mTabLength + 2;
|
||||||
|
else
|
||||||
|
CursorTextPos -= indentCount + 2;
|
||||||
CursorToLineEnd();
|
CursorToLineEnd();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue