Move 2-step caret movement to -typing and refactor #7444
Labels
package:engine
package:typing
type:improvement
This issue reports a possible enhancement of an existing feature.
type:refactor
This issue requires or describes a code refactoring.
Milestone
This is a result of a meeting after the review of #7356
📝 Provide a description of the improvement
Changes from #7356 shown that current implementation of 2SCM does not work well with multiple attributes, and needs some capability to synchronize gravity between attributes. At the F2F with @Reinmar, @oleq and @niegowski we agreed it requires some refactoring.
We should start with/consider:
-typing
,We also agreed, there should be only 2 movements required for multiple attributes ending in the same position. E.g. "some linking
code
[]" + ←←, results in "some linkingcode[]
". Meaning stepping inside steps into the deepest attribute at given position. It is to minimize the overhead of additional ←s needed for navigation, simplify the behavior and implementation, especially given, looking at the model with a flat structure of attributes, it's hard to identify the depth of nesting.📃 Other details
Related issues
code
,<br>
,If you'd like to see this improvement implemented, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: