I tried copying from ff to ff using ctrl-c/ctrl-v (rosetta to jhs ijs) and
it worked ok. Also I copy from ff then pasted into geany (a text editor)
it is also ok.
I tested with debian.
Срд, 20 Окт 2010, Sherlock Ric писал(а):
> I've been experimenting with copying and pasting single lines of code from
> other web pages (mainly RosettaCode) to the JHS jijx window and trying to
> work with it.
>
> This seems to work pretty well in IE8, but in Firefox it is very frustrating.
>
> Using just the single line:
>
> domain=. |.@|:@({...@[ + ] *~ j./&i.&>/@+.@(1j1 + ] %~ -~/@[))&>/
>
> from:
> http://rosettacode.org/wiki/Mandelbrot_set#J
>
> It seems that when I copy from a webpage the html code (not just the
> displayed text) is copied (doesn't matter if copy from a page displayed in
> IE8 or Firefox).
>
> When I paste into IE the extraneous info is removed and I can successfully
> define the verb in the jijx window. However when I paste it into Firefox it
> attempts to retain the syntax highlighting info from RosettaCode. This is the
> source (using Firebug) for the prompt div in the jijx window after pasting
> the code.
>
> <div class="log" id="prompt"> domain=. |.@|:@<span class="sy0"
> _moz_dirty="">(</span>{...@[ + ] *~ j./&i.&>/@+.@<span class="sy0"
> _moz_dirty="">(</span><span class="nu0" _moz_dirty="">1j1</span> + ] %~
> -~/@[<span class="sy0" _moz_dirty="">))</span>&>/<br
> _moz_dirty=""></div>
>
> Not the desired result! If I paste into IE8 jijx window and then copy out of
> there and paste into a Firefox jijx window then all is ok too.
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm