Open oakmac opened 6 years ago
This is automatically done by the library: https://github.com/shaunlebron/parinfer/blob/master/lib/parinfer.js#L1543
The API just needs to know if any text is selected or not, which it receives via the options.selectionStartLine
.
The API also uses this option for tab stops, but it just needs to be non-null if any selection is made.
Shaun says:
This might be related to Issue #28