mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 22:34:09 +02:00
Added Ctrl+Backspace support for deleting text span
This commit is contained in:
parent
b128180a15
commit
ea072ad77b
3 changed files with 80 additions and 50 deletions
|
@ -2471,8 +2471,12 @@ namespace IDE.ui
|
|||
if (startContentIdx == -1)
|
||||
{
|
||||
lineLeft = trackedElementView.mTextPosition.mIndex;
|
||||
|
||||
repeat
|
||||
{
|
||||
if (lineLeft >= editContent.mData.mTextLength)
|
||||
break;
|
||||
|
||||
if (!((char8)editContent.mData.mText[lineLeft].mChar).IsWhiteSpace)
|
||||
{
|
||||
startContentIdx = lineLeft;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue