View Single Post
10-06-16, 11:54 AM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
Looks like [highlight] is trimming all whitespace at the beginning of the code while [code] only checks for a newline at the beginning, subsequent newlines are left alone. Both of them trim all whitespace at the end of the code, which is probably a good thing.

If I had to guess, it seems like the original programmer of the parser wanted to reset the baseline indentation in [highlight], but couldn't figure out how to fully implement it.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 10-06-16 at 12:02 PM.
  Reply With Quote