Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Notepad Bug?!?

Notepad Bug?!?

Scheduled Pinned Locked Moved The Lounge
htmlcsharptoolshelpquestion
17 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Bassam Abdul Baki

    After all these years of using Notepad, I came across this little feature that may be considered a bug. If you open Notepad, type something in and then delete all of it (i.e., Ctrl+A, Ctrl+X), closing it will close Notepad without prompting you to save it. The only reason I started doing this was I needed to copy some HTML text without the markup, and Notepad was the obvious choice. I actually like this feature because I know I don't need to save it. However, I don't seem to recall seeing this prior to XP, and it seems likely that I would have selected everything in Notepad for deletion at some point in my life and closed it and run into this, but I can't remember ever doing so. Anyone has their little quirks that they've come across? "If only one person knows the truth, it is still the truth." - Mahatma Gandhi Web - Blog - RSS

    T Offline
    T Offline
    Tom Archer
    wrote on last edited by
    #4

    Huh? Notepad is *extremely* buggy. It probably hasn't been updated in many years and often screws up documents. Cheers, Tom Archer - Visual C++ MVP Archer Consulting Group "So look up ahead at times to come, despair is not for us. We have a world and more to see, while this remains behind." - James N. Rowe

    P 1 Reply Last reply
    0
    • N Niklas Ulvinge

      There's other bad things about notepad. The ctrl+s don't save. That's the worst thing with it. The PROgrammer Niklas Ulvinge aka IDK

      B Offline
      B Offline
      Bassam Abdul Baki
      wrote on last edited by
      #5

      True. However, I believe there was an article that talked about fixing that. I believe it used the Resource Hacker to recompile Notepad to allow for that. "If only one person knows the truth, it is still the truth." - Mahatma Gandhi Web - Blog - RSS

      1 Reply Last reply
      0
      • L Lost User

        I don't think that's a bug since you are undoing your typing. Elaine :rose: The tigress is here :-D

        B Offline
        B Offline
        Bassam Abdul Baki
        wrote on last edited by
        #6

        This [insert]Microsoft[/insert] functionality seems to be unique to Notepad. "If only one person knows the truth, it is still the truth." - Mahatma Gandhi Web - Blog - RSS

        1 Reply Last reply
        0
        • N Niklas Ulvinge

          There's other bad things about notepad. The ctrl+s don't save. That's the worst thing with it. The PROgrammer Niklas Ulvinge aka IDK

          B Offline
          B Offline
          Bassam Abdul Baki
          wrote on last edited by
          #7

          Update - Spoke too soon. The Ctrl+S feature seems to have been fixed in XP. :-) "If only one person knows the truth, it is still the truth." - Mahatma Gandhi Web - Blog - RSS

          1 Reply Last reply
          0
          • B Bassam Abdul Baki

            After all these years of using Notepad, I came across this little feature that may be considered a bug. If you open Notepad, type something in and then delete all of it (i.e., Ctrl+A, Ctrl+X), closing it will close Notepad without prompting you to save it. The only reason I started doing this was I needed to copy some HTML text without the markup, and Notepad was the obvious choice. I actually like this feature because I know I don't need to save it. However, I don't seem to recall seeing this prior to XP, and it seems likely that I would have selected everything in Notepad for deletion at some point in my life and closed it and run into this, but I can't remember ever doing so. Anyone has their little quirks that they've come across? "If only one person knows the truth, it is still the truth." - Mahatma Gandhi Web - Blog - RSS

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #8

            I've used this feature for years knowing that it won't prompt me.


            "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

            1 Reply Last reply
            0
            • N Niklas Ulvinge

              There's other bad things about notepad. The ctrl+s don't save. That's the worst thing with it. The PROgrammer Niklas Ulvinge aka IDK

              D Offline
              D Offline
              David Crow
              wrote on last edited by
              #9

              Ctrl+S works fine in Windows 2000's Notepad.


              "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

              1 Reply Last reply
              0
              • B Bassam Abdul Baki

                After all these years of using Notepad, I came across this little feature that may be considered a bug. If you open Notepad, type something in and then delete all of it (i.e., Ctrl+A, Ctrl+X), closing it will close Notepad without prompting you to save it. The only reason I started doing this was I needed to copy some HTML text without the markup, and Notepad was the obvious choice. I actually like this feature because I know I don't need to save it. However, I don't seem to recall seeing this prior to XP, and it seems likely that I would have selected everything in Notepad for deletion at some point in my life and closed it and run into this, but I can't remember ever doing so. Anyone has their little quirks that they've come across? "If only one person knows the truth, it is still the truth." - Mahatma Gandhi Web - Blog - RSS

                M Offline
                M Offline
                Matt Gerrans
                wrote on last edited by
                #10

                If you've been using notepad for years, then I don't think the bug is in the software. Haven't you heard of EmEditor, or any of the (probably thousands) other choices? Notepad is not an editor, it is just a little demo app showing how to stretch a textbox far beyond the limits for which it was designed. Sorry, I just don't have much sympathy for massochists. ;P Get yourself a real editor. :mad: Matt Gerrans

                B 1 Reply Last reply
                0
                • M Matt Gerrans

                  If you've been using notepad for years, then I don't think the bug is in the software. Haven't you heard of EmEditor, or any of the (probably thousands) other choices? Notepad is not an editor, it is just a little demo app showing how to stretch a textbox far beyond the limits for which it was designed. Sorry, I just don't have much sympathy for massochists. ;P Get yourself a real editor. :mad: Matt Gerrans

                  B Offline
                  B Offline
                  Bassam Abdul Baki
                  wrote on last edited by
                  #11

                  I actually use UltraEdit. However, when I'm at the client's office, Notepad is all I have on the desktop that they provide me with. You're right about it being a demo app, but it is still a very useful tool depending on how one uses it. Most text editors are too overloaded, kind of like the ICQ website when it became popular. :-D "If only one person knows the truth, it is still the truth." - Mahatma Gandhi Web - Blog - RSS

                  1 Reply Last reply
                  0
                  • B Bassam Abdul Baki

                    After all these years of using Notepad, I came across this little feature that may be considered a bug. If you open Notepad, type something in and then delete all of it (i.e., Ctrl+A, Ctrl+X), closing it will close Notepad without prompting you to save it. The only reason I started doing this was I needed to copy some HTML text without the markup, and Notepad was the obvious choice. I actually like this feature because I know I don't need to save it. However, I don't seem to recall seeing this prior to XP, and it seems likely that I would have selected everything in Notepad for deletion at some point in my life and closed it and run into this, but I can't remember ever doing so. Anyone has their little quirks that they've come across? "If only one person knows the truth, it is still the truth." - Mahatma Gandhi Web - Blog - RSS

                    N Offline
                    N Offline
                    Navin
                    wrote on last edited by
                    #12

                    Notepad fails miserably when trying to open a Unix-style file. Personally, I prefer Notepad2[^]. The generation of random numbers is too important to be left to chance.

                    1 Reply Last reply
                    0
                    • T Tom Archer

                      Huh? Notepad is *extremely* buggy. It probably hasn't been updated in many years and often screws up documents. Cheers, Tom Archer - Visual C++ MVP Archer Consulting Group "So look up ahead at times to come, despair is not for us. We have a world and more to see, while this remains behind." - James N. Rowe

                      P Offline
                      P Offline
                      peterchen
                      wrote on last edited by
                      #13

                      Tom Archer wrote: It probably hasn't been updated in many years - UNICODE support - Ctrl-S for save - .LOG Tom Archer wrote: and often screws up documents How? Never had thaqt happen


                      Pandoras Gift #44: Hope. The one that keeps you on suffering.
                      aber.. "Wie gesagt, der Scheiss is' Therapie"
                      boost your code || Fold With Us! || sighist | doxygen

                      N 1 Reply Last reply
                      0
                      • L Lost User

                        I don't think that's a bug since you are undoing your typing. Elaine :rose: The tigress is here :-D

                        J Offline
                        J Offline
                        Jason Henderson
                        wrote on last edited by
                        #14

                        It wasn't an undo. But, since Notepad seems to have only one level of undo it should see it as a change and prompt you.

                        "Live long and prosper." - Spock

                        Jason Henderson
                        blog

                        1 Reply Last reply
                        0
                        • P peterchen

                          Tom Archer wrote: It probably hasn't been updated in many years - UNICODE support - Ctrl-S for save - .LOG Tom Archer wrote: and often screws up documents How? Never had thaqt happen


                          Pandoras Gift #44: Hope. The one that keeps you on suffering.
                          aber.. "Wie gesagt, der Scheiss is' Therapie"
                          boost your code || Fold With Us! || sighist | doxygen

                          N Offline
                          N Offline
                          Nish Nishant
                          wrote on last edited by
                          #15

                          peterchen wrote: - .LOG ???

                          P 1 Reply Last reply
                          0
                          • N Nish Nishant

                            peterchen wrote: - .LOG ???

                            P Offline
                            P Offline
                            peterchen
                            wrote on last edited by
                            #16

                            create a text documentthat has only .LOG on the first line. Open with notepad. play around. enjoy!


                            Pandoras Gift #44: Hope. The one that keeps you on suffering.
                            aber.. "Wie gesagt, der Scheiss is' Therapie"
                            boost your code || Fold With Us! || sighist | doxygen

                            N 1 Reply Last reply
                            0
                            • P peterchen

                              create a text documentthat has only .LOG on the first line. Open with notepad. play around. enjoy!


                              Pandoras Gift #44: Hope. The one that keeps you on suffering.
                              aber.. "Wie gesagt, der Scheiss is' Therapie"
                              boost your code || Fold With Us! || sighist | doxygen

                              N Offline
                              N Offline
                              Nish Nishant
                              wrote on last edited by
                              #17

                              peterchen wrote: create a text documentthat has only .LOG on the first line. Open with notepad. play around. enjoy! Wow, that's cool. Thanks Peterchen.

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups