|
Total comments: 3
,Add comment
|
| #ID |
61 |
Posted By |
Krystian Bigaj |
Posted |
2007-04-27 20:27 |
Add to TSynTokenMatch array:
(OpenToken: 'if'; CloseToken: 'else'; TokenKind: Integer(stkPhpKeyword)),
But with that is a small problem, not always you have matched "if/else", you could only make a workaround when painting that tokens - if there is unmatched 'if' then don't paint it.
|
| #ID |
63 |
Posted By |
R. Rajesh Jeba Anbiah |
Posted |
2007-06-08 14:42 |
What about if the code has:
for($i=0; $i<10; ++$i) { //see the brace
}
and same code contains:
for($i=0; $i<10; ++$i):
blah
blah
endfor;
Now, it's possible for the first case (i.e., {}). But, is it possible for the second case (i.e., for endfor) simultaneously?
|
| #ID |
64 |
Posted By |
Krystian Bigaj |
Posted |
2007-06-10 10:01 |
Added to SVN.
But it won't work properly in case when using:
if
elseif
else
but that will work fine:
if
else if
else
|
| #ID |
(New) |
Posted By |
|
| Verification code |
Retype string from image here - case sensitive string, only A-Z, a-z chars
|
BBCode: [b]...[/b], [i]...[/i], [u]...[/u], [color=...]...[/color], [bgcolor=...]...[/bgcolor], [code]...[/code], [email]...[/email], [email=...]...[/email], , [url]...[/url], [url=...]...[/url]
|