Dec 18, 2023
The following NppBgImg plugin requires notepad++ debug built version to run correctly.
I’m currently working to make it compatible with release built of Notepad++.
Debug Built Notepad++ and NppBgImg:
Dec 16, 2023
I’m currently working with Notepad++, because this powerful editor has no such plugin before(maybe I just have not found it). Anyway, I have done this by modifying its source code, when I have spare time, I will try to make this to a plugin with Detours or MinHook.
I’m new to win32 development and not familiar with English, forgive me if there are errors unsatissfying you.
Modifying Notepad++ Source Steps:
- AlphaRectangle This function will be called if any transparent color has passed to FillRectangle, all following functions will call this function if you has modified their parameter to a transparent color like ColourRGBA transRGBA(255, 255, 255, 0);.
- DrawBackground This function draws background for text parts.
- FillLineRemainder This function manages drawing line Remaining parts.
- DrawEOL This function manages EOL background drawing of each line.
- paintText (This function I have suspend dealing it, it only happens to draw background image after end of file)