I might be confused, but doesn't Esc c only work in the jijs window? I've been 
pasting into the jijx window.

I did some searching and found this which may prove useful:
http://www.stevemiller.net/puretext/


> From: Eric Iverson
> Sent: Wednesday, 20 October 2010 13:50
> 
> I will look into this, but not sure the app has any control over this. I
> imagine that variations will also give IE fits. Nasty. The workaround of
> going through something like notepad is not very nice. The best idea I have
> now is that an action could perhaps 'clean' up the result.
> 
> If you do a paste that messes things up, what happens when you do esc c and
> then again? That should do a reasonable job unless it gets so confused it
> crashes.
> 
> 
> On Tue, Oct 19, 2010 at 8:32 PM, Sherlock, Ric
> <[email protected]>wrote:
> 
> > 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">&nbsp;&nbsp; domain=. |.@|:@<span class="sy0"
> > _moz_dirty="">(</span>{...@[ + ] *~ j./&amp;i.&amp;&gt;/@+.@<span 
> > class="sy0"
> > _moz_dirty="">(</span><span class="nu0" _moz_dirty="">1j1</span> + ]&nbsp;%~
> > -~/@[<span class="sy0" _moz_dirty="">))</span>&amp;&gt;/<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
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to