erdomke / InnovatorAdmin

A tool for managing Aras Innovator installations focusing on improving the import/export experience.
http://erdomke.github.io/InnovatorAdmin/
MIT License
58 stars 42 forks source link

RunAll does not work (as expected) #58

Closed rneuber1 closed 8 years ago

rneuber1 commented 8 years ago

I would suppose that "Run All" would execute the queries in all open windows, yet this does not happen.

erdomke commented 8 years ago

The goal of "Run All" vs. "Run Current" is to allow you to have multiple queries in you window. For example, you might have a query window which looks like

<AML>
  <Item>...</Item>
</AML>

<AML>
  <Item>.{CARET_HERE}..</Item>
</AML>

In this situation, if you select "Run Current", it will run the second query (where the caret is). However, if you select "Run All", it will attempt to run both queries (which will likely result in an error because there is no root element to the overall XML document). Eventually, "Run Current" should also support running the current selection if multiple characters are selected (although this is not currently the case).