Re: Error in beanshell macro

Jim <[email protected]>
Newsgroups gmane.editors.jedit.user
Message-ID <[email protected]>
On 08/19/2017 02:12 PM, Alan Ezust wrote:
> Oh I remember having a similar (but slightly different) problem with Java
> on Linux, where concatenation of double-quoted string literals caused a
> weird runtime exception related to StringConcatFactory.
> 
> I had to apt-get install libatk-wrapper-java before I could get string
> concatenation to work.
> 

I just installed that package and I still get this error:

Sourced file: /home/jfb/.jedit/macros/MyMacros/Columnize_Code.bsh : 
Error in method invocation: Method insert( java.lang.String, boolean ) 
not found in class'org.gjt.sp.jedit.textarea.JEditTextArea' : at Line: 7 :
  in file: /home/jfb/.jedit/macros/MyMacros/Columnize_Code.bsh
  : textArea .insert ( " " , false )

I am running the same version if jEdit (5.4.0) on both ubuntu 16.04 and 
mint 18. It works on ubuntu 16.04 but not on mint 18. on ubuntu 16.04 I 
am running Oracle java version 1.8.0_121 and on mint 18 I am running 
openjdk version 1.8.0_131. I would like to avoid the hassle of 
installing Oracle java on my mint 18 partition without any assurances 
that it will solve the problem if I can.

Anyone have any other ideas? I am sort of stuck here as I don't know 
java or beanshell for that matter. It took a lot of searching and trial 
and error for me to write it.

Regards,  Jim


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
-- 
-----------------------------------------------
jEdit Users' List
[email protected]
https://lists.sourceforge.net/lists/listinfo/jedit-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.