[FM discuss] new editor in place (SOLVED vs NOT SOLVED)

adam hyde adam at flossmanuals.net
Sun Jul 22 01:18:10 PDT 2007


the editor captures key events, if you press the '?' icon on the editor
you get see what does what:

ENTER new paragraph (<P>) 
SHIFT-ENTER insert linebreak (<BR>) 
CTRL-A Select all 
CTRL-B Bold 
CTRL-I Italic 
CTRL-U Underline 
CTRL-S Strikethrough 
CTRL-L Justify Left 
CTRL-E Justify Center 
CTRL-R Justify Right 
CTRL-J Justify Full 
CTRL-Z Undoes your last action 
CTRL-Y Redoes your last action  
CTRL-N Set format to paragraph 
CTRL-0 (zero) Clean content pasted from Word 
CTRL-1 .. CTRL-6 Headings (<h1> .. <h6>) 
CTRL-X Cut selection 
CTRL-C Copy selection 
CTRL-V Paste from clipboard

(mr snow - think this is defined by the function
Xinha.prototype._shortCuts=function(ev) on line 2436 of
xinha/XinhaCore.js)

adam



On Sun, 2007-07-22 at 10:04 +1000, Mr. Snow wrote:
> > So it's 58, as far as I can see... however, you're very close, because
> > 115 is "Home", which is what I want Apple+leftarrow to eventually  
> > do! ;-)
> 
> ok, so its not that simple .
> left is 37 ( on my macbook )
> to detect the depression of the apple key you have to detect for the  
> meta modifier key ( it probably equates to the windows key in  
> windows, and the linux key in linux ) in conjunction with the left key .
> 
> here is a script that i have cooked to include the meta key detect,  
> and implemented it to detect apple+left . i will try to understand  
> the script, and will ask adam for a directive to trap those keystokes  
> and > /dev/null
> 
> ok, could someone also let me know if the editor is capturing  
> keystrokes already, and if so, how does one for example <boldify />
> 
> > d.
> >
> > adam hyde wrote:
> >> i am trying to find a script online that can display keycodes so i  
> >> can
> >> get onto the apple key issue...any idea what the keycode is for the
> >> apple key? i think its 115, but damned if i can find a script to  
> >> help us
> >> display it anywhere
> >
> > -- 
> > derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/ 
> > macumbista
> > ---Oblique Strategy # 190:
> > "You can only make one dot at a time"
> > _______________________________________________
> > Discuss mailing list
> > Discuss at lists.flossmanuals.net
> > http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
> 
> _______________________________________________
> Discuss mailing list
> Discuss at lists.flossmanuals.net
> http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
-- 


adam hyde
floss manuals

free manuals for free software
http://www.flossmanuals.net

mobile : + 31 6 154 22770 (Netherlands mobile)
email : adam at flossmanuals.net





More information about the Discuss mailing list