Commit 16b2e41
committed
[FIX] composer: change mode to editing when composer cursor selection changes
Before this commit:
- When typing '=sum(' and pressing the Home key, selecting a range caused weird
behavior in the composer.
- The same issue occurred when using Ctrl+A to select the entire text.
After this commit:
- Changing the cursor selection now correctly switches the mode to 'editing'.
closes #7485
Task: 5226615
X-original-commit: e9da932
Signed-off-by: Vincent Schippefilt (vsc) <vsc@odoo.com>
Signed-off-by: Ronakkumar Mukeshbhai Bharadiya (rmbh) <rmbh@odoo.com>1 parent e4b3ebe commit 16b2e41
File tree
5 files changed
+8
-6
lines changed- src
- components/composer/composer
- helpers/pivot
- tests/composer
5 files changed
+8
-6
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
598 | | - | |
599 | 598 | | |
600 | | - | |
601 | 599 | | |
602 | 600 | | |
603 | 601 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
| |||
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
78 | | - | |
79 | 77 | | |
80 | 78 | | |
81 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
528 | | - | |
529 | 528 | | |
530 | 529 | | |
531 | 530 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
128 | 135 | | |
129 | 136 | | |
130 | 137 | | |
| |||
348 | 355 | | |
349 | 356 | | |
350 | 357 | | |
351 | | - | |
352 | 358 | | |
353 | 359 | | |
354 | 360 | | |
| |||
0 commit comments