PlugIn help with IDE_KeyPressed please

ScottMattes

Member³
Marco,
I thought up a way to make my end of line plugin better (so that it doesn't have to copy the entire window contents each time), but I can't get IDE_KeyPressed to do vk_end with shift set to 1 (to highlight the current line. If shift = 0 I get an infinite loop (since I have my plugin mapped to the End key), so I know the procedure call works, but for any value of shift nothing happens.

Also, how does one combine values for shift inorder to get Shift + Alt? That ends up being the value for Cntrl.

Thank you.

p.s. is the problem of a plugin mapped to End/Home executing in a single line edit control being addressed in the near future?
 
Um, Marco,
Is this in reference to the problem I see with IDE_KeyPressed, or with plugin assigned to Home/End and single line edit controls?
 
The End/Home issue is fixed for the next release.

We did some tests and rewrote the keypress function, but it didn't make a difference with shift-End key combo. The cursor goes to the end, but nothing is selected. I think Windows does some tricky handling of the shift to make these selections.

Anyway, you should be able to mix shift / alt / ctrl by adding the respective values (1, 2, 4).
 
Marco,
Thank you, but a question. With the new release will I be able to select anything using IDE_KeyPressed passing the shift-end key?

Thank you.

p.s. when is the next release due out?
 
With the new release will I be able to select anything using IDE_KeyPressed passing the shift-end key?
No. As stated above, it doesn't seem to work.
p.s. when is the next release due out?
It's in beta right now. If beta feedback is okay, we can release later this month.
 
Back
Top