Notepad++ 32 Bit Horizontal Ruler Plugin

What is it?

An English language version of a Horizontal Ruler Plugin for Notepad++ 32 Bit.

7.6.4_0


Where can I get it?

Download NppHorizontalRuler.dll Here


Who did it?

I spent quite a while looking for a horizontal ruler and eventually found a plugin created by someone in Japan.  It was functional but I couldn’t read the settings as they were written in Japanese.

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 to download the updated plugin. 

Thank you to those two people.

Link to Original: http://freesftys.lv9.org/app/npp/#npp-HorizontalRuler


Why do I want this?

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


When was this last tested?

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


How do I install it?

  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 NppHorizontalRuler.dll file into the folder.
  4. Open Notepad++.
  5. To enable the ruler: Go to Plugins menu > Horizontal Ruler > RulerToggle7.6.4_1

 

 

Advertisements
Notepad++ 32 Bit Horizontal Ruler Plugin

30 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.

    Like

    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!

      Like

  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

    Like

  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.

    Like

  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.

    Thanks.

    Liked by 1 person

    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.

      Like

    1. Bryce, unfortunately this plugin was originally made many years ago and is only compatible with the 32-bit version. There are no plans from me to create a 64 bit version.

      Like

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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