Notepad++ 32 Bit – Horizontal Ruler Plugin

What:  Notepad++ 32 Bit – Horizontal Ruler Plugin


Where: Download here: NppHorizontalRuler.dll DOWNLOAD

Why:  Useful plugin to add a ruler to the top of the Notepad++ Interface.

When: Verified the plugin works on Notepad++ 32 bit (only), version 7.6.4 – March 6, 2019.


  1. Download the NppHorizontalRuler.dll file from the link above
  2. Create the folder C:\Program Files (x86)\Notepad++\plugins\NppHorizontalRuler\7.6.4_2
  3. Close Notepad++.  Drop the file into the folder.  Open Notepad++.
  4. To enable the ruler: Go to Plugins menu > Horizontal Ruler > RulerToggle7.6.4_1


Who:  I needed a horizontal ruler and eventually found a site where someone had created a ruler but it was written in japenese.  Functional but I couldn’t read it the site or the settings.

After posting the link here with instructions on how to download and install it, Jeffery Grossman took the time to update and translate the code for it. I now link to his repo for download. 

Thank you to those two people.

Notepad++ 32 Bit – Horizontal Ruler Plugin

26 thoughts on “Notepad++ 32 Bit – Horizontal Ruler Plugin

  1. Tony says:

    You can control the size of ruler by the the options.
    The first one is fix size.
    The second one is that you can choice the size what ever you want.


    1. You are 100% correct – per the official Npp website: “Note that the most of plugins (including Plugin Manager) are not yet available in x64”. I’ve updated the post regarding this. Thanks!


  2. I’ve modified the sources to run with Notepad++ x64. Fairly easy: Add x64 Build Configuration and change the return type of function “OptionDlgProc” to INT_PTR in “NppHorizontalRuler.cpp” and “NppHorizontalRuler.h”. Compiled without a problem (VS2013).

    Liked by 2 people

  3. really important says:

    the posted plug-in has a bug: it doesn’t zoom properly when the text window has been zoomed with mouse wheel. To adapt the zoom of the ruler you have to change to another file and return back, only than the ruler zooms in turn


  4. Robert says:

    Love it – but one huge change request… Is there any way we can get the ruler to start on 1 instead of 0? Or give the option for that? This is the only ruler I know of where the 10s are to the left of the ruler breaks. For instance, to the LEFT of the first big line ruler break is the 10th column, but the RIGHT of the same marker is the number 10. It is counter intuitive.


  5. Like says:

    Hi Joe,

    I just realize it needs to create a folder “NppHorizontalRuler” under C:\Program Files (x86)\Notepad++\plugins and put NppHorizontalRuler.dll in the new folder to make it work. It doesn’t work to put NppHorizontalRuler.dll in C:\Program Files (x86)\Notepad++\plugins any longer.



    1. Thanks for the update. I did some quick testing in a VM and agree that this is how it must be done now. I will update the page to explain that.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s