This is how I would like UltraEdit to highlight my LaTeX syntax.

% Notice that the background colour on these commented lines
% goes all the way to the edge rather than just to the EOL.

\documentclass[12pt,norsk,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel,textcomp}

\begin{document}
  A little in-line math, $ \frac{e^\frac{2}{[\$]}}{\{\ \LaTeX\ \}} $, is always nice. \\[1.5ex]

  \begin{description}
    \item[Highlighting] is important when {\bf editing} [large] structural documents.
  \end{description}

  \verb@{\bf Bold text}@ will not be processed, but output "as-is". \\
  \verb"address@domain.top" will be displayed as address@domain.top. % This is a comment.

\end{document}



This would, by the way, produce something like this when processed by LaTeX:

LaTeX output