Changeset [6b811a74301ed0b751481ea717f455a4855ce51e] by Jocelyn Legault

December 4th, 2009 @ 10:00 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/6b811a74301ed0b751481ea...

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