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 - Open Discussion] Add try-catch    to PHP
      (SourceForge.net)
   2. [notepad-plus - Open Discussion] RE: Remove       Marked lines
      (SourceForge.net)
   3. [notepad-plus - Plugin Development] RE: How to    write a
      plugin? (SourceForge.net)
   4. [notepad-plus - Open Discussion] TAB vs. Space    Indentation
      (SourceForge.net)
   5. [notepad-plus - Plugin Development] RE: html      tag highlighting
      - just like bracket (SourceForge.net)
   6. [notepad-plus - Help] RE: Highlighting is broken??
      (SourceForge.net)


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

Message: 1
Date: Wed, 22 Aug 2007 08:09:45 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] Add
        try-catch       to PHP
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=4478599
By: nobody

Looking at PHP documentation, it says PHP does indeed have try and catch 
exception
handling.  Please put this in the lang.xml file in the next update for everyone
to enjoy, thanks.

______________________________________________________________________
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: 2
Date: Wed, 22 Aug 2007 08:16:42 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
        Remove  Marked lines
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=4478615
By: nobody

I wrote my own plug-in to do the following

Remove Marked Lines
Remove everything but marked lines

Show Marked Lines
Show everything but marked lines

I can post source and/or executables.

How do I post it?

John Starkie

______________________________________________________________________
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: Wed, 22 Aug 2007 08:30:51 -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=4478647
By: nobody

I wrote the Delphi plug-in template.  Here's an example of a plug-in

This hides all unmarked lines.  All you do is add this to the template in place
of the existing MyProc1.  The code is more or less identical to the C examples
that are given on the Notepad++ website.  You'll need the Scintilla 
documentation,
specifically scintilla.iface.  This tells you what the SCI_xx commands do.

procedure MyProc1; cdecl;
var
   currentEdit : integer;
   LineCount : integer;
   LineNo : integer;
   Mask : integer;
   LastMarker : integer;
begin
   SendMessage(LocalNppData._nppHandle, WM_GETCURRENTSCINTILLA, 0,
integer(@currentEdit));
   LineCount := SendMessage(getCurrentHScintilla(currentEdit), SCI_GetLineCount,
0, 0);
   LastMarker := 0;
   for LineNo := 0 to LineCount - 1 do begin
      Mask:= SendMessage(getCurrentHScintilla(currentEdit), SCI_MarkerGet, 
LineNo,
0);
      if Mask <> 0 then begin
         if LastMarker <= LineNo-1 then begin
            SendMessage(getCurrentHScintilla(currentEdit), SCI_HideLines, 
LastMarker,
LineNo-1);
         end;
         LastMarker := LineNo+1;        // Start hiding from LineNo+1
      end;
   end;
   //
   // Hide from the last marked line up to the end (providing there's something
to hide)
   //
   if LastMarker <= LineCount-1 then begin
      SendMessage(getCurrentHScintilla(currentEdit), SCI_HideLines, LastMarker,
LineCount-1);
   end;
end;

______________________________________________________________________
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: Wed, 22 Aug 2007 08:31:39 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] TAB vs.
        Space   Indentation
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=4478649
By: nobody

I wish there was an option to keep TAB vs. Space indentation in the file I'm
editing, rather than a single setting for TABS for all files. When working with
Python source from different sources it is a pain to have to keep fixing 
auto-indent
blocks, etc.

______________________________________________________________________
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: 5
Date: Wed, 22 Aug 2007 09:14:24 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        html    tag highlighting - just like bracket
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=4478739
By: nobody

This is really great! Thanks for all your work on this. Is a custom tag list
being considered? For example, asp has a lot of if... end if nests and I would
like to find missing start or end 'tags'. Currently, I don't have access to
your plugin's tag list. I would like to be able to add tag pairs to the list.
It's very helpful anyways, even if this feature is not in the cards!

______________________________________________________________________
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: 6
Date: Wed, 22 Aug 2007 09:17:22 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Highlighting is
        broken??
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=4478747
By: nobody

That was it!  Thanks so much.  Now I'm back in business.

______________________________________________________________________
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



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

-------------------------------------------------------------------------
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 55
*************************************************

Reply via email to