[Lazarus] Text selection with numeric keypad on Linux

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Dec 20 17:28:52 CET 2012


Mattias Gaertner schrieb:

>>> But this does not work on Linux (Ubuntu 8x, 10x in my case). The Lazarus
>>> editor seems to ignore the key combination.
>> This may be a Linux problem. Traditionally the Shift key inverts NumLock
>> for the numeric keypad. Not every Linux offers an option "Windows
>> compatible Shift key behaviour".
>>
>> What happens in any other editor, when you press Shift-End etc.?
> 
> The standard Text Editor 'gedit' inserts a '1', same as Lazarus.

Then it's time to configure the Linux keyboard for Windows-compatible 
handling of the Shift key, if desired. Lazarus cannot do anything when 
the Linux keyboard handler returns '1' for that key combination.

Big keyboards have dedicated End etc. keys, in/above the cursor key 
block, which should work together with Shift as on Windows. But notebook 
keyboards (mine) may not have such keys :-(

DoDi





More information about the Lazarus mailing list