orbitalquark / textadept

Textadept is a fast, minimalist, and remarkably extensible cross-platform text editor for programmers.
https://orbitalquark.github.io/textadept
MIT License
624 stars 38 forks source link

Keypad / numpad's Enter sometimes doesn't behave like regular Enter/Return. #504

Closed RamKromberg closed 5 months ago

RamKromberg commented 5 months ago

Apologizing in advance since the issue might not be a bug so much as a discussion topic / feature request... Still, I can't figure it out so here I go:

Keypad / numpad's Enter sometimes doesn't behave like regular Enter/Return. e.g. When doing Search & Replace, pressing Enter would trigger the Next action. However, pressing the numpad's Enter is ignored.

Now, since kpenter needs to do both newlines in the editor body and various confirmations/Next in different dialog boxes, I believe the best solution would be to have an option to bind kpenter(?) to Enter. However, I hadn't had much luck doing that.

Regards

orbitalquark commented 5 months ago

This was fixed in https://github.com/orbitalquark/textadept/commit/01eaec64fbb60ac2921c500b3e98aa028574dcc0 and is available in 12.3 beta and the nightlies. It will be available in the next stable release as well.