Currently, with the following dummy command:

CmdUtils.CreateCommand({
  names: ["testags"],
  arguments: [{role: 'object', nountype: noun_arb_text}, {role:
'alias', nountype: noun_type_tag}],
  preview: function preview(pblock, args) {
    pblock.innerHTML = "Your input is <b>" + args.alias.data + "</
b>.";
  },
  execute: function execute(args) {
    displayMessage("You selected: " + args.alias.data, this);
  }
});

If I select some text on the current tab and type the following
ubiquity command:
"testags some irrelevant text as tag1, tag2"
The first suggestion uses the _selected text_ as the alias argument,
and not my tags. This is clearly an unexpected behavior and I suggest
penalizing long tags (> 2 words) to workaround this issue.

Regards,

Louis-Rémi
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to