Hi Malaka, On Thu, Jul 24, 2008 at 07:19, malaka ekanayake <[EMAIL PROTECTED]> wrote: > Hi Fabio, > > Yesterday I mainly look at how the velocity scripting use in the xwiki > pages. > > Velocity scripting can be used mix with the xwiki script.But then there has > to be a way to separate the velocity scripts from other syntax.Such as to a > separate partition.since every velocity script starts with # I'm thinking of > using that to separate from the rest of the syntax. > > At the moment the current editor identify macros (#info,#warning) as > separate partitions () .But since they are also velocity macros they > should also move to the velocity partition as well. > > According to my findings Thus there will be no problem of separating all the > velocity syntax from the rest of by looking at the # character at the start > of the line
Is it just start of the line that you need to check?, velocity scripts *generally* are done like that, but macros, like #error #info, for eg, can be inside a paragraph.. And if you're reading this mail today itself, check the changes I made and confirmed using sandbox http://playground.xwiki.org/xwiki/bin/view/Sandbox/ Venkatesh > > WDUT of that. Is this correct. > > Then I can start by moving all the macros to a separate partition > > > > -- Malaka Ekanayake > CSE UOM > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

