T O P I C R E V I E W |
horeaper |
Posted - Apr 20 2010 : 03:21:43 AM (Applies to VS2010RTM C# environment only, everything is fine under C++)
The suggestion listbox didn't got focus when showing VA Snippet, I can't use Enter to insert snippets. I tried the way mentioned in TOPIC_ID=5495, but can't find "ListboxSelectionStyle" in the registry. Tried to add it manually, didn't work.
Strangely, I can use Tab key to insert snippets, which I didn't check it in the Listboxes options.
If the suggestion isn't a VA snippet, everything is fine.
VA_X.dll file version 10.6.1819.0 built 2010.04.06 DevEnv.exe version 10.0.30319.1 msenv.dll version 10.0.30319.1 Comctl32.dll version 6.10.6002.18005 Windows Vista 6.0 Build 6002 Service Pack 2 2 processors (x86)
Platform: Custom Stable Includes: D:\\Microsoft DirectX SDK (August 2009)\\Include; C:\\Program Files\\Microsoft SDKs\\Windows\\v7.0A\\Include; D:\\Microsoft Visual Studio 10.0\\VC\\include; D:\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\include;
Other Includes:
Stable Source Directories: D:\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\src\\mfc; D:\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\src\\mfcm; D:\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\src\\atl; D:\\Microsoft Visual Studio 10.0\\VC\\crt\\src;
|
4 L A T E S T R E P L I E S (Newest First) |
support |
Posted - May 10 2010 : 9:06:03 PM case=43220 is fixed in build 1823 |
accord |
Posted - Apr 22 2010 : 3:37:54 PM I was able to reproduce the problem, thank you for the clear description.
case=43220 |
horeaper |
Posted - Apr 20 2010 : 04:35:47 AM I updated the post, this problem only happens when snippet is showing.
for example, I have "pu" mapped to "public " in snippet. If I typed this:
class BloomEffect { p
A list box will show, focused, with an entry which looks like "{} public" get selected (acceptable via Enter). But when I typed an 'u', this entry still get selected, but the list box will lost focus (no longer acceptable via Enter, but acceptable via Tab).
Another example: I have "re" mapped to "return ", type following code:
int rightToken; r
A listbox with rightToken will show and got focus correctly. Then I type 'e', "{} return" will shown and the listbox lost focus.
(I have a lot of snippets, so I got the wrong impression on the first view, sorry!)
|
accord |
Posted - Apr 20 2010 : 04:06:12 AM Can you please try to create a new c# windows forms application to see if you can reproduce the problem there?
I just created a new project, opened form1.cs and typed f under the line
InitializeComponent();
and I got a listbox with focus. Also, tried this:
InitializeComponent(); int Apple; a
and I got a listbox with Apple (after a) and I was able to accept it via enter.
What do you see if you do the same? |
|
|