auto-complete changed with 8.2?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
mruffolo
Posts: 4
Joined: Tue May 08, 2007 3:47 pm
Location: Columbia, MD

auto-complete changed with 8.2?

Post by mruffolo »

I just upgraded to 8.2 and am disappointed to see that when I use the auto-complete to change an element value by using "ctrl + space" or "alt + /" it will only display the current value of the element. I'm pretty sure that it used to display all available values from the DTD.
Was this a change made on purpose, if so its very annoying. To me it defeats the purpose of auto-complete.
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

There was no such change in the content completion support. If you have problems please post a cut down same to reproduce the behavior.

Thank you,
George
George Cristian Bina
mruffolo
Posts: 4
Joined: Tue May 08, 2007 3:47 pm
Location: Columbia, MD

Post by mruffolo »

Im not sure what you want me to do, is there somewhere I can send two screenshots of the behavior from v8.1 and v8.2
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

I meant a small XML file and a small DTD (or a pointer to some DTD) and a short description of the steps we should take to reproduce the problem.

I tried to reproduce the problem by it works for me. For instance if I try to edit personal.xml from the oXygen samples ([oxygen]/samples/personal.xml) I get true and false as possible values for the person/@contr attribute without problems.

Best Regards,
George
George Cristian Bina
mruffolo
Posts: 4
Joined: Tue May 08, 2007 3:47 pm
Location: Columbia, MD

Post by mruffolo »

I understand now...the problem is once you have either "true" or "false" already in the file.
To reproduce would be to put contr="false" in the file then highlight the value "false" and use "ctrl + space" to bring up options to change the value.
It will only display the false value, not both true and false.

This used to work fine in 8.1, I just checked it again.

Thanks for your help so far.
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Ok, so you have

contr="false"

with false selected and press CTRL+Space and the content completion shows only false.

The behavior should be the same in 8.1 and it depends where you have the caret, for instance if you make the selection of false from right to left then you are in this situation

contr="|false"
with false selected and | stands for the caret position. If you press CTRL+Space now you will have both true and false.
If you make the selection from left to right then you are in this situation

contr="false|"
with false selected and with | standing for the caret position. In that case oXygen filters the proposals and allows only those that start with the current already entered prefix. The prefix is false thus only false is presented.

Best Regards,
George
George Cristian Bina
mruffolo
Posts: 4
Joined: Tue May 08, 2007 3:47 pm
Location: Columbia, MD

Post by mruffolo »

Thanks, at least I now know how to make it work again.

However with 8.1 it doesn't seem to depend on where the carat (cursor) is located. I ususally select the items by double-clicking the word which puts the caret at the end, contr="false|" Meaning, that with 8.1 I am still getting the entire list of available values to display.

Is there some option that I can select to get this desired effect?

Either way, thanks for your help.
Post Reply