Skip to content

Comments

[201_2791] Fix tab cycling issue for stroke alphabet characters#2838

Open
Gitjay11 wants to merge 2 commits intoMoganLab:mainfrom
Gitjay11:fix/tab-cycling-stroke
Open

[201_2791] Fix tab cycling issue for stroke alphabet characters#2838
Gitjay11 wants to merge 2 commits intoMoganLab:mainfrom
Gitjay11:fix/tab-cycling-stroke

Conversation

@Gitjay11
Copy link
Contributor

2026/02/22 Fix Tab Cycling for Stroke Alphabet Characters.

What

Added var continuation chains for stroke alphabet characters in math-kbd.scm.

Why

To resolve issue #2791.
The tab cycling UI only displays cyclic completions for characters when they are defined through the var continuation chain from a base keystroke. Since only - var combinations were added previously, they were missing from the tab cycling menu.

How

Added ("<base> var var ..." "<#unicode>") entries corresponding to the previously added - var entries in TeXmacs/progs/math/math-kbd.scm. Also fixed minor trailing space typos in existing mappings like d - var.

How to test

  1. Enter math mode.
  2. Test direct shortcut: Type k then -, it should become a stroke k (<#A741>).
  3. Test tab cycling: Type k then press Tab 3 times. It should correctly show the stroke k character (<#A741>) in the footer and cycle to it.
  4. Repeat this tab cycling test for other base characters: c, d, f, l, o, p, s and uppercase C, D, F, K, L, O, P, S.

@da-liii
Copy link
Contributor

da-liii commented Feb 22, 2026

This fix is wrong.

@Gitjay11
Copy link
Contributor Author

Gitjay11 commented Feb 23, 2026

hi @da-liii , can you review it now?
All checks have passed

@Gitjay11 Gitjay11 force-pushed the fix/tab-cycling-stroke branch from d459d2e to 30fbebb Compare February 23, 2026 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants