The VS Code Extension API makes it hard to create visuals that distinguish adjacent selections from one another. The workaround was to make the visuals for an inactive selection always having its cursor to the right. This way, it will be known in each situation where an inactive selection starts and where it ends.
The VS Code Extension API makes it hard to create visuals that distinguish adjacent selections from one another. The workaround was to make the visuals for an inactive selection always having its cursor to the right. This way, it will be known in each situation where an inactive selection starts and where it ends.