Add in-app help, formula reference outlines, underline and auto-closing

- Help dialog (?, F1, Datei > Hilfe): user topics, all shortcuts and the
  formula functions with one search over everything. Topics and shortcuts
  are plain data in data/help.ts; the function list comes from
  codeReference.ts so new built-ins appear by themselves.
- While a formula is edited, the grid outlines each referenced cell/range
  in the colour of its position in the text, and the outline can be
  dragged to move or resize the reference, as in Excel. Point-mode picks
  (click, drag, arrow keys) are outlined too, so keyboard picking is no
  longer blind.
- Underline as a cell format, plus Mod+Shift+B/I/U toggles that switch on
  unless every selected cell already has the format.
- A formula committed with open parentheses or an open text literal gets
  the missing closers appended; anything that still doesn't parse is left
  alone so the usual error shows instead of a guess.
- Cells and tables with a fill but no text colour get dark or light text
  by WCAG contrast instead of the theme colour (no black on black).
This commit is contained in:
wkh
2026-10-24 00:38:01 +02:00
parent 0368e96e0c
commit 0fca61eb65
19 changed files with 1420 additions and 16 deletions
+16 -2
View File
@@ -651,8 +651,22 @@ Inspector unter **Objekt · Auswahl**: horizontale **Ausrichtung**
**Prozent** 0/2 Stellen, **Datum**/**Zeit**/**Datum + Zeit** — kombiniert mit
der Locale unten — sowie **Datum (ISO)**, das immer `JJJJ-MM-TT` zeigt,
unabhängig von der Locale), **Zell-Textfarbe**,
**Zell-Füllfarbe**, **Fett**/**Kursiv**, „Formatierung entfernen". Auch exakte
**Spaltenbreite** und **Zeilenhöhe** der Fokuszelle.
**Zell-Füllfarbe**, **Fett**/**Kursiv**/**Unterstrichen**, „Formatierung
entfernen". Auch exakte **Spaltenbreite** und **Zeilenhöhe** der Fokuszelle.
Per Tastatur: `Strg`/`Cmd`+`Umschalt`+`B` (oder `F`) fett, `+I` kursiv, `+U`
unterstrichen; jeweils ein, wenn noch nicht jede Zelle der Auswahl es hat,
sonst aus.
### Hilfe (`?`, F1)
Das `?` in der Symbolleiste, **Datei › Hilfe …** oder `F1` öffnet die
eingebaute Hilfe ([`HelpModal.vue`](app/frontend/components/HelpModal.vue)):
Themen für Benutzer, alle Tastenkürzel und die Formelfunktionen samt
Rechenzeichen, mit einer Suche über alles. Themen und Kürzel stehen in
[`data/help.ts`](app/frontend/data/help.ts) und werden von Hand gepflegt, wer
ein Kürzel oder eine sichtbare Funktion ändert, passt sie dort mit an. Die
Funktionsliste kommt aus `data/codeReference.ts` und ist damit immer
vollständig.
### Einstellungen (⚙, links neben dem Titel)