NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Code completion glitch


Joined: 29 May 2008
Posts: 5
Reply with quote
Hi forum,

Consider the following code:

Code:

class SomeClass
{
   public function public_func()
   {
      $this->
      
      if(true)
      {
         die('The "if statement" and this line is just some dummy code but it needs to be here to demonstrate the glitch ');
      }
   }
   
   private function private_func() {}
   
   protected function protected_func() {}
}


Placing the cursor right after "$this->" and hitting ctrl+space will not bring up "private_func" and "protected_func". Might be something the developers what to check out as well while they fix the problem with code completion and static functions Smile

-
Best regards, Caspar
View user's profileFind all posts by casparSend private message
Veteran

Joined: 06 Mar 2007
Posts: 158
Location: Poland
Reply with quote
It is funny. In Your example it does not work, but in ...

Code:

class SomeClass
{
   public function public_func()
   {
      if(true)
      {
         die('The "if statement" and this line is just some dummy code but it needs to be here to demonstrate the glitch ');
      }
      $this->
   }
   
   private function private_func() {}
   
   protected function protected_func() {}
}


... it does.

_________________
ML
View user's profileFind all posts by introSend private messageVisit poster's website
Code completion glitch
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