EditArea is not capable of pretty printing. But it can simply integrate to
do real time syntax highlighting.

All the editors I worked with are using this EditArea plugin. I think some
folks are still using CodePress. If so they also have to convert them selves
to EditArea, since CodePress is still not supporting Chrome browser.

On Sun, Jul 25, 2010 at 6:35 PM, Waruna Ranasinghe <war...@wso2.com> wrote:

>
>
> On Sun, Jul 25, 2010 at 6:14 PM, Afkham Azeez <az...@wso2.com> wrote:
>
>> SOAP Tracer is one. I think there is a BPEL editor UI as well.
>
> We don't have a BPEL editor UI, but we show BPEL definition as an XML.
> Therefore, we only need XML syntax hi-lighting and pretty printing.
> I'm not sure whether we can use EditArea in this case. If possible +1 to
> integrate it.
>
>
> Thanks,
> Waruna
>
>
>>
>> Azeez
>>
>>
>> On Sun, Jul 25, 2010 at 5:09 PM, Hiranya Jayathilaka <hira...@wso2.com>wrote:
>>
>>> Hi Chanaka,
>>>
>>> On Sun, Jul 25, 2010 at 4:24 PM, Chanaka Jayasena <chan...@wso2.com>wrote:
>>>
>>>> Data Services wizard is using the same editor (EditArea).
>>>
>>>
>>> Are there any components that use a different XML editor? If so can we
>>> switch to EditArea and be done with the old editor once and for all?
>>>
>>> Thanks,
>>> Hiranya
>>>
>>>
>>>>
>>>>
>>>> On Sun, Jul 25, 2010 at 3:22 PM, Sumedha Rubasinghe 
>>>> <sume...@wso2.com>wrote:
>>>>
>>>>> I think Data services wizard done by Chanaka uses a different xml
>>>>> highlighter. AFAIR esb also uses the same.
>>>>> /sumedha
>>>>>
>>>>> On 7/25/10, Afkham Azeez <az...@wso2.com> wrote:
>>>>> > We still have another syntax highlighter which was used earlier and
>>>>> still in
>>>>> > use by at least the SOAP Message Tracer. EditArea seems to be much
>>>>> better
>>>>> > than that one. We need to be careful when using multiple libraries
>>>>> for the
>>>>> > same functionality. I took a look at the license of EditArea, it is
>>>>> LGPL and
>>>>> > is OK to use but the authors notice needs to be published. Have we
>>>>> done
>>>>> > that?
>>>>> >
>>>>> > Azeez
>>>>> >
>>>>> > On Sun, Jul 25, 2010 at 12:17 PM, Kasun Indrasiri <ka...@wso2.com>
>>>>> wrote:
>>>>> >
>>>>> >> Hi folks,
>>>>> >>
>>>>> >> We had a major requirement in ESB to  have real-time syntax
>>>>> highlighting
>>>>> >> for ESB source views(it was a raw text editor at that time :)) for
>>>>> Iridium
>>>>> >> release. So, at that point of time, Carbon UI framework does not
>>>>> have such
>>>>> >> highlighter to suit that requirement. I think, Chanaka dig a round
>>>>> for a
>>>>> >> good solution and he found Editarea[1] and I added it to Carbon
>>>>> UI[2] and
>>>>> >> used in in all ESB XML source view.
>>>>> >>
>>>>> >> However, now it is not just used in ESB but also in most of the
>>>>> other XML
>>>>> >> views in management console (Policy Editor etc.).
>>>>> >> I agree with Azeez that these changes were not properly communicated
>>>>> to
>>>>> >> the
>>>>> >> list :(. Anyway, if we are currently using multiple XML editors in
>>>>> our
>>>>> >> platform (or in most cases, not using any rich editor at all ), we
>>>>> should
>>>>> >> unify it to one editor (may be EditArea or something else).
>>>>> >>
>>>>> >> regards,
>>>>> >> Kasun
>>>>> >>
>>>>> >> [1]
>>>>> >>
>>>>> http://www.cdolivet.com/index.php?page=editArea&sess=af96897233104c82227a66378ea17ef7
>>>>> >> [2]
>>>>> >>
>>>>> https://svn.wso2.org/repos/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/resources/web/editarea
>>>>> >>
>>>>> >>
>>>>> >> On Sun, Jul 25, 2010 at 11:17 AM, Afkham Azeez <az...@wso2.com>
>>>>> wrote:
>>>>> >>
>>>>> >>>
>>>>> >>>
>>>>> >>> On Sun, Jul 25, 2010 at 11:15 AM, Hiranya Jayathilaka
>>>>> >>> <hira...@wso2.com>wrote:
>>>>> >>>
>>>>> >>>>
>>>>> >>>>
>>>>> >>>> On Sun, Jul 25, 2010 at 1:29 AM, Afkham Azeez <az...@wso2.com>
>>>>> wrote:
>>>>> >>>>
>>>>> >>>>> Hi Kasun,
>>>>> >>>>> I accidentally came across this post,
>>>>> >>>>>
>>>>> http://kasunpanorama.blogspot.com/2010/03/real-time-xml-syntax-highlighter-in.html
>>>>> ,
>>>>> >>>>> in your blog. We already use JavaScript libraries that do XML
>>>>> syntax
>>>>> >>>>> highlighting. Also, in Carbon, we need to use the same libraries
>>>>> across
>>>>> >>>>> all
>>>>> >>>>> components. So for instance, when it comes to graph generation or
>>>>> XML
>>>>> >>>>> syntax
>>>>> >>>>> highlighting etc. we need to stick to a single agreed upon
>>>>> library set.
>>>>> >>>>> When
>>>>> >>>>> you start using a new library, please let others know about it
>>>>> (perhaps
>>>>> >>>>> I
>>>>> >>>>> missed that mail).
>>>>> >>>>>
>>>>> >>>>
>>>>> >>>> So does this mean that we are using multiple XML editors in the
>>>>> platform
>>>>> >>>> now? If so we need to converge into one. May be Chanaka can shed
>>>>> some
>>>>> >>>> light
>>>>> >>>> on the matter. IIRC he did the initial work required to integrate
>>>>> >>>> EditArea
>>>>> >>>> into Carbon.
>>>>> >>>>
>>>>> >>>
>>>>> >>>
>>>>> >>> Yes! That was my point. See my earlier reply. AFAIC, there was no
>>>>> mail to
>>>>> >>> carbon-dev about using this library. When you make major platform
>>>>> level
>>>>> >>> decisions like that, you need to inform the list!
>>>>> >>>
>>>>> >>>
>>>>> >>>> Thanks,
>>>>> >>>> Hiranya
>>>>> >>>>
>>>>> >>>>
>>>>> >>>>> If this library is good enough, make it part of the Carbon UI
>>>>> >>>>> framework,
>>>>> >>>>> and make sure that all components that do syntax highlighting use
>>>>> the
>>>>> >>>>> same
>>>>> >>>>> library. We can start by updating the SOAP Tracer syntax
>>>>> highlighting
>>>>> >>>>> bit.
>>>>> >>>>>
>>>>> >>>>> Others please note: you need to inform everybody when you decide
>>>>> to use
>>>>> >>>>> a library which implements a cross-cutting concern. One of the
>>>>> greatest
>>>>> >>>>> aspects about the Carbon platform is consistency.
>>>>> >>>>>
>>>>> >>>>> Thanks
>>>>> >>>>> --
>>>>> >>>>> Afkham Azeez
>>>>> >>>>> Senior Software Architect & Senior Manager; WSO2, Inc.;
>>>>> >>>>> http://wso2.com,
>>>>> >>>>> Lean . Enterprise . Middleware
>>>>> >>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>>> >>>>> email: az...@wso2.com cell: +94 77 3320919
>>>>> >>>>> blog: http://blog.afkham.org
>>>>> >>>>> twitter: http://twitter.com/afkham_azeez
>>>>> >>>>> linked-in: http://lk.linkedin.com/in/afkhamazeez
>>>>> >>>>>
>>>>> >>>>> _______________________________________________
>>>>> >>>>> Carbon-dev mailing list
>>>>> >>>>> Carbon-dev@wso2.org
>>>>> >>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>> >>>>>
>>>>> >>>>>
>>>>> >>>>
>>>>> >>>>
>>>>> >>>> --
>>>>> >>>> Hiranya Jayathilaka
>>>>> >>>> Senior Software Engineer;
>>>>> >>>> WSO2 Inc.;  http://wso2.org
>>>>> >>>> E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
>>>>> >>>> Blog: http://techfeast-hiranya.blogspot.com
>>>>> >>>>
>>>>> >>>> _______________________________________________
>>>>> >>>> Carbon-dev mailing list
>>>>> >>>> Carbon-dev@wso2.org
>>>>> >>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>> >>>>
>>>>> >>>>
>>>>> >>>
>>>>> >>>
>>>>> >>> --
>>>>> >>> Afkham Azeez
>>>>> >>> Senior Software Architect & Senior Manager; WSO2, Inc.;
>>>>> http://wso2.com,
>>>>> >>> Lean . Enterprise . Middleware
>>>>> >>> Member; Apache Software Foundation; http://www.apache.org/
>>>>> >>> email: az...@wso2.com cell: +94 77 3320919
>>>>> >>> blog: http://blog.afkham.org
>>>>> >>> twitter: http://twitter.com/afkham_azeez
>>>>> >>> linked-in: http://lk.linkedin.com/in/afkhamazeez
>>>>> >>>
>>>>> >>> _______________________________________________
>>>>> >>> Carbon-dev mailing list
>>>>> >>> Carbon-dev@wso2.org
>>>>> >>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>> >>>
>>>>> >>>
>>>>> >>
>>>>> >>
>>>>> >> --
>>>>> >> Kasun Indrasiri
>>>>> >> Senior Software Engineer
>>>>> >> WSO2, Inc.; http://wso2.com
>>>>> >> lean.enterprise.middleware
>>>>> >>
>>>>> >> cell: +94 71 536 4128
>>>>> >> Blog : http://kasunpanorama.blogspot.com/
>>>>> >>
>>>>> >> _______________________________________________
>>>>> >> Carbon-dev mailing list
>>>>> >> Carbon-dev@wso2.org
>>>>> >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>> >>
>>>>> >>
>>>>> >
>>>>> >
>>>>> > --
>>>>> > Afkham Azeez
>>>>> > Senior Software Architect & Senior Manager; WSO2, Inc.;
>>>>> http://wso2.com,
>>>>> > Lean . Enterprise . Middleware
>>>>> > Member; Apache Software Foundation; http://www.apache.org/
>>>>> > email: az...@wso2.com cell: +94 77 3320919
>>>>> > blog: http://blog.afkham.org
>>>>> > twitter: http://twitter.com/afkham_azeez
>>>>> > linked-in: http://lk.linkedin.com/in/afkhamazeez
>>>>> >
>>>>>
>>>>> --
>>>>> Sent from my mobile device
>>>>>
>>>>> _______________________________________________
>>>>> Carbon-dev mailing list
>>>>> Carbon-dev@wso2.org
>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Hiranya Jayathilaka
>>> Senior Software Engineer;
>>> WSO2 Inc.;  http://wso2.org
>>> E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
>>> Blog: http://techfeast-hiranya.blogspot.com
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Afkham Azeez
>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
>> Lean . Enterprise . Middleware
>> Member; Apache Software Foundation; http://www.apache.org/
>> email: az...@wso2.com cell: +94 77 3320919
>> blog: http://blog.afkham.org
>> twitter: http://twitter.com/afkham_azeez
>> linked-in: http://lk.linkedin.com/in/afkhamazeez
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> -------------------------------------------------------------------------
> Waruna Ranasinghe
> Senior Software Engineer, WSO2
>
> Mobile: +94 724 318285
> BLOG: http://warunapw.blogspot.com
>
> www.wso2.com - "Lean . Enterprise . Middleware"
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to