Community

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

    question about saving themes

    Help wanted · · · – – – · · ·
    style config themes saving files
    4
    7
    101
    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.
    • C
      carlos navarro last edited by

      hi, i’ve recently been enjoying notepad++ and had a question about saving themes. I was wondering if there is a way to save the changes i’ve made for a specific theme in the Style Configurator; been messing around with changing the style with the Twilight theme and i’m at a point where i’m satisfied with what I have and just want to save it as a file just in case and if possible. thanks for any help!

      Alan Kilborn 1 Reply Last reply Reply Quote 0
      • Alan Kilborn
        Alan Kilborn @carlos navarro last edited by

        @carlos-navarro

        It’s already saved into a file.
        If you locate the “themes” folder underneath the main N++ program folder, you’ll see a file called Twilight.xml. It contains any customizations you’ve made after selecting that theme.

        Now, if your intent was to keep the original Twilight settings intact, and create your custom theme entirely separately, the proper path would have been to copy the xml file to a new name, e.g. Twilight2.xml and then select that theme and start modifying it. But of course you didn’t, and couldn’t, know that was the path in advance. :-)


        Question for others:

        BTW, I’ve just noticed that the themes xml files are all encoded as follows:

        <?xml version="1.0" encoding="Windows-1252" ?>

        Isn’t using 1252 a bit, well, dated?

        mere-human 1 Reply Last reply Reply Quote 5
        • mere-human
          mere-human @Alan Kilborn last edited by

          @Alan-Kilborn said in question about saving themes:

          Isn’t using 1252 a bit, well, dated?

          But theme XML files usually don’t use anything besides ordinary ASCII characters so it really not that important IMO.
          This is critical for the localization XML files, they have a declaration like this:

          <?xml version="1.0" encoding="UTF-8"?>
          
          Alan Kilborn 1 Reply Last reply Reply Quote 1
          • Alan Kilborn
            Alan Kilborn @mere-human last edited by

            @mere-human said in question about saving themes:

            But theme XML files usually don’t use anything besides ordinary ASCII characters so it really not that important IMO.

            Ok, but it just seems to propagate ancient history. :-)
            These files could just as easily be UTF8.

            PeterJones 1 Reply Last reply Reply Quote 1
            • PeterJones
              PeterJones @Alan Kilborn last edited by

              @Alan-Kilborn ,

              I don’t have the time right now to check, but I thought I remembered seeing recently that there was a issue and/or commit to change at least some of the XML config files to UTF-8. I don’t know whether themes were a part of that “some” or not. (Also, maybe my imagination is running wild, and it’s not happening.)

              mere-human 1 Reply Last reply Reply Quote 2
              • mere-human
                mere-human @PeterJones last edited by

                @PeterJones WinGUP (Notepad++ updater) and all its configs migrated to Unicode recently. Maybe, what you saw was something different.

                PeterJones 1 Reply Last reply Reply Quote 0
                • PeterJones
                  PeterJones @mere-human last edited by

                  @mere-human , @Alan-Kilborn

                  I believe what I had seen was pull #9339 commit 52e8c68 … though it looks like it’s not working yet.

                  AFAIK, that is separate from wingup commit 9b193fa.

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