odoo/o-spreadsheet#7166

Created by BI, Lucas Lefèvre (lul)

Blocked

label
odoo:19.0-prettified-cursor-lul
head
06585133bf25792f8a140929fcb799be0120b097
odoo/o-spreadsheet
19.0 #7166 missing r+
master

[FIX] composer: set cursor on prettified formula

Steps to reproduce:
- type a long formula, e.g. =SUM(11111111, 22222222, 33333333, 44444444, 55555555, 66666666, 77777777, 88888888)
- in the top bar composer, click somewhere that won't be on the first line when prettified (in the fours)

=> the cursor is badly positioned on the prettified formula

task-5095470

Description:

description of this task, what is implemented and why it is implemented that way.

Task: TASK_ID

review checklist

  • [ ] feature is organized in plugin, or UI components
  • [ ] support of duplicate sheet (deep copy)
  • [ ] in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • [ ] in model/UI: ranges are strings (to show the user)
  • [ ] undo-able commands (uses this.history.update)
  • [ ] multiuser-able commands (has inverse commands and transformations where needed)
  • [ ] new/updated/removed commands are documented
  • [ ] exportable in excel
  • [ ] translations (_t("qmsdf %s", abc))
  • [ ] unit tested
  • [ ] clean commented code
  • [ ] track breaking changes
  • [ ] doc is rebuild (npm run doc)
  • [ ] status is correct in Odoo