[lazarus] some problems with the editor (little :o) )

Michal Bukovjan bukovjan at mbox.dkm.cz
Fri Jan 24 16:00:58 EST 2003


Mattias Gaertner wrote:
> On Wed, 22 Jan 2003 23:25:18 +0100
> olivier Guilbaud <golivier at free.fr> wrote:
> 

[... snip ...]


> 
>>3°) Request [CTRL]+[SHIFT]+n with n = 0..9 for toggle Bookmark n
>>      and [CTRL]+n for goto bookmark (like DELPHI it is hard separer
>>      certain 
>>abitudes :o) )
> 
> 
> [CTRL]+[SHIFT]+n are somewhat special under gtk. The gtk-interface needs
> only a good mapping from the gtk keys to the VK_ key constants. Maybe
> someone can lookup the rules for these keys and give me hint.
> 
> 

Looks like we need to fill in some constants in 
gtkproc.int/GetGTKKeyInfo, but I am not sure - should we map, for 
example GDK_DOLLAR (which is Shift+4) to VK_4? Or some other VK_ code 
not present in lcltype?

What VK_ code is returned when you press Shift+4 on Windows?

Michal






More information about the Lazarus mailing list