Re: [Vimprobable-users] Another hinting way?
Vimprobable is a lean web browser optimised for full keyboard control
Brought to you by:
hanness
From: Matthew C. <je...@gm...> - 2012-10-17 03:28:38
|
Hi all, The attached script (letter_hinting.js) will give you the desired letter hinting if you add it to your scripts.js (user scripts) file. This has also been added to the user scripts utility I wrote, available at: http://ahungry.com/vp2_scripter/ahungry_scripter.sh Feel free to tweak the letter_hinting.js until it is acceptable for your own use (it works with the existing hinting by handling all of the letter hinting as a passthrough from the main key bind interceptions by browser). Thanks, -Matt On Tue, Oct 16, 2012 at 07:15:59PM +0200, Hannes Schüller wrote: > 陈三 <che...@gm...> wrote: > > > ______ <che...@gm...> wrote: > > > > i will try the hinting.js > > > > > > FYI, a modification of that file alone will not be enough due to the > > > feature of writing the link text which Matt mentioned. You would > > > have to change the routine catching characters in hint mode located > > > in main.c as well. > > > > Does it mean if i don't know much about programing then it would be > > impossible for me to make it ? that is sad because i know only a > > little JavaScript language. > > Well, it depends on how "messy" you would accept a hack to be. In the > current Vimprobable2, the relevant code in main.c is located in line > 626 until the end of the following if. There, you would have to send > not just numbers, but also strings to the Javascript function. Of > course, this would imply either a major modification of the current > "count" variable or (easier) the introduction of a string variable to > keep the overall input in. > > However, in hinting.js, there would definitely be bigger changes ahead. > > > If there is an option like "set hinting=asdfghjkl" then that would be > > much convenient to me. > > Such an option will most certainly never happen, because of said > irreconcilability with another major feature. > > Hannes > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Vimprobable-users mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vimprobable-users -- Matthew Carter je...@gm... |