Hi Edward,
I'm not sure what to do next in the short term : I cant reproduce what
Alexey / Gaurami reported : the text selection range bug...!
(BTW leointeg does not copy text, it only sends the start/end numeric row+col positions of the first selection range (start-end) in a document)
I've updated the required engine to vscode 1.60 as it's got the fix I requested (and many other small fixes) ...Could that have fixed the bug ?
Could it be that alexei changed the line ending to crlf instead of just lf at the bottom right corner of vscode window while editing a leo body and it shifted the row/col relative number(s)?
Last night I spent an hour or so trying to provoke the bug under my linux machine - and tonight i tried on my windows partition thinking long @clean files in windows would have a different line ending that would account for the shift in position when Leo converts to a position in the body string... But I cant seem to be able to reproduce the bug... God how I'd wish to physically teleport beside Alexey to really see what he's doing to get this bug... :/ (surely something else is in play... And his - although good - description is missing something crucial)
So , I'm using leoInteg relatively bug-free for long sessions wondering why the heck dont I just release this version I've got going as 1.0 instead of 0.1.19 beta ...?
I guess whichever bug (re)surfaces in the short term (that i could reproduce) I can just work on it when it does, and automatically push a 1.1 version when fixed on each user's install through the microsoft extension system.
IN CONCLUSION
So here's what I'll do: I'll release 0.1.19 right now tonight - and I'll release 1.0 (without changes if nothing pops up) along you with 6.4 so they're released the same day. (I'll keep the issue open on github about the selections range.)
My hope is that the new vscode 1.60 - along with the latest leointeg 0.1.19 is somewhat "acceptable/bug free" as a "1.0 version".
--
Félix