Notepad ++ source code overview

Reprinted from: http://blog.163.com/mnzn2531@126/blog/static/1683330820101161510987/

folder:

cursors mouse gestures

Some icons are icons

MISC including some tools, such as crc, abnormal achieve, packaging processes, etc.

ScitillaComponent is an important folder, which contains a package of Scitilla control, I use mainly local Scitilla reference, but inside there are a lot of files

TinyXml Needless to say, because notepad ++ is used as xml configuration

tools include some access windows explorer tools

WinControls basically the notepad ++ in use to control encapsulates a times

 

The main flow of the code is notepad ++ framework of the folder in the rest. Winmain.cpp entry procedure, the procedure is frame based Notepad_plus, the main program window class is Notepad_plus_Window, comprising a main window class method implementation framework combinations, the pointer held within the framework of the main window.

 

Initialization of the main frame in NppBigSwitch.cpp

LRESULT Notepad_plus_Window :: runProc (HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam) function inside. The container is assigned Notepad_plus base of notepad ++ and controls all logic.

Class Diagram:

Reproduced in: https: //www.cnblogs.com/wang-can/p/3377797.html

Guess you like

Origin blog.csdn.net/weixin_34306593/article/details/94063632