two PROGRAMMING editors that you should look at. both are FREE and both are opensource. i debug with printlines. so i don't know what the debugger is like, but they both have one. they also have the gcc as a plug in, which is really nice.
emacs:
http://www.gno.org/
xemacs:
http://www.xemacs.org/
there's some other goodies it has. i don't use textpad, so i don't know.. does it do pretty printing/line indenting and syntax highlighting? what about parenthesis matching?
both emacs and xemacs do those. i've used them both for php, html, c, c++, java, perl, lisp and scheme
i don't see it. but i do have another piece of advice as well, instead of making those long lists, use this function (in an include) and you can plug in one variable that is the entire list.. also makes it easier to adjust the list since you'll use an array...
Code: Select all
<?
function array_to_options($array, $selected){
echo "in ato, selected: $selected; array: $array <br />"; # debug
$optlist=''; # make an empty string
foreach($array as $key=>$value){
if($selected==$key){ # if this is the first time it wont match, so we don't need to care if it's set
$optlist=$optlist."<option value="$key" selected>$value</option>";
}else{
$optlist=$optlist."<option value="$key">$value</option>";
}
}
return $optlist;
}
?>