Open mpereira opened 10 years ago
I've also been experiencing this bug, specifically with v%
. This behavior appears to be an issue in vanilla CodeMirror which is what LT uses under the hood. To see for yourself, try their vim demo. A peculiar thing about this bug is that the selection doesn't effect yanking e.g. v%y
but it does effect LT's ability to eval. Please report this upstream.
Checked the latest demo and this seems to be fixed upstream. Once we can upgrade (#45), this should be fixed
Expected behavior: evaluating an arbitrary unit of code selected with the visual mode requires selecting exactly the code users want to evaluate.
Actual behavior: evaluating an arbitrary unit of code selected with the visual mode requires users to select one character further, unless an exception is throw. The exception thrown is related to malformed selections being evaluated.
Demonstration:
Light Table 0.6.2/Vim plugin 0.0.2