Community

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

    bookmark line color

    General Discussion
    bookmark color
    2
    5
    4064
    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.
    • notepad347
      notepad347 last edited by

      How can a line color for a bookmark be changed?
      Maybe something like
      <WidgetStyle name=“Bookmark” styleID=“36” bgColor=“FF0000” fontStyle=“0” fontSize=“10” />

      in
      …\Notepad++\stylers.xml
      ?

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

        Currently that’s not possible because the built-in bookmark is an actual image. However with a plugin you could change it to any of the following (and change the colors)

        bookmarks

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

          If I have in Preferences -> Editing -> Display bookmark (un check)
          there is no green circle, but a line is dark in white background, but is hardly visible, it is better visible in dark background, in that case the line is lighter.

          So, if I understand correctly, if I un check “display bookmark”, we talk about line color, not an image ?

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

            Oh, I see what you are saying now. :)

            AFAIK this isn’t configurable through any config file (although not a bad idea), but you can do it with a plugin. You can do this with PythonScript but I’m not familiar enough with it. LuaScript is more lightweight and easier to install.

            1. Install LuaScript via the Plugin Manager.
            2. Go to Plugins > LuaScript > Edit Startup Script
            3. Add the following to the script.
            -- This value is a hex color. NOTE: this is BGR values not RGB
            editor.MarkerBack[24] = 0xFF0000
            -- Opacity between 0 and 255
            editor.MarkerAlpha[24] = 128
            

            You can tweak this to whatever you want. When you restart N++ then it should work fine.

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

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