Send Notepad-plus-plus mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/notepad-plus-plus
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Notepad-plus-plus digest..."
Today's Topics:
1. [notepad-plus - Plugin Development] RE: plugin location
(SourceForge.net)
----------------------------------------------------------------------
Message: 1
Date: Sat, 12 May 2007 06:23:33 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
plugin location
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="UTF-8"
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4308947
By: donho
> However, if it is not present, I'm saving the settings directly
in "%APPDATA%\Notepad++\"
> and not in "%APPDATA%\Notepad++\plugins\Config\"
You can create the folder if the folder is not present.
> I had the impression that all other plugin were doing that.
Yes, indeed.
But the cleaner way is to save at least in %APPDATA%\Notepad++\plugins\ folder.
> If the "doLocalConf.xml" exists,
> all the plugins must be in the program folder for portability.
> If the "doLocalConf.xml" does not exist,
> I was actually suggesting to still load core plugins installed in
"Notepad++\plugins\"
> but also add plugins in "%APPDATA%\Notepad++\plugins\"
> so that everybody may have a basic set of plugin and then each user may add
his own stuff.
That's exactly what I've done in v4.1.1
> It would also be nice to have NPPM
> to get the plugin folder and plugin config folder
> so to have a more reliable way
> to manage that in case there will be changes in the future.
> It would be much more clean.
Good suggestion! This message will be available in v4.1.1 as well :
void NPPM_GETPLUGINSCONFIGDIR(int strLen, char *str)
> Settings to carry from one session to another should be saved in file
> only when NPP exist or immediately upon changing the setting?
> Both have advantages and disadvantages... what is the policy?
Personally, I keep all the settings in memory, then I write once before
exiting.
But it'll be your call since Notepad++ has no way to impose this constrainte
to its pluins.
Don
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
------------------------------
_______________________________________________
Notepad-plus-plus mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/notepad-plus-plus
End of Notepad-plus-plus Digest, Vol 12, Issue 37
*************************************************