NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Tab problem..


Joined: 13 Oct 2003
Posts: 3
Reply with quote
I have problem with tab's. phpED inserts two tab's plus one space at code, when I hit tabulator once, so it would be like:
Code:

function f() {
         // do somethink
}

I except it would look like this:
Code:

function f() {
    // do somethink
}


Haven't found anythink helpful from settings.
View user's profileFind all posts by MikoSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7893
Reply with quote
It's how SmartTab feature works in PHPED 3.2.
In this case whenever you press TAB the editor adjusts cursor position according to the spaces/tabs in the line above. In your particular case it properly adjusted to f() because there is a space before.
If you need TAB to always get specified number of spaces or tab characters you have to turn Smart Tab off and check if you need Use Tab Character.

This issue is addressed in phped 3.3
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Tab problem..
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