There is a strange thing with the command "extract", which often (but not always) happens:
I want to extract a highlighted part of code to a new node: @others type(t_string) elemental function ctorFromLogical(l) result(res) !dec$ attributes dllexport :: ctorFromLogical logical, intent(in) :: l res = l end a line from the next fragment To do this I: 1. Insert a new line before the code fragment with the desired name of the node to be created: @others func ctorFromLogical type(t_string) elemental function ctorFromLogical(l) result(res) !dec$ attributes dllexport :: ctorFromLogical logical, intent(in) :: l res = l end a line from the next fragment 2. select the fragment: @others func ctorFromLogical type(t_string) elemental function ctorFromLogical(l) result(res) !dec$ attributes dllexport :: ctorFromLogical logical, intent(in) :: l res = l end a line from the next fragment 3. execute command "*extract*" (or use key-combo *ctrl+shift+d*) and get the following: LeoInteg creates a node with title: type(t_string) elemental function ctorFromLogical(l) result(res) and with the content: !dec$ attributes dllexport :: ctorFromLogical logical, intent(in) :: l res = l end *a line from the next fragment* It seems that LeoInteg passes to the server a fragment of text with shifted lines: it skips the line that should become the title of the new node, and grabs an extra line below the selection. Alexey On Tuesday, August 17, 2021 at 10:44:31 AM UTC+7 tbp1...@gmail.com wrote: > I also have tested the rst3 command with success. Also, my Sphinx build > script ran correctly with CNTL-B after the rst3 command created the rst > file for Sphinx to use.. > > On Monday, August 16, 2021 at 11:13:51 PM UTC-4 viktor....@gmail.com > wrote: > >> Hello Felix, >> >> Félix schrieb am Montag, 16. August 2021 um 07:48:00 UTC+2: >> >>> *Leonistas of the world can now try out the second beta release!* >>> >>> I'm delighted to announce that leointeg >>> <https://github.com/boltex/leointeg#-leo-for-vs-code>(Leo for VSCode) >>> is now at its second 'beta' release, and offered as an '.vsix' extension >>> file, where most features are present -- but in dire need of some user >>> testing to finalize and polish before a launch on the official >>> vscode/microsoft store! >>> >> >> I successfully tested the 'rst3' command in the second beta release. >> >> Thanks a lot for the quick fix of this reported issue ! >> >> With kind regards, >> >> Viktor >> >> -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/c3e14c6b-e3f7-49c5-86c1-a15c663d52c0n%40googlegroups.com.