RTextAreaBase errors

Questions on using RSyntaxTextArea should go here.

Moderator: robert

RTextAreaBase errors

Postby jrose » Mon Jul 30, 2012 5:27 pm

I think this might be related to why i can't load images into the background either but some functions are giving me private access errors for RTextAreaBase functions. I recently tried to use the setLineHighlightColor and related functions and I get this

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Can't call public method of non-public class: public void org.fife.ui.rtextarea.RTextAreaBase.setCurrentLineHighlightColor(java.awt.Color)
at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:87)
at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:30)
at sketchpad.config$current_line_highlight_color.invoke(config.clj:182)
at sketchpad.config$apply_repl_prefs_BANG_.invoke(config.clj:461)
at sketchpad.repl$init_repl_tabbed_panel.invoke(repl.clj:377)
at sketchpad.repl$repl.invoke(repl.clj:414)
at sketchpad.core$create_app.invoke(core.clj:54)
at sketchpad.core$_main$fn__449.invoke(core.clj:153)

Perhaps this is a Clojure issue with Java interop? I guess worst case I could add java function calls from the RSyntaxTextArea source to call RTextAreaBase but that seems like a hack...
jrose
 
Posts: 15
Joined: Wed Jun 06, 2012 6:26 pm

Re: RTextAreaBase errors

Postby robert » Thu Aug 02, 2012 1:06 pm

Just to close the loop - we've discussed this via email a little bit, we'll get it resolved!
User avatar
robert
 
Posts: 788
Joined: Sat May 10, 2008 5:16 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 3 guests