Word Wrap very annoying?

I just switched over to Dreamweaver because of the built in ftp server functionality.  So far, I have found it to be a very nice editor. 
One problem I have it with wordwarp in the coding.
If a line is wrapped, why does it not indent to the same column that the line started on. 
For example if I was inside several elements and this particular <p> started in column 20, if the line runs over, it wraps and the next line starts on column 1.  This makes the code very hard to read as you have out of place text.
<body>   
     <div>
          <p>This is just a long sentence with a bunch of rambling so the line will wrap back
around to the first column so you can see what I am talking about.
     <div>
</body>
It would be so much better if it looked like this:
<body>
     <div>
          <p>This is just a long sentence with a bunch of rambling so the line will wrap back
          around to the first column so you can see what I am talking about.
     <div>
</body>
Is there way to do this?
I have searched the adobe forums and google, but I feel like I am just searching for the wrong thing because all I ever come up with at the most is how to turn word wrapping on or off.

You can turn on that style of word wrapping, but it's not enabled by default because it relies on inserting a hard newline character each time a line is wrapped. Newline characters are treated by JavaScript as indicating the end of a statement, so this style of wrapping can break JavaScript on your page if you're not careful.
To enable hard wrapping with text indentation, open Preferences (Edit menu on Windows, Dreamweaver menu on a Mac), and select the Code Format category. Select the Automatic wrapping checkbox and set the column (character) at which you want the line to be wrapped.
The Dreamweaver default is to use soft wrapping, which is controlled by View > Code View Options > Word Wrap. This option toggles soft wrapping on and off. A soft wrap automatically wraps code when it reaches the right edge of Code view, but without inserting a newline character.

