Thanks for the feedback. I just extended the paredit-widget function to be
able to consume pre-existing widgets:

(p/paredit-widget (javax.swing.JTextArea. "(foo bar)"))

fyi right now the implementation isn't taking advantage of parsley's
incremental parsing support, and instead is reparsing the text with every
paredit command execution. This might be an issue for big files, but is
fixable.


On Mon, Aug 5, 2013 at 7:51 PM, Zach Oakes <[email protected]> wrote:
>
> Hi kovasb, I mentioned this in the other thread but it's best to ask
here: Can you provide a way to pass an existing JTextArea to it, rather
than instantiating your own?
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to [email protected]
> Note that posts from new members are moderated - please be patient with
your first post.
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
"Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to