Friday, July 18, 2008

Yet another test for syntax highlighting

This time the code is a piece of HTML created using Vim's Syntax->Convert to HTML feature.
/**
* @author ranjith
* @date May 13, 2008
* JPA Persistance in action
*/
public class MessageJPATest {
public static void main(String[] args) {
EntityManagerFactory emf = Persistence.createEntityManagerFactory("jpa-learn");
EntityManager em = emf.createEntityManager();
EntityTransaction tx = em.getTransaction();
tx.begin();

This seems to be working? Yes - only when your Vim color theme matches your blogger background color.
Plus, too much work to paste code snippets.