sublime_text icon indicating copy to clipboard operation
sublime_text copied to clipboard

Tab key doesn't always work in the search bar

Open Ka0t1k opened this issue 4 years ago • 1 comments

Description

When using the search bar to search for text, if the preceding text is a letter or number it doesn't add a tab character

Steps to reproduce

  1. Start Sublime Text
  2. Open the search
  3. enter a string of alphanumeric in the search
  4. press tab

Expected behavior

a tab character to be inserted in the search field

Actual behavior

no tab character is inserted in the search field

Environment

  • 4107
  • macOS Big Sur 11.4

Other test cases

if the final character is a space or seemingly any other symbol then a tab is inserted in the search field

Ka0t1k avatar Jun 26 '21 18:06 Ka0t1k

I see that happening in normal editor conrol, too.

Hitting tab key after a word triggers auto_complete {"default": "\t", "mini": true}, which doesn't fall back to insert \t if no completion was found.

The command is called in find input panels, too.

  • ST 4109
  • Windows 10

deathaxe avatar Jun 26 '21 19:06 deathaxe