Changeset [1d0b3e3a83888453809842d2a4ac88fc904186db] by Jocelyn Legault

December 4th, 2009 @ 09:58 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 are 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/1d0b3e3a83888453809842d...

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