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: NppExec   Suggestion
      (SourceForge.net)
   2. [notepad-plus - Open Discussion] Feature  request: multiple
      files opening (SourceForge.net)
   3. [notepad-plus - Plugin Development] RE: A tiny    extension of
      NPPM_DOOPEN, please. (SourceForge.net)
   4. [notepad-plus - Help] Adding to langs.xml doens't work
      (SourceForge.net)
   5. [notepad-plus - Help] RE: Adding to langs.xml     doens't work
      (SourceForge.net)
   6. [notepad-plus - Help] RE: Only displaying 373     columns?
      (SourceForge.net)
   7. [notepad-plus - Open Discussion] RE: Feature      request:
      multiple files opening (SourceForge.net)
   8. [notepad-plus - Help] RE: TIP: Run external       command and keep
      shell (SourceForge.net)
   9. [notepad-plus - Help] RE: Command Line Launching (SourceForge.net)
  10. [notepad-plus - Plugin Development] How to        write a plugin?
      (SourceForge.net)
  11. [notepad-plus - Plugin Development] RE: How to    write a
      plugin? (SourceForge.net)


----------------------------------------------------------------------

Message: 1
Date: Mon, 20 Aug 2007 01:00:47 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        NppExec Suggestion
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=4473596
By: dv__

Thanks for httrack, maybe it's a tool I was for a long time looking for.
By the way, if somebody is interested in dictionaries, here is a perfect one:
http://stardict.sourceforge.net/ (recently ver. 3.0.0 has been released). It
has really a lot of additional dictionaries almost for all languages, works
very fast, and it's free! No more Lingvo, StarDict rulez! :-)
Returning to NppExec, NPP_SAVEALL is planned to be in the next version together
with a menu item "Auto save all before executing a script" (well, the name of
this menu item will be different :-)
Also I thought about TCL and I don't think it's a good idea to support it 
internally.
It's completely new language which is not easy to be used by beginners (such
as I am). If I should integrate some interpretter into the plugin, I prefer
Gentee which is very close to C++ and its basic functionality is provided by
dll-file with a size of just 150 kB (for version 2.5).
But I have an interesting idea when you talk about API functions. I could add
a new function in the plugin:
NPP_SENDMSG <message>, <wparam>, <lparam>
which can be used as a wrapper for SendMessage(hNppWnd, uMessage, wParam, 
lParam)
and, thus, give a possibility to execute Notepad++'s functions directly. For
example, implementation of 'NPP_SENDMSG WM_COMMAND, <wparam>, <lparam>' would
give us almost full control on Notepad++. But, as you can see, implementation
of such mechanism needs really a lot of time, because this command must be safe
and support both names of the messages (such as WM_COMMAND, WM_USER etc.) and
their codes (0x0111, 0x0400 etc.). So, if somebody wants to help me with
implementation of a parser for such command, I'll be very thankful ;-)
Internal parameters for NPP_SENDMSG command can be described as a structure:

typedef struct _NPP_SENDMSG_STRUCT {
unsigned int uMessageCode, // 0x0111, ...
const TCHAR* szMessageName, // _T("WM_COMMAND"), ...
unsigned int type_of_wParam, // enum EParamType
unsigned int type_of_lParam, // enum EParamType
} NPP_SENDMSG_STRUCT;

enum EParamType {
TYPE_UNKNOWN = 0, // type of parameter is unknown
TYPE_INT, // parameter is an integer, e.g. NPP_SENDMSG NPPM_ACTIVATEDOC, 1, 0
TYPE_STR, // parameter is a string, e.g. NPP_SENDMSG NPPM_SWITCHTOFILE,
0, "file.txt"
...
};

______________________________________________________________________
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



------------------------------

Message: 2
Date: Mon, 20 Aug 2007 01:50:52 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] Feature
        request: multiple files opening
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=4473644
By: nobody

It will great if I could launch Notepad++ from command line with wildcard in
the filename (p.e. notepad++ c:\*.log)

______________________________________________________________________
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=331753



------------------------------

Message: 3
Date: Mon, 20 Aug 2007 02:33:34 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE: A
        tiny    extension of NPPM_DOOPEN, please.
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=4473698
By: nobody

No problem, will fix 1. and 2. when I get home.

3. This is the identifier lookup function. The user can avoid it by not having
second view open. I can also add an option to disable it, so it won't be 
annoying
if user wants to have second view without this function. To go to an identifier
manually, the user would use SPACE (go to identifier function).

The identifiers are regenerated after every restart (when the dialog is first
opened), and when the user manually regenerates them. The ctags.tmp file is
created in the directory of the current file, and includes all found definitions
for this directory and all subdirectories. There are some limitations, though.
I'm still considering, how to solve the problem of subdirectory files.

Thanks for the upgrade. Will try it out as soon as I can.


______________________________________________________________________
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



------------------------------

Message: 4
Date: Mon, 20 Aug 2007 03:08:26 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] Adding to langs.xml
        doens't work
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=4473743
By: nobody

Hi,

i wanted to add a syntax highlight for "true" and "false" (php).

