TeX math highlighting is highlighting everything after the first $...$. Like
this.

newenvironment{todistus}{emph{Todistus:}\~}{hfill[color=#009900]$Box$}

% KOMENNOT
%--------------------------------------
newcommand{ekv}{longleftrightarrow}
newcommand{fii}{varphi}
newcommand{yht}{approx}
newcommand{ja}{wedge}
newcommand{tai}{vee}
newcommand{erikuin}{neq}
newcommand{jollakin}{exists}
newcommand{kaikilla}{forall}
newcommand{jne}{ldots}
newcommand{I}{!mid!}
%--------------------------------------
...
[/color]

-- 
<http://forum.pspad.com/read.php?2,31392,31953>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem