Closed veksha closed 1 year ago
Codeium
idc=dlg_proc(h, DLG_CTL_ADD, 'editor');
dlg_proc(h, DLG_CTL_PROP_SET, index=idc, prop={
'name': 'memo',
'align': ALIGN_CLIENT,
'font_size': font_size,
'on_key_down': cls.on_key_down,
})
i guess on_key_down handler slows it.
no, in other dialogs too. like Option Editor Lite. and on clean Cuda.
OptionsEditorLite also has on_key_down handler!
and it has 'keypreview': True,
on_key_down makes python -> pascal callbacks. it is slower. (keypreview: True
--- too)
ok. i see.
noticed small typing speed difference in main editor and in modal dialog editor:
https://github.com/Alexey-T/CudaText/assets/275333/cd687563-af4a-4158-85f0-8a457ef100ce