I added 

            <Keywords name="instre2">true</Keywords>
            <Keywords name="type1">false</Keywords>

to the langs.xml and removed "true" and "false" from the Keyword list named
instre1.

I added 

            <WordsStyle name="TRUE" styleID="128" fgColor="00FF00" 
bgColor="FEFCF5"
fontName="" fontStyle="1" fontSize="" keywordClass="instre2" />
            <WordsStyle name="FALSE" styleID="129" fgColor="FF0000" 
bgColor="FEFCF5"
fontName="" fontStyle="1" fontSize="" keywordClass="type1" />

to the stylers.xml 

Of course all in the part for the php language

So where's my mistake? It doesn't work...I changed the name, styleID, etc. but
hasn't got any effect.


greetings
Spoon


______________________________________________________________________
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=331754



------------------------------

Message: 5
Date: Mon, 20 Aug 2007 04:39:22 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Adding to
        langs.xml       doens't work
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=4473850
By: donho

See "Where are Notepad++ settings saved?" in
http://notepad-plus.wiki.sourceforge.net/FAQ

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=331754



------------------------------

Message: 6
Date: Mon, 20 Aug 2007 05:10:39 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Only displaying
        373     columns?
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=4473892
By: nobody

just did read this post to a coworker, his advice: buy a new keyboard where
the return key works :)

______________________________________________________________________
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=331754



------------------------------

Message: 7
Date: Mon, 20 Aug 2007 06:46:37 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
        Feature request: multiple files opening
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=4474035
By: clrs530

Couldn?t you read 5 threads under yours?

http://sourceforge.net/forum/forum.php?thread_id=1803715&forum_id=331753

______________________________________________________________________
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=331753



------------------------------

Message: 8
Date: Mon, 20 Aug 2007 06:56:48 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: TIP: Run
        external        command and keep shell
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=4474048
By: nobody

I improved this further so that I can run just this one script and it 
automatically
runs the correct tool based on the file extension of the file being edited.
This batch file is invoked in the same manner as above using the Run command:

$(NPP_DIRECTORY)\Execute.bat "$(FULL_CURRENT_PATH)"



Here is Execute.bat:

@echo off
REM A batch file for executing a command on the file currently being edited.
if /i %~x1 == .hhp goto HtmlHelpProject
if /i %~x1 == .py goto Python
goto NoMatch

:HtmlHelpProject
echo Executing tool associated with Html Help project.
"c:\program files\html help workshop\hhc.exe" %1
goto End

:Python
echo Executing tool associated with Python script.
"c:\program files\python24\python.exe" -m %~n1
goto End

:NoMatch
echo The current file has no execute tool associated with it.
goto End

:End

pause


______________________________________________________________________
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=331754



------------------------------

Message: 9
Date: Mon, 20 Aug 2007 08:59:42 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Command Line
        Launching
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=4474256
By: nobody

I noticed this right away since I'm always using the original notepad from any
directory.  Notepad++ seems to have a real problemw with what I would presume
to be the default method of opening a file.  But I did figure out how to open
any file from the command line:

Notepad++ ".\filename.txt"

The .\ tells Notepad++ to use the current directory.
The quotes are needed in case the current directory has any spaces in it.

So, for example, if the current directory is c:\program files, and want to open
test.txt, then:

Notepad++ ".\test.txt" is interpreted by Notepad++ as:

Notepad++ "c:\program files\test.txt"

which is knows what to do with.


______________________________________________________________________
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=331754



------------------------------

Message: 10
Date: Mon, 20 Aug 2007 09:23:16 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] How
        to      write a plugin?
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=4474303
By: kzarse

Hi,

I have probably overlooked the according thread(s) ... is there any "How To"
page or documentation which briefly describes hiw you can write N++ plugins?
I mean, there must at least be a kind of interface spec or something.

And is it possible to use VB to create a plugin DLL? Shouldn?t be an issue,
is it?

Thanks for any helpful links / infos in advance - I don?t plan to blow this
thread with "thank you" postings for every single answer ;)

Best regards,
Kristian

______________________________________________________________________
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



------------------------------

Message: 11
Date: Mon, 20 Aug 2007 09:49:06 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        How to  write a plugin?
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=4474350
By: ccigi

Hello Kristian,

I asked a similar question here:
https://sourceforge.net/forum/forum.php?thread_id=1798333&forum_id=482781. 
I haven't received an answer yet, but I found a plugin HOWTO here:
http://notepad-plus.sourceforge.net/uk/plugins-HOWTO.php.  I have been 
programming
in C++ for quite a while, but I've never written a DLL and wanted to create
a Notepad++ plugin to help me learn to write DLLs.  It looks like I will just
have to learn the ins and outs of Notepad++ before I am able to do that.  It
would be nice if there was better documentation for the plugin framework.

ccigi

______________________________________________________________________
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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

------------------------------

_______________________________________________
Notepad-plus-plus mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/notepad-plus-plus


End of Notepad-plus-plus Digest, Vol 15, Issue 50
*************************************************

Reply via email to