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
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev