NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] Spaces converted to Tabs improperly.


Joined: 25 Oct 2007
Posts: 10
Location: Namibia
Reply with quote
Even when the "Use Tab Character" setting is turned off in the editor settings, upon saving PhpEd converts all spaces to tab characters. I've confirmed this by converting all tab characters to spaces in Notepad++ then, when again working in PhpEd, all spaces are converted to tabs!

Maybe I'm missing something?

PhpEd Version: 6.09
View user's profileFind all posts by bmanamSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
"Use Tab Character" means insert <tab> instead of some number of spaces when you press Tab key.
It does not convert any tabs to spaces or vice versa.
What converts is "Optimal Fill" -- when this option is turned on, it converts all indenting spaces into Tabs.
But there is nothing in PhpED that would convert Tabs in to spaces.

To see how Tabs and spaces are handled in the editor you may want to turn View->"Show Hidden Characters" on.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 25 Oct 2007
Posts: 10
Location: Namibia
Reply with quote
Dmitri, thanks for clearing that up.
View user's profileFind all posts by bmanamSend private message
[resolved] Spaces converted to Tabs improperly.
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