Changeset [b3014bc5379b45a6f1531db86b191b07f398ef35] by Jocelyn Legault

December 5th, 2009 @ 07:14 PM

NppParameters: make it a true singleton.

  • The object is now created at the first request, and no longer as a global.
  • The destroyInstance() method is now static (as the getInstance() is).
  • Non-static data that was destroyed in the destroyInstance() method is now destroyed in the destructor.

[#26 state:needs_ack responsible:npp-community]

Signed-off-by: Jocelyn Legault jocelynlegault@gmail.com
http://github.com/joce/npp-community/commit/b3014bc5379b45a6f1531db...

Committed by Jocelyn Legault

  • M PowerEditor/src/Notepad_plus.cpp
  • M PowerEditor/src/Parameters.cpp
  • M PowerEditor/src/Parameters.h
  • M PowerEditor/src/winmain.cpp
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Notepad++ Community Release

Shared Ticket Bins