combiningAccents top-level constant
Combining marks the lexer keeps with their base, mapped to the spacing accent used when a mark sits on a math letter. Other combining marks (Arabic harakat, Indic signs) stay part of the text.
Implementation
const Map<String, String> combiningAccents = {
'̀': '`',
'́': '´',
'̂': '^',
'̃': '~',
'̄': 'ˉ',
'̆': '˘',
'̇': '˙',
'̈': '¨',
'̊': '˚',
'̋': '˝',
'̌': 'ˇ',
'⃗': '⃗',
};