Send Notepad-plus-plus mailing list submissions to
        notepad-plus-plus@lists.sourceforge.net

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] RE: "Load        Session..." not
      working in version (SourceForge.net)
   2. [notepad-plus - Plugin Development] RE: Simple    scripting
      plugin in development (SourceForge.net)
   3. [notepad-plus - Plugin Development] RE: Simple    scripting
      plugin in development (SourceForge.net)
   4. [notepad-plus - Help] UserLanguage Setup -        Numbers
      (SourceForge.net)
   5. [notepad-plus - Help] RE: how to remove toolbar   items
      (SourceForge.net)
   6. [notepad-plus - Open Discussion] RE: Default      black background
      style (SourceForge.net)
   7. [notepad-plus - Plugin Development] Open Tabs     in a Dockable
      Window plugin (SourceForge.net)
   8. [notepad-plus - Open Discussion] RE: How to: 1    ^
      start-of-line per line in reg (SourceForge.net)
   9. [notepad-plus - Plugin Development] RE: Simple    scripting
      plugin in development (SourceForge.net)
  10. [notepad-plus - Plugin Development] RE: Simple    scripting
      plugin in development (SourceForge.net)
  11. [notepad-plus - Plugin Development] RE: Simple    scripting
      plugin in development (SourceForge.net)
  12. [notepad-plus - Help] RE: Can't load NPP 4.3      session
      (SourceForge.net)


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

Message: 1
Date: Tue, 20 Nov 2007 09:09:09 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
        "Load   Session..." not working in version
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=4634029
By: donho

I confirm that.

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



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

Message: 2
Date: Tue, 20 Nov 2007 09:18:34 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        Simple  scripting plugin in development
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=4634050
By: hkubba

Yes, This would be a good implementation, so this would be what i need in 
setSpaces,
and thinking about it again may be we can generalize the functionality
to setChars(char,Min,Max,threshold), so for an example if a java programmer
wants to be sure he/she don't have 2 or more semi commas, for example:

if (appData == null){
   return false;;
}

you can say setChars(';',0,1,2)

so for simplicity you might have 3 function: setBlanks,setSpaces and setChars
you can use setChars to do the functionality of the first 2, but they are there
if you don't know how to do that

Regarding your question about where to use copytoClipBoard, say you have an
SQL file which contain many amny active and remarked lines, something like:

insert into ROLE(ROLE_ID,NAME) values(0001,'Administrator');
--insert into ROLE(ROLE_ID,NAME) values(0002,'Power User');
--insert into ROLE(ROLE_ID,NAME) values(0003,'Manager');
insert into ROLE(ROLE_ID,NAME) values(0004,'Commercial User'); 

and you want to copy only the active lines to run them, what i do know is 
* copy '--' to clipboard
* hide lines using tidyfx vis 
* select all
* copy visible selection (using Tidy also)
* paste in new text documnet
* copy all the text again
* replace text in the old document 

all those steps can be simply done by selecting all lines and choosing:
cutToClipBordWhenContain('--')


______________________________________________________________________
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: 3
Date: Tue, 20 Nov 2007 09:54:09 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        Simple  scripting plugin in development
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=4634103
By: nobody

Rather than try to put linestart and lineend in so many commands, why not put
in a select line(s) command that all subsequent commands will work on. You don't
need a deselect if you just make "0", the deselect. The commands would look
as follows:

select(line start,line end)
selectc(line start,line count)

Then, all subsequent commands, including sort and uppercase and so on would
act only on the selected lines. It would also free up the syntax of the other
commands so that you would need fewer commands.

______________________________________________________________________
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: Tue, 20 Nov 2007 10:44:56 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] UserLanguage Setup
        -       Numbers
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=4634180
By: nobody

Dear Sirs! What shall I do to explain to highlighting system of the Notepad++
that 0xffff and 0b001010 and b#1100010 (and so on) - all are NUMBERS?
Thank you.
SashaBu

______________________________________________________________________
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: Tue, 20 Nov 2007 10:55:35 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: how to remove
        toolbar items
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=4634192
By: nobody

> 3) I never said or implied that this is silly or stupid (or whatever).

Let me be the one, then. I think your (the original requester) behavior is very
childish. Go play outside, instead of using a computer that has too many 
features
for you.


______________________________________________________________________
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: Tue, 20 Nov 2007 11:20:56 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
        Default black background style
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=4634251
By: bighairytroll

