Right now you can only highlight lines that are next to each other at the same time. But you could want to highlight line 1 & 3 but not line 2. To allow this, the primitive type for animateCode should be a set of lines instead of a range of lines. Both single int and ranges will be automatically convertible to sets so it shouldn't affect any existing code.
Right now you can only highlight lines that are next to each other at the same time. But you could want to highlight line 1 & 3 but not line 2. To allow this, the primitive type for
animateCode
should be a set of lines instead of a range of lines. Both singleint
and ranges will be automatically convertible to sets so it shouldn't affect any existing code.