Forum > Other

Using 10 Fingers

<< < (4/6) > >>

Josh:
Hi Getmem,

modified app, does not use richmemo; so should be ok for nix..

GetMem:
@josh

Very nicely done! Thank you!  :) Now it works on Linux too. Will test later on macOS.

Few notes:
1. There is a small glitch, if you type the same letter multiple times the length of the text increases(see attached image) 
2. When I press the ESC key, the test does not end(most likely related to point 3)
3. You moved from UTF8KeyPress to KeyPress, I don't know how well it works for non English characters(Russian, Chines, etc..)
4. Can you please add the possibility to load text from file?
5. If you have github(I don't) can you please upload the project?

Josh:
@getmem

uploaded an update; moved routines into unit;
there is now a load button.

now the text area will auto scroll, keeping active line centered when needed. I had a brain freeze earlier and winni helped in other post, i dont do much graphic work; so brain was foggy.

the 'glitch', is by design, if you press the wrong key, the displayed correct text is over written with the wrong text, it is then in red, if you type the write character but wrong case ie c instead of C, it is highligted in blue.

The size of the text is limited to 1500px this can be changed, but equates to about a 200 line text file.

I dont use utf8 much at all, all my stuff is old school ascii, will have to look at that, is there routines to manipulate a utf8string with codepoints positions, ie  mystr[10] will give the 10th utf8 codepoint; like wize for copy routines.. Like I said, i have not to use it for what I do; which is primarily data aquasition and manipulation from various hardware devices.. so good old HEX,Binary stuff.


edit
modified some ufunction routine in thread execute and wait to reduce cpu load (from 20%idle to 1%idle)

Martin_fr:
There is something wrong with the keyboard displayed.

GetMem:
@josh


--- Quote ---uploaded an update; moved routines into unit;
there is now a load button.

now the text area will auto scroll, keeping active line centered when needed. I had a brain freeze earlier and winni helped in other post, i dont do much graphic work; so brain was foggy.

the 'glitch', is by design, if you press the wrong key, the displayed correct text is over written with the wrong text, it is then in red, if you type the write character but wrong case ie c instead of C, it is highligted in blue.

The size of the text is limited to 1500px this can be changed, but equates to about a 200 line text file.

I dont use utf8 much at all, all my stuff is old school ascii, will have to look at that, is there routines to manipulate a utf8string with codepoints positions, ie  mystr[10] will give the 10th utf8 codepoint; like wize for copy routines.. Like I said, i have not to use it for what I do; which is primarily data aquasition and manipulation from various hardware devices.. so good old HEX,Binary stuff.


edit
modified some ufunction routine in thread execute and wait to reduce cpu load (from 20%idle to 1%idle)
--- End quote ---
Thanks.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version