How about a small plugin that would allow selecting between a few user-defined
setups?


______________________________________________________________________
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: 7
Date: Tue, 20 Nov 2007 11:22:19 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] Open
        Tabs    in a Dockable Window 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=4634254
By: nobody

Just wondering if it would be possible to create a plugin that's a dockable
window containing the current open tabs.  What's more, it would be nice to 
disable
the default horizontal tabs display if this dock tabs could be feasable.

This feature is nice because it complements the functions dock on the other
side, with plenty of room in between (trying to keep code to 80 char lines).

Also, could not compile on windows with mingw32, seems some include files were
not present in mingw, a bit vague, but anyone able to compile version 4.5 with
mingw32?

______________________________________________________________________
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: 8
Date: Tue, 20 Nov 2007 11:44:04 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: How
        to: 1   ^ start-of-line per line in reg
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=4634290
By: bighairytroll

Yep - agree on that. ROFLMAO

______________________________________________________________________
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: 9
Date: Tue, 20 Nov 2007 11:47:12 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        Simple  scripting plugin in development
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=4634293
By: fidvo

I see.  In your CopyIfContain function, you were talking about checking on a
per-line basis.  That actually makes quite a bit of sense.  I was under the
mistaken impression that you meant that it only checked once for the entire
selected text.

I may not get it in for the 1.0 version, but it's definitely on the list for
the next version.  When you first mentioned the clipboard, that started me 
thinking
about what other clipboard functions I could implement, so I've got about a
dozen of them planned now.

On the SetChars, your description also makes sense.  Basically it would force
all sequences of a particular character to be one of exactly two potential 
lengths.
I like it.  Again, probably not in the 1.0 version, but I'll keep it in mind.


______________________________________________________________________
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: 10
Date: Tue, 20 Nov 2007 11:50:21 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        Simple  scripting plugin in development
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=4634297
By: fidvo

That's an intriguing idea.  Right now I have no place to store any settings
between lines of the script, so it probably won't go into the 1.0 version 
because
I would have to rewrite a significant portion of the plugin to get it to work.
Right now I'm just waiting to hear back from Jens to see if I can get this 
listed
on the Notepad++ Plugins Project, so there's no time to do any major changes.
Right now I'm just testing, not implementing any new features.

Once we start down that road, it opens up all kinds of interesting 
possibilities.
A lot of the script functions (and now I've got almost 50 completed with a 
couple
dozen more planned) use similar parameters.  It would be nice to store these
parameters and not have to set them in each function call.  Things like:

Line start
Line end
Case-sensitive matching and sorting (on or off)
Pad character
Delimiter
Line format (Windows, Unix, Mac)

It also sounds like your idea would be better implemented by actually storing
a subset of lines to work on which would then be passed back into the working
text, which would then be passed back into the open Notepad++ document.

It of course brings up some questions as well.  Nothing that can't be resolved,
but I'll have to put some thought into them.  For example:

How should you set up the parameters?
How persistent should they be? (Reset between scripts, remain until you close
Notepad++, or even remember them from previous sessions)
How should the script handle defaults? (i.e. if the parameters haven't been
set already)
How do you tell a function whether to use the pre-defined parameters as opposed
to setting them in the function call?
How do you tell a function to work only on the selected subset and not the whole
text?
Since this would allow me to reduce the number of functions, how important is
backward-compatibility? (e.g. Should I leave in the sortcase function?)

Those are just the ones I thought up off the top of my head.  I'll have to think
about this some more to see if I can work it into a later version.

Thanks for the idea!


______________________________________________________________________
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: Tue, 20 Nov 2007 12:43:15 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        Simple  scripting plugin in development
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=4634544
By: nobody

How about replace_characters(begin, end) on a line, all through the file, though
not necessarily unform in characters but in position. Take a look at Better
File Rename as it has many options that would be nice in notepad++

______________________________________________________________________
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: 12
Date: Tue, 20 Nov 2007 14:18:11 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Can't load NPP
        4.3     session
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=4634685
By: voyagerfan5761

Bump. Did something change in the session handling code or saving format?

______________________________________________________________________
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

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

_______________________________________________
Notepad-plus-plus mailing list
Notepad-plus-plus@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/notepad-plus-plus


End of Notepad-plus-plus Digest, Vol 18, Issue 58
*************************************************

Reply via email to