Alignment of comments in configuration

This is a very minor issue, but it's something I always have to "fix" when a new version comes out, so I thought I'd ask. Is there a reason for the comments in the configuration options to not be aligned neatly in line? As an example, normally the comments are like this [code1] // Hosting the album $max_albums=0; // Maximum amount of albums 0=unlimited $max_album_size=0; // Maximum filesize of album in MB 0=unlimited $allow_configuration=true; // Allow modification of the configuration true or false $allow_create_album=true; // Allow creation of new albums true or false $comment_size=250; // Maxmimum amount of characters in single visitor comment [/code1] But I find it hard to read the comments if they are like that, so I always have to align them like this myself (actually, for some reason I can't seem to get the comments to align perfectly on the forum even though I use the code-tag, but you get the point) [code1] // Hosting the album $max_albums=0; // Maximum amount of albums 0=unlimited $max_album_size=0; // Maximum filesize of album in MB 0=unlimited $allow_configuration=true; // Allow modification of the configuration true or false $allow_create_album=true; // Allow creation of new albums true or false $comment_size=250; // Maxmimum amount of characters in single visitor comment [/code1] Or is there just something wrong with my text editor, and they actually should be in line? In any case, the script is amazing and I'm very grateful that after going through a lot of gallery scripts I finally found exactly what I need. Big thanks for making it ) Post edited by anon, at 2008/05/28 1009 Post edited by anon, at 2008/05/28 1010 Post edited by anon, at 2008/05/28 1010

Post edited by anon, at 2008/05/28 1018

Re:Alignment of comments in configuration

I already wrote a long post about monospaced fonts and stuff, but after trying it out on several editors I realized that you're absolutely right, strangely enough there does seem to be variation on how things are displayed. However, most of the editors and other programs I tried displayed things the same way.

All these displayed the file I had aligned correctly
On Linux nano, less, vim, jed, kwrite/kate, Firefox, Konqueror
On Windows Notepad, ConTEXT, Firefox, Internet Explorer, "edit" -command through cmd

All these displayed the file I had aligned incorrectly in varying ways, but strangely none of them displayed the original file properly aligned either
On Linux the wine reimplementation of notepad
On Windows wordpad, notepad++

I don't really know what conclusion should be drawn out of this small test, but I guess that if even Firefox and Internet Explorer can agree on something, that could be the "right" way to align the comments ;)

Re:Alignment of comments in configuration

Thanks, and you are pointing out something that has been bugging me as well. It seems to depend on the editor you use. I started development in Notepad, switched to a 'real' PHP editor but it was no good, switched to Scite which I like, and now I'm using Komodo/Scite. All these editors display tabs and comments differently and not aligned...seems hopeless, so I gave up aligning them. For the next version I will align them again and see what happens )