mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-08-07 20:20:20 +03:00
When the function panel is open over a form, highlight() was finding buttons from the hidden form instead of visible commands on the panel. Move command search (cmd_XXX_txt) to step 1 — before form-scoped search — so visible panel commands always take priority. Form elements searched at step 2 only if no command matched. Highlight search order is now: 0. Open submenu/popup (elementFromPoint overlay) 1. Commands on function panel (visible cmd_ elements) 2. Form elements (buttons, fields, grid rows) 3. Sections (sidebar navigation) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>