Hi,

Yes I can reproduce the bug on MacOS too. I have added :main
textmash.core to project.clj. Now after: lein run, the GUI starts and
all implemented functionalities work fine, but in console I get:

Exception in thread "main" java.lang.NullPointerException
(NO_SOURCE_FILE:1)
        at clojure.lang.Compiler.eval(Compiler.java:5440)
        at clojure.lang.Compiler.eval(Compiler.java:5415)
        at clojure.lang.Compiler.eval(Compiler.java:5391)
        at clojure.core$eval.invoke(core.clj:2382)
        at clojure.main$eval_opt.invoke(main.clj:235)
        at clojure.main$initialize.invoke(main.clj:254)
        at clojure.main$null_opt.invoke(main.clj:279)
        at clojure.main$main.doInvoke(main.clj:354)
        at clojure.lang.RestFn.invoke(RestFn.java:422)
        at clojure.lang.Var.invoke(Var.java:369)
        at clojure.lang.AFn.applyToHelper(AFn.java:165)
        at clojure.lang.Var.applyTo(Var.java:482)
        at clojure.main.main(main.java:37)
Caused by: java.lang.NullPointerException
        at user$eval5.invoke(NO_SOURCE_FILE:1)
        at clojure.lang.Compiler.eval(Compiler.java:5424)
        ... 12 more

Looks like a bug in Clojure, since when running textmash in REPL mode,
there are no execeptions.

And about other thoughts.
Yes, I will create seperate discussion group for Textmash.
I agree that extending textmash should be done via plugins.
I thing about communication between plugins and textmash via evetns,
so plugins can know when what happen with what arguments and
eventually can stop or override that event/arguments. Also there will
be core API for text manipulation, menu modification, REPL control,
window and files managment.

Some features posted in my previous e-mail could be done with that
plugins system (as for start text encoding?). So the plugins API would
solve real problems.

Regards,
Olek

On 12 Lut, 06:16, Shantanu Kumar <kumar.shant...@gmail.com> wrote:
> On Feb 12, 8:26 am, Olek <aleksander.nas...@gmail.com> wrote:
>
> > Hi!
>
> > What is the status of paredit.clj in TextMash? Do you have any time
> > for integration?
> > I have moved project to lein in case anyone care.
>
> I ran TextMash on Windows 7 using Leiningen's (version 1.4) run task:
>
> D:\projects\checkout\textmash>lein run -m textmash.core
>
> It shows up the TextMash GUI window but throws exceptions at the
> terminal. Any pointers?
>
> > Editor pane is pretty much advanced, but still missing: encoding
> > support, files managment, text transformations, multiple repl support
> > and evaluation, brackets and hover highlighting, windows mangment,
> > events support, common edit opertations supoort (undo/redo, find,
> > select).
>
> Are you planning to add any plugin support - is there an interface I
> can look at? Things like files management can probably be implemented
> as plugins(?). Also, I think it perhaps makes sense to set up a
> discussion group for TextMash.
>
> Regards,
> Shantanu

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to