Skip navigation
Coinadrink
Currently Being Moderated

Source Code Pro font tab width doesn't match spaces

Jun 19, 2013 5:34 AM

Tags: #spacing #font #adobe #dreamweaver #code #tab #width #creative_cloud #typeface #cc #white_space #source_code_pro

I've just upgraded to Creative Cloud from CS5.5 and I immediately noticed my source code no longer lines up between rows.

 

In 5.5 if you typed four spaces and a character, then on the next line entered a tab followed by a character, the two would line up. This no longer happens in CC.

 

I can't go back to the old Monaco font either as Dreamweaver now antialiases the text so it looks terrible.

 

Is there anything I can do about this and if not is Adobe likely to fix it?

 

It makes my code quite hard to read at times.

 
Replies
  • Currently Being Moderated
    Jun 19, 2013 5:43 AM   in reply to Coinadrink

    I will appreciate if  you can post a screenshot of the issues that you reported.

     

    Thanks

    Bhawna

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 19, 2013 6:18 AM   in reply to Coinadrink

    What is your tab size set to in Preferences > Code Format?

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 19, 2013 7:39 AM   in reply to Coinadrink

    I have tested it on a Windows 7 machine and its not reproducible.

     

    It seems that you are on a MAC..Please send the system Info..so that I can test it further...

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 19, 2013 8:03 AM   in reply to Coinadrink

    Thanks coinadrink!!

     

    This is what I wanted..Also, I tried it on my MAC and its reproducible..

     

    I will forward this to the concerned team..

     

    Thanks

    Bhawna Gupta

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 20, 2013 8:51 AM   in reply to bgupta16

    We tested this further and found that there is an option in Preferences to match the tab and number of spaces.

     

    Go to Preferences in DW CC < Code Format < Enable the option "Insert as spaces" < Ok.

     

    Close DW and Restart.

     

    Thanks

    Bhawna Gupta

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 20, 2013 11:51 AM   in reply to bgupta16

    I'm having this problem also.  It became annoying immediately after installing DW CC.  I'm on a Mac as well, using OS X 10.8.4.  Using "Insert as spaces" seems to remove the Shift+tab command to backspace a Tab, which is just as important to me as the tabs lining up.

     

    I tried switching the Code View and Fixed Font font using Preferences < Fonts < Code View/Fixed Font to Courier New (how it's set on my old XP computer with CS5.5, because the tabbing function works like it's supposed to on that), but it  doesn't help too much.  I also tried Monaco, and it's still not quite right.

     

    The tabs still don't line up.  Most (but not all, it happens randomly) of the time, new lines start one tab to the left or right, or a half space to the left.  It gets pretty annoying, especially because it's unpredictable what it'll do or when it'll do it.

     

    Any other solutions (or a bug fix would be nice, Adobe) would be greatly appreciated.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 20, 2013 12:12 PM   in reply to Jonny.Richy

    What happens if you go to Commands > Apply Source Formatting?

     

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 20, 2013 12:41 PM   in reply to Nancy O.

    That doesn't seem to help... it just repositions some of the indents that are already there, but the new positions don't make any sense.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 21, 2013 1:44 AM   in reply to Coinadrink

    Hi Coinadrink,

     

    The "Insert as spaces" option does not make any changes in behavior of TAB functionality in DW. Its just that when you press the TAB, it will jump to a point equivalent to four spaces. You can also change the number of spaces as per your need, so that when you press the TAB it moves the cursor in blocks equal to those spaces.

     

    Thanks

    Bhawna

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 22, 2013 11:41 AM   in reply to Coinadrink

    What I found to be useful is to go to Preferences > Code Format.

     

    Indent [x] with [1] Tabs (I chose Tabs instead of Spaces in this option)

    Tab Size: 4 [ ] Insert as space (I left this option unchecked)

     

    Restarted Dreamweaver. Tabs seem to work correctly when set up this way.

     

    Note: Using Mac OSX 10.8.4.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 25, 2013 2:04 AM   in reply to Coinadrink

    I had the same problem and fixed it:

     

    Dreamweaver > Preferences > Code Format

     

    • Change indent with to 1 Tabs (change from spaces to tabs in the drop down)
    • Make sure tab size is 4 and inset as spaces is unchecked.

     

    I also changed the code view font back to Monaco 10pt - looks absolutely fine and back to how Dreamweaver was.

     

    I'm on an almost new iMac running 10.7.5

     

    Also - any code that you have written with CC will most likely have the wrong formatting and therefore the tabs will not line up correctly. I'm having to go through my document and update the tabbing accordingly.

     

    Hope this helps.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 29, 2013 11:40 AM   in reply to Coinadrink

    Add me into the mix.  I too am on a Mac (haven't tried my PC yet), but it is highly frustrating that my code view is all messed up.  Why when upgrading can you not transfer all of the preferred settings from the old version (i.e. I also had to turn off word wrap)...

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 1, 2013 11:21 PM   in reply to dunnmaks

    Just to bump this since it wasn't fixed in the last update.

     

    I'm another user on Mac OSX and things still don't line up.

     

    Settings:

    Indent by 1 Tab

    Tab Size: 4 spaces

    Insert as spaces: Unchecked

    Font: Monaco 10px

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 11, 2013 6:38 AM   in reply to Jeremy™

    Hi everyone,

     

    Thank you for your inputs. The product team has filed a bug for this issue, and it will be addressed in one of the future updates.

     

    Thanks,

    Preran

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 14, 2014 9:16 AM   in reply to Preran

    Preran,

     

    I have been encountering the same maddening problem for months now and finally tried resolve this matter today...to no avail. I am surprised to find this issue still remains (since it was brought to your attention June 19, 2013). I realize it is only a "Mac" problem, but Mac users are a notable chunk of your user base.

     

    Any idea when this bug is slated to be resolved?

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 14, 2014 12:15 PM   in reply to bobafettered

    Hi bobafettered,

     

    Are you facing this problem with the latest update as well?

     

    Thanks,

    Preran

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 14, 2014 1:52 PM   in reply to Preran

    Preran,

     

    Thanks for your expeditious reply.  Yes, I believe so.  I just checked to be sure.  There are no outstanding updates available for Creative Cloud or Mavericks.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 16, 2014 6:27 AM   in reply to bobafettered

    Hi bobafettered,

     

    I checked with the product team, and we have logged a bug for this to be fixed in a future update. Sorry for the inconvenience.

     

    Thanks,

    Preran

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 10, 2014 6:07 AM   in reply to Preran

    Hi Guys ,

     

    We have had some hedway into this issue and have fixed this issue . You guys can expect this fix to be available in the future updates .

    In case anyone is interested in having a look at this fix and try it out before that , please drop a mail to me at vharisatadobedotcom .I can help you out with the next steps

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points