Navigation

    Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Can't save anymore

    Help wanted · · · – – – · · ·
    4
    9
    4279
    Loading More Posts
    • 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.
    • Carsten Reckord
      Carsten Reckord last edited by Carsten Reckord

      I’ve recently gotten a new work laptop and moved all my stuff over from my old one. Since I had a lot of configuration in my Notepad++ setup, I copied over all the stuff in AppData\Roaming\Notepad++, as well as installed plugins.

      This seemed to have worked fairly well, with one notable exception: For some reason, I can’t save anymore. The save action is enabled, but pressing either Ctrl+S, or the save button, just does nothing. I can ‘save as’ and save the file under its old name, but that’s a bit annoying.

      Is there some sort of log where I could check for errors?

      1 Reply Last reply Reply Quote 0
      • cmeriaux
        cmeriaux last edited by

        No there isn’t any log.
        You should try to do a fresh install because the previous configuration files may not be compatible with the new installed notepad++.
        You also may try to reset the C:\Users\wwwww\AppData\Roaming\Notepad++\config.xml files or remove it. Notepad++ may create a clean one.

        1 Reply Last reply Reply Quote 0
        • Carsten Reckord
          Carsten Reckord last edited by

          Thanks. I backed up my config.xml, let Notepad++ recreate it, and then did a diff between the two to merge in my changes. Now I got it working again :)

          1 Reply Last reply Reply Quote 1
          • cmeriaux
            cmeriaux last edited by

            @donho
            Don, This is not the first time that someone have a broken config file.
            We should add on Notepad++ a xml validator. It would check the configuration, tell the user that there is a problem, reset the configuration (? not sure it’s a good Idea)

            donho 1 Reply Last reply Reply Quote 0
            • donho
              donho @cmeriaux last edited by

              @cmeriaux No idea about the size of xml validator. I would say it’s more interesting to do a xml validator plugin and include it in the distribution by default.
              OTOH, I’m planing to make validate all xml files on Appveyor. If you’re interested in doing it, you could do a PR for it.

              1 Reply Last reply Reply Quote 0
              • MAPJe71
                MAPJe71 last edited by

                FYI: XML Tools Plugin includes an XML validator.

                1 Reply Last reply Reply Quote 0
                • cmeriaux
                  cmeriaux last edited by

                  @donho good idea. Which one do you want to validate ?
                  I sure PowerEditor/installer/nativeLang/languageXXX.xml
                  PowerEditor/installer/themes/XXX.xml ???
                  PowerEditor\src\config.model.xml ???

                  I think I could write a python script that check the XML and its contents.
                  Then AppVeyor will execute this script and show the validation result.
                  Are you OK ?

                  donho 1 Reply Last reply Reply Quote 1
                  • donho
                    donho @cmeriaux last edited by

                    @cmeriaux Sounds great. Please KISS (Keep it simple & stupid) :)

                    1 Reply Last reply Reply Quote 0
                    • cmeriaux
                      cmeriaux last edited by

                      I like KISS !

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright © 2014 NodeBB Forums | Contributors