Fix editor cursor navigation for wrapped lines, add word navigation

- Up/down arrows now navigate visual (wrapped) lines instead of logical lines
- Fixed double cursor display at wrap boundaries
- Added word by word navigation via Option+Left/Right or Ctrl+Left/Right
- Updated README keyboard shortcuts documentation

Closes #61
This commit is contained in:
Mario Zechner 2025-11-27 12:08:36 +01:00
parent a59553a881
commit ca0a86b981
4 changed files with 212 additions and 24 deletions

View file

@ -8,8 +8,9 @@
- packages/web-ui/README.md
- We must NEVER have type `any` anywhere, unless absolutely, positively necessary.
- If you are working with an external API, check node_modules for the type definitions as needed instead of assuming things.
- Always run `npm run check` in the project's root directory after making code changes.
- Always run `npm run check` in the project's root directory after making code changes. Do not tail the output, you must get the full output to see ALL errors.
- You must NEVER run `npm run dev` yourself. Doing is means you failed the user hard.
- You must NEVER run `npm run build` yourself. Only ever run `npm run check`.
- Do NOT commit unless asked to by the user
- Keep you answers short and concise and to the point.
- Do NOT use inline imports ala `await import("./theme/theme.js");`