Community
    • Login

    PureBasic missing from style configurator

    Scheduled Pinned Locked Moved General Discussion
    12 Posts 4 Posters 3.9k Views
    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.
    • Alan KilbornA Offline
      Alan Kilborn @Gypsy Prince
      last edited by Alan Kilborn

      @Gypsy-Prince said:

      Is this a bug? Or, am I just blind and overlooking it somewhere?

      11a18b08-ee80-499c-85c6-e8c7c49b9b53-image.png

      Conclusion: BLIND !
      :-)

      1 Reply Last reply Reply Quote 0
      • Gypsy PrinceG Offline
        Gypsy Prince
        last edited by

        Not there…
        Annotation 2020-04-22 093342.png

        Michael VincentM Alan KilbornA 2 Replies Last reply Reply Quote 0
        • Michael VincentM Offline
          Michael Vincent @Gypsy Prince
          last edited by

          @Gypsy-Prince

          I don’t see it in mine either, but I’m using “Obsidian” as my “Select theme” style and i do see it when I switch to “Default (stylers.xml)” I would take a look at your stylers.xml file and make sure PureBasic is in it.

          PS VinsWorldcom C:\usr\bin\npp64 > grep -i purebasic .\stylers.xml
                  <LexerType name="purebasic" desc="PureBasic" ext="">
          PS VinsWorldcom C:\usr\bin\npp64 > grep -i purebasic .\themes\Obsidian.xml
          PS VinsWorldcom C:\usr\bin\npp64 >
          

          Cheers.

          1 Reply Last reply Reply Quote 2
          • Alan KilbornA Offline
            Alan Kilborn @Gypsy Prince
            last edited by

            @Gypsy-Prince

            Conceivably your stylers.xml could be from a time before PureBasic was supported by the lexer?
            Upgrading doesn’t touch certain files because it doesn’t want to “blow away” some customizations you may have made.
            Not 100% sure what’s going on…

            1 Reply Last reply Reply Quote 1
            • Gypsy PrinceG Offline
              Gypsy Prince
              last edited by

              It’s not listed in there. I’m guessing it is from a previous time. Can someone post the entries for PureBasic so I can add them?

              Alan KilbornA 1 Reply Last reply Reply Quote 0
              • Alan KilbornA Offline
                Alan Kilborn @Gypsy Prince
                last edited by Alan Kilborn

                @Gypsy-Prince said in PureBasic missing from style configurator:

                Can someone post the entries for PureBasic so I can add them?

                Probably best for you to grab a portable version of 7.8.5 and find them in there?
                See HERE and grab the zip or 7z file.

                1 Reply Last reply Reply Quote 3
                • Gypsy PrinceG Offline
                  Gypsy Prince
                  last edited by

                  Ah gotcha!!! That way I can compare for any changes in my other language entries as well.

                  1 Reply Last reply Reply Quote 3
                  • Gypsy PrinceG Offline
                    Gypsy Prince
                    last edited by

                    Didn’t work. Just gonna have to re-install new and completely redo my configurations.

                    1 Reply Last reply Reply Quote 0
                    • Gypsy PrinceG Offline
                      Gypsy Prince
                      last edited by

                      Okay… I found that not only did I have to add the entries for each new language to the stylers.xml file, but I also had to add them to each desired style using its corresponding file (*.xml) in the ‘themes’ subfolder.

                      Works great now!

                      Michael VincentM 1 Reply Last reply Reply Quote 3
                      • Michael VincentM Offline
                        Michael Vincent @Gypsy Prince
                        last edited by

                        @Gypsy-Prince said in PureBasic missing from style configurator:

                        but I also had to add them to each desired style using its corresponding file (*.xml) in the ‘themes’ subfolder

                        Yes. The themes are woefully out of date both in terms of full language support and the tags used within each language. I went through and made lots of updated (not complete for all languages) to the Obsidian.xml theme since I use that one, but haven’t bothered updating the others.

                        Cheers.

                        EkopalypseE 1 Reply Last reply Reply Quote 1
                        • EkopalypseE Offline
                          Ekopalypse @Michael Vincent
                          last edited by

                          @Michael-Vincent

                          I’m working on synchronizing the themes and I have opened a thread of my own here.

                          I got a lot of information and many links to even more information from guy038.
                          Unfortunately the topic is completely new to me,
                          so it will take some time until I can come up with a script here.

                          To give a short visual representation of what needs to be done.
                          The defined foreground colors from the default styler.

                          6d94511d-75da-400a-a8f4-075c81c58ba1-image.png

                          All the colors that are similar should be migrated to one color.
                          Hoping to reduce the amount of different colors from >120 to 20-30
                          There will be only one default background and one default foreground color in the lexers.
                          I.e. on this example image, I would convert FFFFFF and similar to 000000.

                          The colors used internally by Npp would be handled separately,
                          because, for example, the background color of the current line must be different.

                          There is a lot to do but I haven’t given up yet. :-)

                          1 Reply Last reply Reply Quote 2

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • First post
                            Last post
                          The Community of users of the Notepad++ text editor.
                          Powered by NodeBB | Contributors