[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 936
  • Last Modified:

Spaces not tabs in code view

I've read all the answers I could find but DreamWeaver CS3 does not seem to behave as stated.

In code view, usinf PHP when I press the tab key I get a small a symbol that I think represents a tab.  I set up in preferences to use two spaces for indent and a tab size if two.

When I View/Code View/Show Hidden Characters and press hte tab hey I get a very small a and a space, if I use two spaces I get two dots to represent the two spaces.

This caused a problem when my code is views in a different editor like text mate.  The tabs are shown as tabs not two spaces fracking up my beautiful, painstakingly created formatting :-)

Any ideas, I've been using DreamWeave so long I hate to have to switch to a new text editor :-(
0
rwhubbard996
Asked:
rwhubbard996
  • 3
  • 2
1 Solution
 
rwhubbard996Author Commented:
sorry for the bad spelling spell check froze, I think you can get the idea.
0
 
rwhubbard996Author Commented:
When I View/Code View/Show Hidden Characters and press hte tab hey I get a very small a and a space, if I use two spaces I get two dots to represent the two spaces.

meaning two spaces using the space bar
0
 
Jason C. LevineNo oneCommented:
Using a tab in code view will insert a tab mark.  So if you define a DW tab as two spaces and then open the page in notepad, the tabbed stuff will be indented 8 space (a normal tab).

There is no way around this except to not use tabs or set the tabs to be 8 spaces so it looks the same no matter where you open it.
0
 
rwhubbard996Author Commented:
I don't like your answer!  I mean I don't like that that is the answer.

It is the correct answer and answers my question very well, and I appreciate your timely help!
0
 
Jason C. LevineNo oneCommented:
Sorry, dude...

Maybe if you weren't trying to be the Picasso of indents, you'd get more work done...

;-)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now