0

My source syntax is combination of blocks starts with # following block name and ends when another block is defined:

#php
   // some php code
   // some php code
   // some php code
#JavaScript
   // some Java Script
   // some Java Script
   // some Java Script

The goal is to have php codes highlighted as php and JavaScripts as JS and so on.

Reza
  • 111
  • 7
  • It's a new programming paradigm, one of the winners of Innovact Campus Competition in France 2011. It has Compiler, Optimizer, Uploader and a simple Web OS put together to shape a higher abstraction layer on web application development. The question concern better highlight solution on gEdit – Reza Mar 12 '12 at 09:51
  • No, I mean what have you tried so far in your Gedit style definition? – ptomato Mar 12 '12 at 09:56
  • I am trying to have but I need and tags to show from where to where in the code it should be highlighted as php and where to where like javascript for example – Reza Mar 13 '12 at 12:34
  • I meant, can you post the XML code you've tried so far. People can only help you if they know where you are and what the problem is. So I gather the problem is you don't know what to put in the `` tag? – ptomato Mar 13 '12 at 12:51
  • that is the problem, what to put in tag, since the syntax says it ends when other starts. – Reza Mar 13 '12 at 13:02

0 Answers0