We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7e15d7 commit 503de28Copy full SHA for 503de28
src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs
@@ -423,7 +423,7 @@ public override void _Draw()
423
public override void _GuiInput(InputEvent @event)
424
{
425
if (@event is InputEventMouseMotion) return;
426
- if (@event.IsActionPressed(InputStringNames.Backspace, true))
+ if (@event.IsActionPressed(InputStringNames.Backspace, true) && HasSelection() is false)
427
428
var (caretLine, caretCol) = GetCaretPosition();
429
if (caretLine > 0 && caretCol > 0)
0 commit comments