NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Underscores in variables inside quotes? (v4.01 b4061)
Veteran

Joined: 22 Sep 2005
Posts: 113
Reply with quote
If a variable name is $some_thing, when you put it inside quotes, phped doesn't show the underscore.

What you'll see is "some thing".



Last edited by HoTShoT on Fri Mar 31, 2006 1:08 pm; edited 1 time in total
View user's profileFind all posts by HoTShoTSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
It's font handling issue. Thanks for the report.
It's fixed in 4062.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 22 Sep 2005
Posts: 113
Reply with quote
I think the same problem persists in Settings > Code Templates. Look at "Template body". pg_query and trigger_error don't show the underscores. This is in build 4062:

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

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
in 4.0 you have re-run the IDE after you changed font size.
it's not the case with 4.5 where you don't need to restart, because font change event is properly propagated through the system in this version.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 22 Sep 2005
Posts: 113
Reply with quote
I didn't change any font size. Anyway, I have just made some experiments changing the IDE font size, restarting, and the problem still persists.
View user's profileFind all posts by HoTShoTSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Does it mean that only code templates are rendered this way?
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 22 Sep 2005
Posts: 113
Reply with quote
Yes, it does.
View user's profileFind all posts by HoTShoTSend private message
Underscores in variables inside quotes? (v4.01 b4061)
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