276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
|
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
|
-
+
-
+
|
break;
// selected text
case "rightClickGCSelectedText":
sendCommandToTab("rightClickGCSelectedText", xTab.id);
xGCEWorker.postMessage({
sCommand: "parseAndSpellcheck",
dParam: {sText: xInfo.selectionText, sCountry: "FR", bDebug: false, bContext: false},
dInfo: {iReturnPort: iTab}
dInfo: {iReturnPort: xTab.id}
});
break;
case "rightClickLxgSelectedText":
sendCommandToTab("rightClickLxgSelectedText", xTab.id);
xGCEWorker.postMessage({
sCommand: "getListOfTokens",
dParam: {sText: xInfo.selectionText},
dInfo: {iReturnPort: iTab}
dInfo: {iReturnPort: xTab.id}
});
break;
// conjugueur
case "conjugueur_window":
openConjugueurWindow();
break;
case "conjugueur_tab":
|