ahkpp icon indicating copy to clipboard operation
ahkpp copied to clipboard

Help doesn't search when I select a quoted string

Open mark-wiemer opened this issue 1 year ago • 0 comments

Description

Some selected text values don't seem to trigger search when I open help

Reproduction steps

Steps to reproduce the behavior:

  1. Select/highlight "potato" in some AHK file (including the quotes)
  2. Open help

Expected behavior

Search for "potato" is made in help

Additional context

Help opens but keeps the previous search. This is because when we try to inject "potato" into the file, we get searchText := ""potato"" which in AHK is a syntax error.

Workaround: Don't select values that start or end with ".

thqby gets around this by searching via JS. Ref #78.

mark-wiemer avatar Aug 04 '23 03:08 mark-wiemer