mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Previously, slash commands only worked on the first line of the textarea. This was because shouldShowContextMenu(), handleChange(), and insertMention() all checked against the full text value rather than the current line where the cursor is positioned. Changes: - shouldShowContextMenu: extract current line from cursor position and check if it starts with "/" instead of checking entire text - ChatTextArea handleChange: same current-line extraction for slash command detection and query building - insertMention: when isSlashCommand is true, replace only the slash token on the current line instead of the entire text content Closes #12028 |
||
|---|---|---|
| .. | ||
| audio | ||
| public | ||
| src | ||
| .gitignore | ||
| components.json | ||
| eslint.config.mjs | ||
| index.html | ||
| package.json | ||
| tsconfig.json | ||
| turbo.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
| vitest.setup.ts | ||