Skip to content

Ctrl + Backspace in Textboxes: delete whole word, not add rectangle #144

@penCsharpener

Description

@penCsharpener

Steps to reproduce this issue

  1. type two search terms in database or table filter
  2. separate them with some regex (I often use pipe)
  3. remove the filter with Ctrl + backspace to delete entire word

Current behavior

at present Ctrl + backspace will write a rectangle

Expected behavior

the entire word in front of the cursor is removed
this works well in the query editor or quick filters (multi line text boxes)

Other areas

this could be applied in most textboxes but won't be as relevant. See table tabs in Basic, Options, Indexes and Foreign keys. I suppose it's the same issue as in Win Forms; all Textboxes show this behaviour. If it only deleted one letter but adding a box is just weird.

Possible solution

  • I know this from WinForms where I have to check the keys typed and then remove the last word manually up and including the next non-letter and non-digit character from the end
  • see answer by Patrick McDonald to get some idea how this could be fixed manually

Environment

  • HeidiSQL version:
    9.5.0.5253
  • Operating system:
    Win 10 1709

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDefective behaviour in HeidiSQLconfirmedIssue verified by project memberkeyboardAffects usage with keyboard or shortcuts

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions