new Regex( doesn't launch editor -- here is why

Jul 8, 2010 at 5:33 PM

I bet that 99% of people that have this problem are doing the following:

1. type the characters 'new Re'
2. intellisense appears, select Regex and hit '('

The editor will not launch.  That is because the LaunchEditorKeyProcessor is looking at the buffer too early, intellisense selection hasn't been applied yet.  Modifying the LaunchEditorKeyProcessor to do its work in KeyUp instead of KeyDown solves this problem.  Note that you need to adjust a little bit of code in the processor in addition to changing KeyDown for KeyUp.