Closed rneuber1 closed 8 years ago
The current intended operation of the latest version is as follows. If additional scenarios need to be considered and/or supported, let me know.
Note that the |
character is your cursor and the bold section is the selection.
Using Run Current
will execute the code block that the cursor is in (in this case, the second one).
<AML> <Item type='User' action='get'> <last_name>Smith</last_name> </Item> </AML> <AML> <Item type='User' action='get'> <last_name>|Domke</last_name> </Item> </AML>
Using Run Current
will treat the selection as your query and run it (in this case, only the first Item tag).
<AML> <Item type='User' action='get'> <last_name>Smith</last_name> </Item>| <Item type='User' action='get'> <last_name>Domke</last_name> </Item> </AML>
Using Run Current
can't find a "current" query and instead uses the entire document (both Item tags).
<AML> <Item type='User' action='get'> <last_name>Smith</last_name> </Item> <Item type='User' action='get'> <last_name>|Domke</last_name> </Item> </AML>
ok, in this case you may close this issue.
I have two statements within one AML clause and when I call "Run current", not the one with the caret or the selection is executed, but all (or the first?!) is excuted.