> ---
> PS: The same code is used to implement autocompletion everywhere 
> in XXE, therefore the Edit tool and the pick command work have the
same behavior. 


Hmm. Well, this is what's confusing me. If I press ctrl+I to insert an
element, I can press a single letter to select a picklist item and then
just click Enter to insert that item.  This is true whether I use the
Edit tab or the dialog box option. I take it this is not supposed to be
happening?




-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: Monday, January 15, 2007 3:48 AM
To: Mark Fletcher
Cc: xmleditor-support at xmlmind.com
Subject: Re: [XXE] Manual autocompletion doesn't work with pick command

Mark Fletcher wrote:
> I have my autocompletion option set to "Manual" and do not have "only 
> show suggestions" selected.
>  
> My pick command is defined like this:
>  
> <command name="pick" parameter="'Open a new or existing file?' false 
> Existing New"/>
>  
> When the dialog displays, I type "N" and the "New" item is selected.
> However, pressing Enter does nothing. I have to type "New" before 
> pressing Enter will dismiss the dialog.

Type "N" then press SPACE
OR type "N" and press DOWN_ARROW

> It only seems to be the pick command that has this problem. For 
> example, in the editPane autocompletion works as expected. Also, if I 
> change autocompletion to "Automatic", then the pick command behaves.
>  
> I'm pretty sure pick+Manual used to work properly. (I haven't tested 
> this code in a while.) Has something changed?
>  

No bug here.

If you type "N" and autocompletion is not set to "Automatic", then you
have specified just "N" and not "New".

"N" not being an item of the pick list, the "pick" command refuses to
accept what you have specified.

---
PS: The same code is used to implement autocompletion everywhere in XXE,
therefore the Edit tool and the pick command work have the same
behavior.







Reply via email to