What is the blue dot in left margin



  • Some times while editing a vanilla text file, a blue dot shows up in the left margin. What is it?
    I looked in the online manual but cannot find a reference. Is there a “top level” to the manual?



  • @Larry-Schwartz

    Do you mean this?
    d137ef52-c670-409f-971e-69501d3c83a3-image.png

    That blue dot is a bookmark. You can get one by clicking in the margin between the line number and the text. And it doesn’t have to be at the top:

    f7533fa7-d7f8-44d5-9e13-4d0596f181fd-image.png

    Right-clicking instead of left-clicking there will give Bookmark options menu. This is the same menu as in Search > Bookmark. You can also make the Search > Mark dialog bookmark the lines that have matches as well as mark (highlight) the exact matching text, as described in the Mark Tab section of the usermanual. But you’re right, the Search>Bookmark / Margin > Right Click menu doesn’t seem to be described in the manual; I created issue #293 so that a description will hopefully be added to the next release of the usermanual.



  • For my taste, the line number margin and the bookmark margin are not differentiated by color well enough. Sure, if you squint at it, you can tell that there is a difference, but I think often people think of this as only a single margin, containing the line number, and thus are confused when a “blue ball” marker also appears here.

    Here’s what the right-clicked bookmark margin looks like, for completeness:

    1a21c85a-8678-461c-a8fe-bc9e7e49865e-image.png

    BTW, Toggle Bookmark on this menu is fairly superfluous, as no one would right-click and choose that from the menu, when a simple left-click in the margin would toggle a bookmark on the current line. I think the N++ designers just left this in because it was easiest just to duplicate the Search (menu) > Bookmark (submenu), shown here to be the same:

    ee70d56b-a8f2-4c08-b7a1-a37b2da6001d-image.png


Log in to reply