Notepad wordwrap ?bug? - double spacing

Page 1 of 2 12 LastLast

  1. Posts : 115
    Windows 7 Home Premium 32bit
       #1

    Notepad wordwrap ?bug? - double spacing


    using Notepad with word-wrap on, everything works fine, until I save the file, after which, if I amend a line and the text adjusts (or I re-size the window, and expect the wrapping to follow suit), it fails to wrap properly--it's as if, saving it, it hasn't remembered that it was only 'wrapped to window' and not actually paragraphed, so I have to click to the end of each broken sentence and backspace to recreate proper word-wrapping...which displays/wraps/etc. just fine and dandy until saving the txt again.

    when I copy-paste some lines of text from Notepad into Wordpad, after this wrapping issue has occurred, Wordpad displays the text wrapping in accord with the Wordpad settings, the only bug being that where Notepad had wrapped the lines of text there is now two spaces between the word instead of just the one.

    I know this is remarkably trivial, but it has been niggling at me for ages, and I'm just curious how aware of this people are, and how it is regarded (I mean, is this a feature desirable for the way other people tend to use that program?)
      My Computer


  2. Posts : 222
    Win 7 Ult + Starter, XP Pro +Home, 2kAS, Linux Mint 8, SuperOS
       #2

    Text editors like Notepad, for the most part understand printing characters and white space, line breaks and carriage returns only, and the concepts of page size, paragraphs and line spacing falls into the realm of word processing, of which Wordpad is a simple example.

    If a text document with line breaks is put into a word processor like MS Word, each line break signifies a new paragraph, which can be seen if the non-printing character codes are shown.

    If a text document is wrapped by inserting line breaks to fit within a window, and a word processor which automatically inserts an extra line at the end of paragraphs is used to view the text file, it will appear double spaced.

    No bug, just a conflict of two different systems.
      My Computer


  3. Posts : 115
    Windows 7 Home Premium 32bit
    Thread Starter
       #3

    just to be clear, I'm not talking about 'double-spacing' (paragraph issues), but..two..spaces..between..a..word..like..this..sentence (though only between the words where the wrapping occurred.

    edit: I replaced spaces with '..' because the forum automatically corrected two-spaces to one-space.
      My Computer


  4. Posts : 222
    Win 7 Ult + Starter, XP Pro +Home, 2kAS, Linux Mint 8, SuperOS
       #4

    I regard Notepad and Wordpad as free tools and as such, limited to function, adequate for what they are supposed to do. You get what you pay for.

    Extra spaces are known in the business as "padding", hence Notepad and Wordpad.
      My Computer


  5. Posts : 115
    Windows 7 Home Premium 32bit
    Thread Starter
       #5

    fafhrd said:
    I regard Notepad and Wordpad as free tools and as such, limited to function, adequate for what they are supposed to do. You get what you pay for.
    my gripe (as with the status-less status bar tray area) is that functions that once existed perfectly well no longer do. I think there's a difference between asking for improvements and asking that they stop ruining good things (a message Facebook have yet to receive).
      My Computer


  6. Posts : 222
    Win 7 Ult + Starter, XP Pro +Home, 2kAS, Linux Mint 8, SuperOS
       #6

    It's called getting old - things just don't work as well as you remember they used to.
      My Computer


  7. Posts : 115
    Windows 7 Home Premium 32bit
    Thread Starter
       #7

    fafhrd said:
    It's called getting old - things just don't work as well as you remember they used to.

    on the contrary, it's a problem of youth!

    I miss my old faithful Windows Millennium it couldn't do much, but what it could do it did right, damnit!
      My Computer


  8. Posts : 2,528
    Windows 7 x64 Ultimate
       #8

    I havent been able to reproduce the problem. Maybe if you give a step by step for the notepad fail...

    I typed in a single line with word wrapping on till it wrapped 3-4 times. Then saved it, then reopened, then resized the window and the word wrapping still worked fine.

    It sounds like you're saying that after saving and loading back into notepad, it acts like notepad had inserted a CR at the word wrap point, making one long line into several short ones?
      My Computer


  9. Posts : 115
    Windows 7 Home Premium 32bit
    Thread Starter
       #9

    fseal said:
    I havent been able to reproduce the problem. Maybe if you give a step by step for the notepad fail...

    I typed in a single line with word wrapping on till it wrapped 3-4 times. Then saved it, then reopened, then resized the window and the word wrapping still worked fine.

    It sounds like you're saying that after saving and loading back into notepad, it acts like notepad had inserted a CR at the word wrap point, making one long line into several short ones?
    aaaaaaaaah. thanks for that.

    if you do that again, save it, and then resize, the nuisance will occur.

    as you've helped me realize -- if you save, then close, and re-open the file, you are free to resize with proper word-wrapping!

    currently I'm not getting the 'word[spacespace]word' problem to occur,


    ETA: I wonder if this is a small part of a larger Win 7 problem with refreshing/keeping up-to-date with what's going on. I also notice the nuisance of a Wordpad file continuing to display after it has been closed (until a window opens/is moved over that region), rather than vanishing and displaying whatever was behind it (wallpaper, explorer, whatever).
      My Computer


  10. Posts : 1
    Windows XP Professional Service Pack 3
       #10

    I noticed this problem in Windows XP Notepad, it looks like it's still in Windows 7 Notepad:

    If word wrap is on when you save, Notepad inserts CR CR LF characters at each wrap point in the display window (but not in the saved file).

    • This can cause the text cursor to move backwards.
    • If you resize the window, Notepad doesn't properly re-wrap the lines.
    • If you copy text that includes a CR CR LF wrap point and paste it in another program, strange things can happen. As you noticed, if you paste into WordPad, you get two spaces where the CR CR LF wrap points were in Notepad.
    You can turn word wrap off and back on to clear the issue, but Notepad will move the text cursor to the top of the file when you do this. It looks like re-opening the file using File, Open clears the issue the same way, I hadn't thought of that before.
    Last edited by Brink; 16 Jul 2011 at 00:08. Reason: removed link
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:02.
Find Us