Make the formula bar mouse-resizable and wrapping
Switches the formula bar from a single-line <input> to a <textarea>: - A plain <textarea> gets a free, native mouse-draggable resize handle in its bottom-right corner (CSS resize: vertical) -- exactly the "erweiterbar/ erhöhbar mit der Maus" ask, no custom drag code needed. - Unlike the old <input>, it actually wraps a long formula instead of just scrolling it sideways, so dragging the handle taller has something to show (min-height keeps the collapsed case looking like before; max-height caps it at half the viewport). - Brought its keyboard handling in line with the in-cell editor from the last two changes: Alt+Enter/Cmd+Enter insert a literal newline, F4 cycles every reference a selection overlaps, Escape reverts and blurs. - .formula-bar switches to align-items: flex-start (with matching top margins on the labels) so the cell-name/fx labels stay pinned to the first line instead of vertically centering in a now-tall box. Verified interactively: dragging the handle down 80px grows the bar from ~34px to ~113px; Alt+Enter inserts a real newline in the (now multi-line- capable) field. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -112,6 +112,12 @@ Ein Zeilenumbruch bleibt auch nach dem Committen erhalten und wird in der
|
||||
Zelle als solcher dargestellt (umbrechend statt einzeiliger Ellipse), auf die
|
||||
Zeilenhöhe der Tabelle geklemmt.
|
||||
|
||||
**Formelleiste** (`fx`, oben): ein `<textarea>` statt eines einzeiligen Felds
|
||||
— dadurch **umbricht** eine lange Formel statt seitwärts wegzuscrollen, und
|
||||
an der unteren Kante lässt sie sich per **Maus** (natives `resize: vertical`)
|
||||
auf beliebig viele Zeilen aufziehen, um mehr auf einmal zu sehen. `Alt`+`Enter`
|
||||
bzw. `Cmd`+`Enter`, `F4` und `Esc` verhalten sich wie im In-Zellen-Editor.
|
||||
|
||||
### Zell-Formatierung
|
||||
|
||||
Auswahl (Zelle, Bereich, Mehrfachauswahl, ganze Zeile/Spalte über den Kopf) → im
|
||||
|
||||
Reference in New Issue
Block a user