Similar Messages

  • Microsoft Word redrawing with external projector is very annoying

    Hi:
    I have a MacBook Pro with 2Ghz and 1.5 GB RAM. I usually connect a Sony projector as a second display to review documents in collaboration with others. While using MS Word (in Page View) with "Track Changes" enabled, the screen redraws every time I make a change on the document, which is very annoying.
    This also happens when I am not connected to the projector (i.e. using the built-in display).
    I am guessing this has something to do with processor speed, graphics card and/or the fact that Office is still not a Universal Binary application.
    Does anyone know how I can minimize the annoying redrawing?
    Thanks,

    Try rebuilding the mailbox. This can take awhile if you have a lot of mail.
    Rebuild mailbox
    Try re-indexing the mailboxes. This can take awhile if you have a lot of mail.
    Reindex messages

  • Q10 Browser Word Wrap Question

    When in mobile browser, how do I get to word wrap.  If zoom out the words are too small, if zoom in have to scroll horizontally to read full sentences. Very annoying.  Thanks
    Chief
    Solved!
    Go to Solution.

    Hey chief9900,
    Welcome to the BlackBerry® Support Community Forums.
    The word wrap feature  is currently not available for the BlackBerry Q10 Browser, one option is to use the reader mode feature, see here:
    http://docs.blackberry.com/en/smartphone_users/deliverables/50635/mwa1334235028048.jsp
    Let me know if you have any other questions.
    Thanks.
    -HB
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Webforms - Wrap Text/Word Wrap for Column Headings

    I have some member aliases that are set as my webform's column headings, but they are fairly long. Setting the column width to a custom value that fits most of the text in the heading makes the form very wide and ugly to work with. I don't see any option to Wrap Text or use Word Wrap in the column headings. Is there any way to do this?
    Thanks!

    Hi,
    I am not aware of any option which allows you to wrap the text, it may be possible customizing the [CSS |http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_hp_admin/ch12s03.html] though to be honest I am not even sure about that and even if it was possible it would apply to all apps.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to make items in a list word wrap as needed and be variable heights

    I am trying to build a custom itemrenderer for the List control.  The items in the list are variable lengths of text, some of the text items will have different colors determined at runtime base on some criteria (this works fine now with my custom itemrenderer).  What I need is for the items to word wrap, and therefore for the list to display items of varying heights.  Is this possible to do?  All my attempts seem to have failed.  If I can't do this with an item renderer any suggestions about how to do this?  Thanks very much in advance to any of you gurus who are able to help me.

    Trick here is not to specify any height for the renderer so that Flex will determine the height according to the content. Also set the variableRowHeight="true"
    Here is a simple example
    <mx:ArrayCollection id="dp">
            <mx:Array>
                <mx:Object label="some very long text"/>
                <mx:Object label="some very loooooooooooooooooooooooooooooooooong text"/>
                <mx:Object label="some very loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong text"/>
                <mx:Object label="some very looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong text"/>
                <mx:Object label="some very long text"/>
            </mx:Array>
        </mx:ArrayCollection>
        <mx:List dataProvider="{dp}" variableRowHeight="true">
            <mx:itemRenderer>
                <mx:Component>
                    <mx:Canvas width="100%">
                        <mx:Text width="100%" text="{data.label}"/>
                    </mx:Canvas>
                </mx:Component>
            </mx:itemRenderer>
        </mx:List>

  • JOptionPane.showMessageDialog() - word wrapping exceptions?!

    Hey ppl,
    Probably a silly question...
    I'm currently working with JDBC, and SQLexceptions can be very long! Currently displaying them in a JOptionPane.showMessageDialog() (as i guess most people do?), but being so long they cause it to span the whole screen & then some!
    I looked through the JOptionPane API, but didn't spot anything that might help. Is there a way to get this exception to dispaly on multiple lines, kinda like word wrap in notepad?
    Cheers for any suggestions.
    Jim

    I can't speak for other developers..But as for myself, I rarely if ever print error messages to the JOptionPane. Almost always, I print my error messages and the stack if necessary, to the ouput. This is either a command line window, console, log file, or output screen in an ide depending upon how you program. My code looks something like this.
    catch(Exception e)
        System.out.println(e.getMessage());  // Will print only the message property of the exception
        e.printStackTrace();  // Will print the stack for more information
    }Sorry I couldn't answer your question directly. Maybe someone else can. Hope I was helpful anyway.

  • [Solved]Conky and word wrapping - Is there a way?

    So I have a very limited area to work with, something like 176x360 (+/- a few pixels), and I want the ability to show an RSS feed. Well, the feed works of course, but due to the limited width, I'm in great need of word wrapping, and for that problem I have found no solution and going on for 2-3 hours straight, my head hurts
    Anyway, here's my .conkyrc, not that it's needed of course.
    # ~/.conkyrc
    double_buffer yes
    use_xft yes
    xftfont Bitstream Vera Sans Mono:size=8
    xftalpha 0.8
    update_interval 1.0
    total_run_times 0
    own_window yes
    own_window_type override
    own_window_transparent yes
    own_window_colour hotpink
    own_window_hints undecorated,below,skip_taskbar,sticky,skip_pager
    minimum_size 176 360
    maximum_size 176 360
    maximum_width 176
    draw_shades no
    draw_outline no
    draw_borders no
    stippled_borders 0
    border_margin 0
    border_width 0
    default_color green
    default_shade_color green
    default_outline_color green
    alignment bottom_right
    gap_x 16
    gap_y 16
    no_buffers yes
    uppercase no
    TEXT
    $alignc${nodename}
    $alignc${sysname} ${kernel}
    $hr
    CPU:$alignr$cpu% ${cpubar 10,106}
    RAM:$alignr$memperc% ${membar 10,106}
    HDD:$alignr${fs_used_perc /}% ${fs_bar 10,106 /}
    BAT:$alignr${battery_percent}% ${battery_bar 10,106}
    $hr
    Download: Upload:
    eth0 ${downspeed eth0} $alignr${upspeed eth0}
    wlan0 ${downspeed wlan0} $alignr${upspeed wlan0}
    $hr
    ${alignc}ARCH NEWS
    ${rss http://www.archlinux.org/feeds/news/ 1 item_titles 10 }
    I know this looks confusing and probably is full of critical error, but that simple because I'm a conky noob. I basically just downloaded a profile I liked and completely changed it over the course of a few hours.
    Anyway, I'm rambling again, but if you've got any idea's, please do let me know.
    Best regards.
    Last edited by zacariaz (2012-08-27 17:19:35)

    Okay, so I've found sort of a solution to part of the problem, so what I have so far look like this:
    wget -quiet -O - archlinux.org/feeds/news/ | fmt -w 25 -g 25
    It works as long as there are no words longer than 25 character, which I should think is rare, even including package names and such.
    However there's still the issue parsing the xml so I get only what I want:
    <item><title>$content</title><link>
    This may be solved using some sort of terminal rss parser, but I would rather prefer not to.
    Then there's the issue with reloading.
    My current conky is set to reload every second, but of course one can't just pull the feed every second and I'm not convinced that conky has any built in solution for that problem. Of course I can always start a cronjob and save it all to a file, but portability would be nice.
    anyway, I'll return later.

  • Prob with fixed column widths and word wrapping in viewer

    i have a report where each record has a very long paragraph of text in it.
    In desktop and plus, the text column is at a fixed width and the text just wraps nicely according to the column width.
    But in Viewer, the column widths do not stay fixed, the text does not wrap, and the long text is displayed in a single line that completely stretches the column width off the page and requires a horizontal scroll bar.
    is there anyway to fix the column width in viewer, have the text naturally wrap, and prevent the column stretching. All word wrapping settings are on, but seem to have no effect. I can't seem to find any solution to this.
    Thanks...

    Hi Pritam,
    Per my understanding that you can't see the vertical scrollbar of the ReportViewer controls 2012 to scroll for the grid rows, but can see the vertical scrollbar of the web application, you also can't fix the headers while scrolling, right?
    I have tested on my local environment and can't reproduce your issue, but you have an alternative way to add some css  to the web form's source code to display the vertical scrollbar.
    Details information below for your reference:
    Please check below properties setting of the reportviewer which control the visibility of the scrollbar:
    AsyncRendering="true"
    SizeToReportContent="false"
    Please check if this problem also occur on other version of IE and other type of browser.
    Please check if you have done correct setting of the Fix data to freeze the table header as the step of below:
    http://technet.microsoft.com/en-us/library/bb934257(v=sql.100).aspx
    If step1 doesn't work, please click the source of webform.aspx and add below CSS to add the vertical scrollbar manually:
    #ReportViewer1 {
              overflow-y: scroll;
    Run the application you will see it display as below:
    Similar thread for your reference:
    https://social.msdn.microsoft.com/forums/sqlserver/en-US/f96b3b56-e920-411b-82ea-40467c922e66/reportviewer-control-vertical-scroll-bars
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu

  • Word wrapping of HTML source

    The source (HTML) view of a topic is always formatted with
    extra carriage returns and tabs. I appreciate the fact that the
    lines of html are word wrapped. However, I don't need or want all
    these extra formatting characters. It makes search and replace very
    difficult. Can I disable this feature?

    I use EditPlus for these operations. You can search multiple
    files, replace Breaks and <p> and do other searches quickly.
    In addition, it has a very nice macro function for tweaking blocks
    of text.
    You can also deal with hhk and other text-based files. This
    is very useful for changing a whole wad of broken links at once
    including links in the hhc and hhk files.
    I can open stuff in EditPlus while RoboHTML is running.
    RoboHTML's editor also does a nice job of deleting unmatched
    formating openers like <span> <blockquote> <p>,
    etc. As soon as you save the EditPlus file, RoboHTML updates the
    page.
    In addition, EditPlus will open hundreds of files at
    once.

  • Word wrapping incorrect inside JTextPane on MAC 0.5/10.4 and Linux OS

    Hello java-dev team,
    In my application, I am using JTextPane as a text editor to create RTF text. The problem I observed with the JTextPane on MAC OS and Linux OS flavors (I tested on Ubuntu 8.04) is: whenever I am changing any of the text property (font color, font name, font style like bold, italic or underline) and then enter the characters without providing space, the whole word gets wrapped to the next line from the point where exactly the property change starts i.e. the new formatted text is jumped to the next line from the starting point of formatting.
    My requirement is, as I am not adding any space character while changing the property, the characters should be entered in the sequence and should come to new line as per normal word-wrap rule.
    Can anybody help me out in this regards with some solution as it’s a very urgent requirement?
    Below I am also providing the sample code to check the behavior. There is no dynamic facility to change the property in the below code but I am providing the text with multiple formatting settings through code itself. To reproduce the above issue, just type the characters using keyboard in between characters with changed text properties and you can see the whole word jumping to new line.
    import java.awt.Dimension;
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    import javax.swing.JTextPane;
    import javax.swing.text.MutableAttributeSet;
    import javax.swing.text.SimpleAttributeSet;
    import javax.swing.text.StyleConstants;
    import javax.swing.text.StyledDocument;
    import javax.swing.text.StyledEditorKit;
    public class TestWrapping {
         JScrollPane scroll;
         JTextPane edit;
         public TestWrapping()  throws Exception {
              final JFrame frame=new JFrame();
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              edit=new JTextPane()
                   public void setSize(Dimension d)
                        if (d.width < getParent().getSize().width)
                             d.width = getParent().getSize().width;
                        super.setSize(d);
                   public boolean getScrollableTracksViewportWidth()
                        return false;
              edit.setPreferredSize(new Dimension(150,150));
              edit.setSize(150,150);
              edit.setEditorKit(new StyledEditorKit());
              scroll=new JScrollPane(edit);
              edit.getDocument().insertString(0,"11111111111111222222222222222222222222222222222222222",null);
              MutableAttributeSet attrs=new SimpleAttributeSet();
              StyleConstants.setBold(attrs,true);
              ((StyledDocument)edit.getDocument()).setCharacterAttributes(30,5,attrs,false);
              StyleConstants.setUnderline(attrs,true);
              ((StyledDocument)edit.getDocument()).setCharacterAttributes(35,5,attrs,false);
              StyleConstants.setFontSize(attrs,25);
              ((StyledDocument)edit.getDocument()).setCharacterAttributes(40,5,attrs,false);
              frame.getContentPane().add(scroll);
              frame.setBounds(0,0,150,150);
              frame.show();
         public static void main(String[] args) throws Exception {
              new TestWrapping();
    }The same functionality works fine on Windows XP and problem is observed on MAC OS 10.4/10.5, Ubuntu 8.04. I am using jdk1.5 on both the platforms. I tested using jdk 6.0 on Ubuntu 8.04, and the problem is easily reproducible. I placed a query in the respective OS forums also but did not receive any replies. I also searched the sun’s bug database, but could not find any bug addressing the mentioned problem correctly. I also logged issue at bugs.sun.com and was assigned internal review ID of 1480019 for this problem.
    If you need any additional information, please let me know.
    Thanks in advance.
    Regards,
    VPKVL

    VPKVL wrote:
    Hi All,
    Just want to update that when I checked this issue with JDK1.6 on Ubuntu 8.04, I am unable to reproduce the issue. Everything works as expected. But problem continues on MAC 10.5. So can anybody help me out in coming out of this issue on MAC 10.5.
    Thanks in advance.The only thing I can suggest is that you open a bug (radar) with apple ( developer.apple.com ), and then wait at least 12 months for Apple to get around to fixing it :s

  • Word Wrap in htmldb

    Can anyone tell me how to word-wrap in the values in a particular field of a table in htmldb? The values of a certain field are very long and hence the table is unnecesarily occupying lot of space..........thus, it would be helpful if word-wrapping was possible.
    Thanks in advance.

    how about using the following function to wrap the data in a column?
    I tested it in HTML DB and it worked fine.
    -- convert P_DATA into wrapped words. Words are delimited by <br> so that
    --  it can be displayed in HTML format
    --  P_N is number of characters
    FUNCTION HTML_WRAP( P_DATA IN VARCHAR2, P_N NUMBER DEFAULT 2) RETURN VARCHAR2
    IS
    TYPE T_DATA_CHARS IS TABLE OF VARCHAR2(1) INDEX BY BINARY_INTEGER;
    V_DATA_CHARS T_DATA_CHARS ;
    N NUMBER :=1;
    V_OUTPUT VARCHAR2(4000);
    BEGIN
    IF LENGTH(P_DATA) > P_N THEN
      -- populate Data in the array
      FOR I IN 1..LENGTH(P_DATA) LOOP
       V_DATA_CHARS(I) := SUBSTR(P_DATA,I,1);
      END LOOP;
      -- process the string
      FOR I IN 1..LENGTH(P_DATA) LOOP
       IF N <= P_N THEN   
         N := N + 1;
          V_OUTPUT := V_OUTPUT || V_DATA_CHARS(I);
       ELSE
         IF V_DATA_CHARS(I) = ' ' THEN
           V_OUTPUT := V_OUTPUT || '&lt;br&gt;';
           N := 1;
          ELSE
           N := N + 1;
           V_OUTPUT := V_OUTPUT || V_DATA_CHARS(I);
          END IF;    
       END IF; -- N <= P_N THEN   
      END LOOP;
      RETURN V_OUTPUT;
    ELSE
      RETURN P_DATA;
    END IF;
    SQL> SELECT BARAKAU.HTML_WRAP('WELCOME TO MY WORLD MY DEAR',5)
      2  FROM DUAL ;
    BARAKAU.HTML_WRAP('WELCOMETOMYWORLDMYDEAR',5)
    WELCOME&lt;br&gt;TO MY&lt;br&gt;WORLD&lt;br&gt;MY DEAR

  • Word Wrap Lost When Switching Between XML and Author Views

    I compose DITA topics in the XML view with the word wrap option selected. If I switch to the Author view to check something and then return to the XML view, my nicely formatted XML view with all the happy element-nesting tabs goes away. I wind up with an ugly chunk of flush-left code and text that's difficult to read. Is there a reason why FM can't remember the tabs and word wrap when I return to the XML view?
    I'm relatively new to using FM's structured side for DITA, so perhaps I'm missing the obvious solution to this problem. If you know the answer, I'd appreciate if you'd clue me in.
    Thanks!

    Sarah,
    When you switch from XML to Author (or WYSIWYG) view, FM does not "remember" the XML document at all. Instead, internally it creates a structured FM document with the same element structure (possibly modified by the underlying XML application). When you switch back to XML view, it creates a new XML document from the current element structure, thereby preserving any changes you made in Author View. FM is very conservative about writing white space to XML in order to avoid inserting unwanted significant space.
    If you do all your editing in XML View and want to inspect the formatted version of the document without making changes to white space, always make a copy of the XML document (with File > Save As) and use the copy in Author View.
    --Lynne

  • Word wrap in simple table

    Hello ,
    Can some one suggest , how to word wrap long strings as field value in a simple Table .In my project there is a situation where i have to dispaly long description data in a table , but because of description usually being very long the width of the table becomes very long .Urgently waiting for your response..Thanks
    Vivek Kumar

    I am using SUN IDM 7.1 and this is the sample code i am using . I even tried to add noWrap to feilds definig rows but unfortunatly it does'nt seem to work for me.And thanks again for ur response...
    <Field name='_Lists'>
    <Display class='SimpleTable'>
    <Property name='columns'>
    <List>
    <String>Mkt Part Desc</String>
    <String>End Of Service Date</String>
    </List>
    </Property>
    <Property name='noWrap'>
    <Boolean>false</Boolean>
    </Property>
    </Display>
    <FieldLoop for='partsIndex' in="Index">
    <Field name='L_MKT_PT_DESC'>
    <Display class='Label'>
    <Property name='text'>
    <rule name='Get Desc'>
    </rule>
    </Property>
    </Display>
    </Field>
    <Field name='L_ENDOFSERVICE_DT_NEW'>
    <Display class='Label'>
    <Property name='text'>
    <rule name='Get End_service_date'>
    </rule>
    </Property>
    </Display>
    </Field>
    </FieldLoop>
    </Field>

  • Word wrap in JEditorPane...

    hi
    by default, the JEditorPane set the word wrap to true.
    how can i change it?

    thankyou very much. I have been looking for a book that went into detail on creating a word processor with Java components. This will help alot.
    thanks,
    dean

  • I have Lion and iCloud.  There are two very annoying problems.  mFirst, in the middle of writing or research the window gets yanked to the right.  Sometimes it can be retrieved and sometimes it can't.  sec on, in the course of research on Safari, or work

    I have recently upgraded to Lion and iCloud.  There are two very annoying quirks that i don't know how to fix:
    1-When working with word, documents or emails in the middle of a sequence the picture or window suddenly is yanked off the screen to the right.  More often than not it can't be retrieved.  This happens often
    2-In the same mode as in #1 above the print size will suddenly increase maybe by a factor of 3x or 4x.  it happens spontaneously.
    3-There are many other problems with the upgrade:
         -With sequence emails the secondary emails are not printed.  When one tries to open those emails it often fails.
         -The new address book format is crap.  it is very difficult to go from single listings to group listings and back.
    It's obviousto me the Apple software designers are not users.
    So how can i fix #1 & 2 above.

    > When working with word, documents or emails in the middle of a sequence
    > the picture or window suddenly is yanked off the screen to the right.
    Microsoft Word?  What version and service pack?
    Microsoft Office 2011 SP2 includes Word version 14.2.2.  Some Office 2011 updates addressed problems with Lion.

Maybe you are looking for

  • Ipod says searching when turned on

    My ipod says searching when turned on and I am not able to do anything else! any suggestions

  • When I START a Query from the WAD....

    Hello Experts, I create a nice Template in WAD 7.0 When I start this, comes first of all a Variable Selection. In TOP of this Selection, I want the Report NAME. How can I do this, and where can I do this... THANK you ALL..

  • On a MacBook Air is it possible to transfer the photos shown on Faces to my Contact cards and thus to my iPhone5?

    I'm new at this so please bear with me.  I had photos on each of my contacts at one time but have no idea how I got them there.  I would like to move the little square photos from Faces to my Contact cards but cannot seem to figure out how to do it. 

  • [Solved] Packet filtering.

    Hi, I am looking for a convenient way to filter packets from expression in form of \x00 (for exemple) I took a look at tcpdump but couldn't find a way to do so with it and it would actually be better if I could do so without using WireShark (for memo

  • Extended Warranty Question for iPhone 4

    Hello, I have the extended warranty that's $1.99.  It says: This service provides convenient coverage against any mechanical or electrical malfunctions and manufacturer defects. If your wireless phone is defective or becomes inoperable, just visit an