You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there are two gaps in the Ace Gapfiller UI separated by a single character and the first gap is able to expand in width, the gap starts expanding into the following gap which subsequently becomes impossible to access.
When the first gap expands, its end column is equal to the next gap's start column, so the condition does not trigger and the other gap is not shifted right as it should be. The issue can be resolved by comparing the start columns for both ranges.
The text was updated successfully, but these errors were encountered:
chrahe
added a commit
to chrahe/moodle-qtype_coderunner
that referenced
this issue
Feb 8, 2024
When there are two gaps in the Ace Gapfiller UI separated by a single character and the first gap is able to expand in width, the gap starts expanding into the following gap which subsequently becomes impossible to access.
The reason for this is this line.
When the first gap expands, its end column is equal to the next gap's start column, so the condition does not trigger and the other gap is not shifted right as it should be. The issue can be resolved by comparing the start columns for both ranges.
The text was updated successfully, but these errors were encountered: