Community
    • Login

    Changing colors of the space and other symbols, when view all is turned on.

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    9 Posts 7 Posters 12.4k Views 4 Watching
    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.
    • Joe SmithJ Offline
      Joe Smith
      last edited by

      I have a problem seeing that small orange dot for a space, how can it be changed to a darker color?

      Scott SumnerS 1 Reply Last reply Reply Quote 0
      • gstaviG Offline
        gstavi
        last edited by

        Global Styles -> White space symbol

        1 Reply Last reply Reply Quote 0
        • Scott SumnerS Offline
          Scott Sumner @Joe Smith
          last edited by

          @Joe-Smith :

          @gstavi means specifically Settings (menu) -> Style Configurator… -> Language: Global Styles -> Style: White space symbol -> Colour style: Foreground color [@gstavi, sorry to jump in on your response, but it seemed like it might be cryptic if Joe is a total noob to Notepad++; heck, maybe my attempt at improvement is cryptic to some as well…]

          Additionally, if you want to modify it further (e.g. increase the size of the whitespace dot), and you aren’t opposed to using the NppExec or Pythonscript plugins (with 32-bit Notepad++), see replies made by me to this thread: https://notepad-plus-plus.org/community/topic/13362/show-and-symbol-instead-of-cr-lf-when-whitespaces-enabled for how this can be accomplished.

          1 Reply Last reply Reply Quote 0
          • guy038G Offline
            guy038
            last edited by guy038

            Hello, @Joe-smith,

            In addition to the present @gstavi and @scott-sumner replies and to the posts of @claudia-frank and @scott-sumner, below :

            https://notepad-plus-plus.org/community/topic/12150/change-symbol-for-whitespace-highlight/2

            https://notepad-plus-plus.org/community/topic/13362/show-and-symbol-instead-of-cr-lf-when-whitespaces-enabled/4

            https://notepad-plus-plus.org/community/topic/13362/show-and-symbol-instead-of-cr-lf-when-whitespaces-enabled/5

            Here is my contribution :


            • First of all, download one of the installation archives, of the script languages, below :

              • PythonScript_Full_1.0.8.0.zip, from :

              https://sourceforge.net/projects/npppythonscript/files/Python Script 1.0.8.0/

              • LuaScript.zip ( or LuaScript64.zip ), from :

              https://github.com/dail8859/LuaScript/releases/tag/v0.7.0

              • NppExec20160628_dll.zip ( or NppExec20160628_dll_x64-2.zip ), from :

              https://sourceforge.net/projects/npp-plugins/files/NppExec/NppExec Plugin v0.5.9.9 dev/


            Once the chosen script installed and N++ re-started :

            • Choose the menu option View > Show Symbol > Show White Space and TAB or View > Show Symbol > Show All Characters

            • Open the Console window, of the script language, downloaded

              • With the Python script : Plugins > Python Script > Show Console

              • With the Lua script : Plugins > LuaScript > Show Console

              • With the NppExec script : Plugins > NppExec > Show Console Dialog


            Now :

            • To change the size of the orange dot symbol, type one of the following commands :

              • With the Python script : editor.setWhitespaceSize(3)

              • With the Lua script : editor.WhitespaceSize = 3

              • With the NppExec script : SCI_SENDMSG 2086 3

            in the input window of the Python or Lua script or in the console window of the NppExec script and valid with the Enter key

            • To know the current size of the space dot symbol, type one of the following commands

              • With the Python script : editor.getWhitespaceSize()

              • With the Lua script : editor.WhitespaceSize

              • With the NppExec script : SCI_SENDMSG 2087

            in the input window of the Python or Lua script or in the console window of the NppExec script and valid with the Enter key


            Notes :

            • Any value may be used, but, practically, only the values, in the range [0-4], are interesting !

              • Value 0 does not display the dot symbol

              • Value 1 is the default dot symbol size

              • Value 2, as Scott said, seems the best choice

              • Value 3 is, to my mind, the maximum sensible value

              • Value 4 : Huuuum… You probably need glasses ;-))


            You can get further documentation, at the addresses, below :

            http://www.scintillarg/ScintillaDoc.html#SCI_SETWHITESPACESIZE

            https://dail8859.github.io/LuaScript/classes/Editor.html

            http://npppythonscript.sourceforge.net/docs/latest/scintilla.html

            Best Regards,

            guy038

            1 Reply Last reply Reply Quote 1
            • László BotkaL Offline
              László Botka
              last edited by

              Hello guy038,

              I downloaded NppExec20160628_dll.zip, but don’t know how to install it.
              Please help

              Thanks

              Claudia FrankC 1 Reply Last reply Reply Quote 0
              • Claudia FrankC Offline
                Claudia Frank @László Botka
                last edited by

                @László-Botka

                you need to extract the content of the zip into the plugins directory.
                Depending on your installation choice this directory is under the installation directory
                or under %APPDATA%\notepad++ directory.

                Cheers
                Claudia

                1 Reply Last reply Reply Quote 0
                • László BotkaL Offline
                  László Botka
                  last edited by

                  Thanks you, works fine!

                  1 Reply Last reply Reply Quote 0
                  • dreamforceincD Offline
                    dreamforceinc
                    last edited by

                    With the NppExec script : SCI_SENDMSG 2087

                    Why nothing returned after executing this command?

                    ================ READY ================
                    SCI_SENDMSG 2087
                    SCI_SENDMSG: 2087
                    ================ READY ================

                    Claudia FrankC 1 Reply Last reply Reply Quote 0
                    • Claudia FrankC Offline
                      Claudia Frank @dreamforceinc
                      last edited by

                      @dreamforceinc

                      the result is stored in variable msg_result, so something like

                      SCI_SENDMSG 2087
                      echo $(MSG_RESULT)

                      would do the job.

                      Cheers
                      Claudia

                      1 Reply Last reply Reply Quote 1

                      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