PDA

View Full Version : Bolding AS Statements?



REEFˇ
June 29th, 2006, 12:56 PM
if (style == bolded) {
this._line.willLookbold(true);
}Grr

bwh2
June 29th, 2006, 01:19 PM
i've been trying to figure this out too. hmm....
if( $this->works == true ) {
$me = 'happy';
}
elseif {
$me = 'still happy';
}
else {
echo 'nope';
}

JoshuaJonah
June 29th, 2006, 01:41 PM
if( $this->works == true ) {
$me = 'happy';
}
elseif {
$me = 'still happy';
}
else {
echo 'nope';
}

bwh2
June 29th, 2006, 01:45 PM
so how'd you do that?

Jeff Wheeler
June 30th, 2006, 01:55 AM
[highlight=as], rather than the usual [code].

You can get css highlighting that way, also.

kirupa
June 30th, 2006, 02:38 AM
I really don't like the current AS/code highlighter, for making edits makes the code formatting unusable unless you do a copy and paste again. I just use [code] instead, and you can bold things easily using the vB code tag :(

Jeff Wheeler
June 30th, 2006, 02:40 AM
What about the highlight tag?

bwh2
June 30th, 2006, 09:37 AM
hmm...

/* tests highlight=css */
#thisworks { color: #09f; }


/* tests highlight=php */
if($this->works == true) { $me = 'happy'; }


/* tests highlight=as */
if( thisWorks = 'true' ) { me = 'happy'; }



/* tests as */
if( thisWorks = 'true' ) { me = 'happy'; }


/* tests as2*/
if( thisWorks = 'true' ) { me = 'happy'; }



/* tests bold in code tags */
if($this->works == true) { $me = 'bold'; }

hl
July 27th, 2006, 01:39 AM
if($tags == "new"){
@ask("What're the new tags for?");
}
else{
die("bleh");
}