Syntax highlighing

Would be nice to see syntax highlighting for the technical languages used with Percussion / Rhythmyx.

Velocity Templates

#set($i = $o.String)##
#macro ( method $arg $arg1)##
#if($i == 'value')##



import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Properties;
import java.util.StringTokenizer;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.AddressException;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import org.apache.commons.lang.StringUtils;
import com.percussion.workflow.mail.IPSMailMessageContext;
import com.percussion.workflow.mail.IPSMailProgram;
import com.percussion.workflow.mail.PSMailException;

public class ACUJavaxMailProgram implements IPSMailProgram {

    public void init() throws PSMailException {    }

    public void sendMessage(IPSMailMessageContext paramIPSMailMessageContext) throws PSMailException {
        Properties localProperties = new Properties();
        localProperties.put("", paramIPSMailMessageContext.getSmtpHost());
        Session localSession = Session.getDefaultInstance(localProperties, null);

Others? XML / XSL, JavaScript, CSS, HTML ([noparse]

[/noparse] would need to be consistent with other syntax highlighting presentation)


Apologies – this was a forum suggestion. :slight_smile:

Haha. Yes, I realized that after I posted…then got sidetracked by googling vbulletin and syntax highlighting :wink: