Note that whether or not a specific character displays or is invisible
is a property of the OS.

That said, we use J on only a small varieties of OS.

That said, the injection of these characters into your code is the
responsibility of whatever it was that injected them -- I do not know
where they came from in the first place.

Also, note that in a 0 :0 context, we typically want our text to be
preserved literally.  So asking for J to silently delete text that you
paste in, while convenient for this case, could be unutterably
frustrating in some different cases.

That said, I am not an implementer of the language, nor its tools, so
I am only voicing my opinions on these issues.

That said, if the "paste" operation is implemented in J (and I am sure
it is in J7 though I would have to double-check in J6) then this
behavior could be altered on your machine without worry about anyone
else having conflicting issues.   And a superficial quick looks
suggests that

   edit 'jijs_editpaste_button_jijs_'

brings me to the code that would need to be changed to get the
behavior you want.  (In other words, I think I would redefine
jijs_editpaste_button_jijs_ to do wd 'clippaste 0' to get the text
from the clipboard and then wd 'clipcopy *',text to put the modified
text back before doing the setedit... but I have not tested this.)

FYI,

-- 
Raul

-- 
Raul

On Sat, Oct 15, 2011 at 4:58 PM, Arthur Anger <[email protected]> wrote:
> variations.  At long last, I examined the stored script with a. i., and found
> those formatting characters faithfully copied in front of the "erroneous" 
> verb.
>
> Executing < 226 128 139{ a. will show the invisibility of the three-character
> sequence found in my screen-copied example.
>
> I would hope that the file-updating portions of the JHS code could weed out
> these characters when pasted in places where they don't belong.  Thanks.
> --Art Anger
> ----------------------------------------------------------------------
> 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