I want to create condition box with validation.
I have used synedit for creating condition box . it is highlighting and it is working properly .
I want to validate syntax like user is writing conditions.
example : if ( x > 0 ) then
goto abc
else
goto pqr
it should validate brackets and or operator .
how I can do it