Solved

Spaces not tabs in code view

Posted on 2008-06-11
5
925 Views
Last Modified: 2011-09-20
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
Comment
Question by:rwhubbard996
  • 3
  • 2
5 Comments
 

Author Comment

by:rwhubbard996
ID: 21764367
sorry for the bad spelling spell check froze, I think you can get the idea.
0
 

Author Comment

by:rwhubbard996
ID: 21764378
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
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 21764589
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
 

Author Comment

by:rwhubbard996
ID: 21764762
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
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 21764777
Sorry, dude...

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

;-)
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
dreamweaver cs6 keep getting error 2 msg 16 393
Read More links 12 356
Adobe Photoshop CC 2015 action script help 2 217
Dreamweaver server behavior gone 6 138
For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question