NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
syntax color for booleans
Veteran

Joined: 28 Nov 2005
Posts: 144
Reply with quote
could you add a personalized color for the boolean variables?
View user's profileFind all posts by blackSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
does php support typed variables? Smile Smile
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 28 Nov 2005
Posts: 144
Reply with quote
yes you're right; I make a new question:

could you add a personalized color for the boolean "values" (true/false up/lowercase)?

Smile
View user's profileFind all posts by blackSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
These words (true, false) are in the list of "reserved words" for PHP4 and PHP5 langs (see Tools->Settings->Reserved words).
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 28 Nov 2005
Posts: 144
Reply with quote
I know true and false are in "reserved words"; but in other IDEs is possible to give them a different color (I like red for booleans).
View user's profileFind all posts by blackSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
then it would be nice to have two or say four sets of reserved words with possibilty to assign different colors to them Smile, right?
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 28 Nov 2005
Posts: 144
Reply with quote
yes... right Wink
View user's profileFind all posts by blackSend private message
syntax color for booleans
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic