Change line height in code view?

Hello,
Using DW8. In code view, I need to use a large font size but
in so doing the lines are very close together. Is there any way to
adjust the line height of the code?
Thanks.

If you referring to the actual text of the web page, yes. For
example, in a
paragraph:
p{
line-height:1.5em
If you're referring to the code editor, I don't think there
is.
"EL11" <[email protected]> wrote in message
news:eqatot$4i$[email protected]..
> Hello,
>
> Using DW8. In code view, I need to use a large font size
but in so doing
> the lines are very close together. Is there any way to
adjust the line
> height of the code?
>
> Thanks.

Similar Messages

  • Line breaks in code view

    I'm using Dreamweaver in 90% of the time in code view, and there is one thing I dont like and I can't seem to fix it.
    When I have a log text the text breaks at the end of my screen and continues at the next line, instead of giving me a horizontal scrollbar at the bottom of the page.
    Is there an option to make this happen?

    Dreamweaver has two types of word wrapping in Code view: hard wrapping, which is off by default, and soft wrapping, which is on by default.
    Soft wrapping works like a word processor by moving text onto the next line when it reaches the right border, but does not insert a newline character. To turn off soft wrapping, go to View > Code View Options, and click Word Wrap. It's a toggle on-off option. With a check mark alongside, it's on. Just click to remove the check mark and turn off soft wrapping.
    Hard wrapping, by the way, is in Preferences > Code Format. It's not recommended, because it breaks JavaScript.

  • How to change page loading in code view?

    We have thousands of pages and whenever we load a page it appears in code view so it is difficult to know which page it is that you need to work on.  Is there a preference setting to allow opening a page in Split view?  It's easier to know we've selected the correct page visually than that with looking at similar code.
    Any tips?
    Rick

    I must not have been clear.  Sorry.
    My layout:  Design view on top, code view on bottom, file/assets/etc on right.  When I select a file to open, it flashes in split view and then goes to code view.  Our pages look very similar and just code view can't display the page layout and I always (well, used to) work in split view.
    How can I set my preferences to say "open file in split view"?
    Thanks for the response, tho!

  • Is it possible to change text colour in code view?

    Hi all,
    Not sure if this is possible as never seen it myself, but is it possible to change the text colour in the code of the html?
    A site I am building at the moment is for a school who want to be able to edit text / links occasionally, and as they will only be using something like notepad and have no html knowledge between them whatsoever, I thought if I could highlight bits in the code which are 'not to be played with' it would make everyone's job a lot simpler!
    Possible or not?

    cs6_noob wrote:
    Can the comments only go at the beginning of a line, or can they, for example go after say a <p> tag but before the page text? (If you get my meaning!)
    Eg <p><!--edit from here--!>welcome to our website<!--up to here--!></p>
    Yes, you can, but you need to make sure the HTML comment tags are correct. What you have done won't work, but this will:
    <p><!--edit from here-->welcome to our website<!--up to here--></p>
    Notice that the exclamation mark is only in the opening comment tag. Not in the closing one.
    Opening tag for comment:
    <!--
    Closing tag:
    -->

  • Code view line height

    I am on Mac OS X Yosemite using DW CC 2014. Code view is set to Source Code Pro. The problem is that line height in code view is smaller than the font height -- or something like that.
    This screenshot demonstrates what I mean. Look at these characters: {,},y,g and see how they are cut off at the bottom. I've tried to fix this by changing fonts but most other fonts show the same problem. Changing font size in DW preferences also does not fix it. I tried changing the Source Code Pro set altogether using Suitcase Fusion. That did not help either. When I try to use Source Code Pro in other apps it works fine. So this seems to be a DW-specific problem.
    Any ideas?

    Hello Almir,
    The issue is due to missing fonts: Tahoma and Verdana. We have a bug logged for the issue and will looked into.
    Kindly follow the below workaround till the issue is fixed.
    1. Launch Font Book from /Applications/
    2. If Tahoma and Verdana fonts are disabled, enable the fonts
        Or if the fonts are missing, install the fonts.
    3. Launch Dreamweaver
    Let me know if the workaround is able to fix the issue for you.
    Regards.

  • Is it possible to change  color on the line strip/code view in CS6?

    Hello -
    I did some research on this and cant seem to see if this can be done - I was hoping to change the color of the blue line menu on the code view screen.
    Eric

    I take it you're referring to that vertical line in the left hand side of Code View? I don't think it's possible to change the color.  If you disable line numbers (#), it's a bit less noticeable.
    Nancy O.

  • Can code view wrap be changed

    Its a basic question, but...
    Can code view wrap be changed?
    What I mean is... in code view, if I had a piece of code
    which was longer than the width of my screen, can I change settings
    to allow it to continue along horizontally instead of dropping down
    to the next line automatically.
    I know it doesn't affect the layout of the page... this is
    purely for personal preference when i'm in code view. This happens
    as standard in GoLive and is one of the few things left I'd like to
    sort in my moving back to Dreamweaver.
    many thanks in advance

    In the version of Dreamweaver I have you select the 'View'
    drop down menu, then 'Code View Options'. From there you should be
    able to turn the word wrap on or off.
    I expect it is similar for all versions of Dreamweaver.
    Hope this helps.

  • HELP !! change the line height in JTextArea ??

    can anyone tell me , how to change (set) the line height in JTextArea ???

    Looking at the source code for JTextArea, the rowHeight is taken from the font's FontMetrics and is used to set the preferred size of the ta, as you can see in the following app. Also, only three properties are maintained by the default PlainDocument as shown in the output. Might be worth your while to check out JTextPane.
    import java.awt.*;
    import java.awt.event.*;
    import java.beans.*;
    import java.text.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.text.*;
    public class TARowHeight {
      public static void main(String[] args) {
        final CustomTextArea ta = new CustomTextArea(5,10);
        ta.addPropertyChangeListener(new PropertyChangeListener() {
          public void propertyChange(PropertyChangeEvent e) {
            System.out.println(e.getPropertyName() + " changed to " + e.getNewValue());
        ta.setLineWrap(true);
        ta.setWrapStyleWord(true);
        ta.setFont(new Font("lucida sans regular" , Font.PLAIN, 16));
        JPanel centerPanel = new JPanel();
        centerPanel.add(ta);
        SpinnerNumberModel model = new SpinnerNumberModel(20,8,36,1);
        final JSpinner spinner = new JSpinner(model);
        spinner.addChangeListener(new ChangeListener() {
          public void stateChanged(ChangeEvent e) {
            int height = ((Integer)spinner.getValue()).intValue();
            ta.setRowHeight(height);
            ta.revalidate();
            ta.repaint();
        JPanel southPanel = new JPanel();
        southPanel.add(spinner);
        JFrame f = new JFrame();
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.getContentPane().add(new JScrollPane(centerPanel), "Center");
        f.getContentPane().add(southPanel, "South");
        f.setSize(300,200);
        f.setLocation(400,400);
        f.setVisible(true);
        System.out.println(ta.getRowHeight());
        Dictionary names = ((AbstractDocument)ta.getDocument()).getDocumentProperties();
        Enumeration keys = names.keys();
        Enumeration values = names.elements();
        while(keys.hasMoreElements())
          System.out.println("key: " + keys.nextElement() +
                             " value: " + values.nextElement());
    class CustomTextArea extends JTextArea {
      private int rowHeight;
      public CustomTextArea(int rows, int cols) {
        super(rows, cols);
      protected int getRowHeight() {
            if (rowHeight == 0) {
                FontMetrics metrics = getFontMetrics(getFont());
                rowHeight = metrics.getHeight();
            return rowHeight;
      protected void setRowHeight(int rowHeight) {
        int oldVal = this.rowHeight;
        this.rowHeight = rowHeight;
        firePropertyChange("rowHeight", oldVal, rowHeight);
    }

  • DW CS6: Extra empty blank line in code view causing trouble!

    Hi all,
    I searched for hours for a solution to the following problem, without any success.
    When coding in Dreamweaver CS6 (Version 12.0, Windows 8.1), an extra non-editable blank line is automatically added at the bottom of the document (in code-view). This is a nice feature, since it clearly separates the end of the document from the rest of the DW user interface. BUT:
    WHEN you have "Word Wrap" disabled (i.e. horizontal scroll bars appear if one or more lines are longer than the current view),
    AND no line is actually longer than the view (i.e. NO horizontal scroll bars),
    AND you click somewhere into the document while the vertical scroll bar is at the very bottom,
    THEN the code view jumps one line upwards causing a selection of 2 lines.
    This might not seem to be a big issue at first glance, but surprisingly often all of the mentioned conditions are met.
    Is there any possibilty to somehow get rid of this problem?
    Note: The problem does not occur when any of the above conditions is false.
    Cheers!
    CamelCase

    This is strange...
    Yes, I just updated DW to 12.03 a minute before I posted the question. ;-)
    Are you sure you cannot reproduce it? Is there a blank line at the bottom of your editor as well?
    Here are the conditions again:
    Word Wrap is disabled.
    No line too long for vertical scrollbar to appear.
    Scroll fully down in the code view.
    Click somewhere into the document.
    Effect: The view jumps exactly one line upwards (such that the mentioned blank line just disappears), and instead of a blinking cursor, two lines are selected.
    Here is a screenshot before/after the click:
    I appreciate any help. Really, thank you!!

  • How to change the font in the code view

    I want change the font size and style that shows when I'm in
    code view.
    For the life of me, I can't find where to do this. Can
    someone help me?

    PREFERENCES | Fonts
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Port Man" <[email protected]> wrote in message
    news:elq1d1$6it$[email protected]..
    >I want change the font size and style that shows when I'm
    in code view.
    > For the life of me, I can't find where to do this. Can
    someone help me?
    >
    >
    > --
    >

  • Thousands of blank lines in code view? Where did they come from?

    I have an older DW site, that for some reason when I open certain pages in code view show literally thousands of blank lines.  So line 1, code, line 2-15 are blank, then what used to be line 2 of the code, is now line 16. All the way down the line.  This one page literally has THOUSANDS of blank lines in it:
    Aurora Prom Corsages, Boutonnieres, Flowers, School Dance Flowers-Yorkville, Osego Illinois
    page renders, edits and looks fine in DW, browsers, etc. 
    My client edits it with Contribute. I use DW.
    There are certain pages he opens regularly, never saw the lines, other pages, just opens once a year, lines all over again.
    We can't find any rhyme or reason to it.
    Has anyone ever seen this?

    Try opening one of those pages in DW and then go to Commands > Apply Source Formatting and see if that cleans them out.
    I've heard of a bug where adding html comments can cause added blank lines in certain versions, I've never seen it myself though.

  • Vertical Lines or Guides in Code View

    Hello:
    Am I missing a setting in DW or did they just not include this. I am used to seeing vertical lines in code view to note where the beging of a tag originated. For example if I put a <TD> tag somwhere in the document and move on down the code line, when I finally put the </td> tag there is a vertical line leading up to it.
    Any help or advice on this would be very helpful.
    Paul

    @pmsquillace : definitely! I am dying for vertical grid lines. Dreamweaver, this is a must. This feature is needed greatly. I just looked for yet another time to find a plugin for Dreamweaver to get vertical lines but 0 results.
         Now I have realized my own best option is to use the pixel ruler . It can be a lesser substitute which I an now going to use as needed.
    @John Waller : I am submitting a feature request right away. Thanks for the link.

  • Dotted lines for tab indents in Code View

    Does anyone know how to whip DW's code view into the current century? I Specifically showing tabs in code view. Other IDE's have a great way of showing tab indenting with subtle lines. DW's approach is heavey handed and garish. IMO it's unusable in it's current form. See comparison below.
    Is there a plugin, xml hack, or hidden preference that would allow me to achieve something similar?

    Try opening one of those pages in DW and then go to Commands > Apply Source Formatting and see if that cleans them out.
    I've heard of a bug where adding html comments can cause added blank lines in certain versions, I've never seen it myself though.

  • How I activate, when in code view current code line, to be highlighted (all line) eg light-blue ?

    How I activate, when in code view current code line, to be
    highlighted (all line) eg light-blue ?

    Actually, in Windows (XP) the highlight color (in DW8) is a
    byproduct of the
    color scheme you set for your desktop.
    Walt
    "Michael" <[email protected]> wrote in message
    news:gn7fpk$hbp$[email protected]..
    > In code view, click the line number in the left margin
    corresponding to
    > the line of code you wish to highlight. Left click that
    number and the
    > whole line will be highlighted in blue.
    >
    > Michael
    >

  • Why Is Dreamweaver CS4 Shutting Down When Making Changes In Code View?

    Hi,
    When in Code View, and trying to make a change to such, Dreamweaver is automatically shutting down. Heck, I can't even press Enter while in Code View without it shutting down.
    I had this problem before, and a friend suggested holding down the Shift key while restarting DW. It worked at that time, but that suggestion is not working now.
    I've tried restarting the computer, repairing disk permissions, and still having the same problem.
    Does anyone have a remedy for this?
    Thank you.

    Yes, I am on a Mac.
    The application Dreamweaver quit unexpectedly.
    Don't have any DW extensions.
    Deleted the plist files, and still had the same problem.
    Found another DW pref file. Deleted that, and it works.

Maybe you are looking for