aboutsummaryrefslogtreecommitdiffhomepage
path: root/dev
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2017-06-20 10:47:40 +0200
committerGravatar Maxime Dénès <mail@maximedenes.fr>2017-06-20 10:47:40 +0200
commit9c5378131c90c7fb819743d8e79c226492a0331f (patch)
tree444f14b11613ebd90d7a9d154cd484f6624b6753 /dev
parent6cae6006a95ca7587180a1293ab41d48877e79ea (diff)
parentd8874dd855d748aaaf504890487ab15ffd7a677d (diff)
Merge PR#774: [ide] Add route_id parameter to query call.
Diffstat (limited to 'dev')
-rw-r--r--dev/doc/changes.txt4
-rw-r--r--dev/doc/xml-protocol.md9
2 files changed, 11 insertions, 2 deletions
diff --git a/dev/doc/changes.txt b/dev/doc/changes.txt
index 0728608f3..159be9a58 100644
--- a/dev/doc/changes.txt
+++ b/dev/doc/changes.txt
@@ -288,6 +288,10 @@ document type". This allows for a more uniform handling of printing
- The legacy `Interp` call has been turned into a noop.
+- The `query` call has been modified, now it carries a mandatory
+ "route_id" integer parameter, that associated the result of such
+ query with its generated feedback.
+
=========================================
= CHANGES BETWEEN COQ V8.5 AND COQ V8.6 =
=========================================
diff --git a/dev/doc/xml-protocol.md b/dev/doc/xml-protocol.md
index 2ff82c688..127b4a6d2 100644
--- a/dev/doc/xml-protocol.md
+++ b/dev/doc/xml-protocol.md
@@ -308,15 +308,20 @@ CoqIDE typically sets `force` to `false`.
-------------------------------
+### <a name="command-query">**Query(route_id: integer, query: string, stateId: integer)**</a>
+
+`routeId` can be used to distinguish the result of a particular query,
+`stateId` should be set to the state the query should be run.
-### <a name="command-query">**Query(query: string, stateId: integer)**</a>
-In practice, `stateId` is 0, but the effect is to perform the query on the currently-focused state.
```html
<call val="Query">
<pair>
+ <route_id val="${routeId}"/>
+ <pair>
<string>${query}</string>
<state_id val="${stateId}"/>
</pair>
+ </pair>
</call>
```
#### *Returns*