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: Is   Notepad++ just for
      programmers? (SourceForge.net)
   2. [notepad-plus - Open Discussion] Small bug        regarding multi
      view (SourceForge.net)
   3. [notepad-plus - Plugin Development] RE: Simple    Script 1.07
      released - dockable (SourceForge.net)
   4. [notepad-plus - Open Discussion] RE: Tab  caption issue
      (SourceForge.net)
   5. [notepad-plus - Plugin Development] RE: Simple    Script 1.07
      released - dockable (SourceForge.net)
   6. [notepad-plus - Plugin Development] RE: Simple    Script 1.07
      released - dockable (SourceForge.net)
   7. [notepad-plus - Plugin Development] RE: Simple    Script 1.07
      released - dockable (SourceForge.net)
   8. [notepad-plus - Plugin Development] RE: Simple    Script 1.07
      released - dockable (SourceForge.net)
   9. [notepad-plus - Plugin Development] RE: Simple    Script 1.07
      released - dockable (SourceForge.net)
  10. [notepad-plus - Plugin Development] RE: Simple    Script 1.07
      released - dockable (SourceForge.net)


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

Message: 1
Date: Fri, 28 Dec 2007 08:43:37 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: Is
        Notepad++ just for programmers?
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=4693422
By: fidvo

Let me give you an example of using Notepad++ for non-programming tasks.

While I'm technically a programmer, I'm also an amateur novelist.  I've used
various word processors over the years, but lately I've been using Notepad++
to write my books.  The reason is that you just can't beat plain text for 
portability
and convertability.  RTF, DOC, and ODT all have their strong points, but it's
hard to convert them to anything else without special tools, and if you're stuck
on a computer that doesn't have the right word processor, you're out of luck.
Now I write everything in plain text with minimal markup (the occasional <b>,
<i>, <h1>, <h2> etc. tags).  While I could use Notepad to edit these files if
it's all that's available, I prefer Notepad++ because I got used to it
for programming.  After I figured out how to set up a couple of macros to help
me wrap the selected text in these tags, Notepad++ makes a great word processor,
though admittedly not WYSIWYG.

I wrote the Simple Script plugin partly to be able to convert my books to 
various
formats - HTML, Rich Text, Plain Text.  The only format I can't convert to that
way is PDF, and I wrote a Python script using Report Lab to do that.  That 
script
requires an HTML file formatted a certain way, and I use Simple Script
to automatically do the proper formatting for me.

In short, with the proper macros, plugins, and scripts, Notepad++ can be used
for word processing and not just programming, though I'll be the first to admit
I'm anything but typical.


______________________________________________________________________
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: Fri, 28 Dec 2007 10:15:43 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] Small
        bug     regarding multi view
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=4693539
By: jackrnl

I think i noticed a small bug with multi-view

I had 3 large files open (tabbed) in ONE view not being maximized.
I cloned the view of one of them and I had a multiview.
After that I maximized notepad.
If I goto (Ctrl-G) line 125000 in the right pane I can NOT see the '1' of the
linenumber. I the left pane I CAN see the linenumbers.

The file i'm watching contains over 260000 lines (each about 30 characters)

OK, not a big bug I agree

______________________________________________________________________
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: Fri, 28 Dec 2007 12:16:31 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        Simple  Script 1.07 released - dockable
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=4693670
By: nobody

1) The Plug-In just seems to hang when I return from another application. 
 
> Could you list the exact steps that you perform when you get this error? I
haven't been
> able to duplicate this error.

No special steps needed. I just open the Script Writer, undock it, leave N++
and return. Performing any action inside the Script Writer made it hang.


2) I think the Simple Script submenu option could have a better name than the
same as the Plug-In menu item itself.
 
> I named it this because I want it to be the most obvious choice on the menu,
since it
> will be the one you use most. I used to call it "Run Script" for the same
reason. I'm
> willing to consider other possibilities if you have any suggestions.
> (As the other poster suggested, "Script Writer" has potential, but I don't
think it's
> quite as obvious)

I believe he suggested "Script Composer" with some comment on the word
Writer...


3) When I hit the Run button on an empty script, this results in the current
document getting a "changed" status, while in fact nothing has changed.
 
> but since the programming to make sure the script isn't empty before running
it is
> simple enough, I'll go ahead and fix it.

Will you consider scripts containing only empty lines?


4) It's not very informative to get some error message on Validate Script on
Clipboard (I suggest: in/from Clipboard) when the Script Writer is not visible.
 
> If you can explain how you might get a script onto the clipboard without 
> having
that
> script available to view somewhere else, I'll consider displaying it
somewhere.
 
> That gives me another idea: Maybe I'll add a Validate Script in Document 
> option.
I won't
> include a Run Script in Document, because that would run the script on
itself.

Well, not necessarily will the script still be available somewhere. If it was
copied "some time before" and now results in an error... What would a user (have
to) do? Paste it in a document or in the Script Writer anyway, to be able to
check it.

It think it would be most transparent to run scripts only from the visible 
Script
Writer editor pane. Isn't that were the favourites or loaded scripts end up
as well? I think you may agree that running a script from the Clipboard at some
time may result in unexpected behavior or errors.

What would the added value of the Validate Script in Document option be? I think
it's the same way around the same "problem". If you want to run the script,
you have to copy it to the clipboard and possibly paste it in the Script Writer
anyway...


______________________________________________________________________
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: Fri, 28 Dec 2007 12:21:59 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: Tab
        caption issue
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=4693675
By: nobody

Windows controls are supposed to work this way... Perhaps N++ should work around
this. This has been reported before, I believe.


______________________________________________________________________
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: Fri, 28 Dec 2007 12:25:31 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        Simple  Script 1.07 released - dockable
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=4693677
By: fidvo

I made a quick change to the plugin to fix an obvious bug that I didn't catch
until after uploading version 1.07.  Now if you undock the Script Writer and
then select Simple Script from the menu again, it doesn't leave a "shadow" form
behind.  (If you want to see what I mean, try it in version 1.07)

While it didn't really hurt anything, it was pretty ugly.

If you already downloaded version 1.07, I highly recommend that you download
version 1.08 right away.


______________________________________________________________________
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: Fri, 28 Dec 2007 12:42:54 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        Simple  Script 1.07 released - dockable
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=4693696
By: fidvo

1) No special steps needed. I just open the Script Writer, undock it, leave
N++ and return. Performing any action inside the Script Writer made it hang.

I still couldn't get the problem to happen.  Try downloading version 1.08 and
see if it fixes it.  If not, let me know and I'll look into it some more.

2) I believe he suggested "Script Composer" with some comment on the word
Writer...

I'm still considering it.  I'm really not satisfied with any of the choices;
they all have drawbacks.  The truth is that I'm kind of hoping to have a sudden
stroke of genius and come up with the perfect label for the menu option.

3) Will you consider scripts containing only empty lines?

I think eventually I'll make it so that it ignores scripts that (a) have no
lines, (b) have only blank lines, or (c) have only comments on the lines that
aren't blank.  That takes a little more programming, but it should be doable.

4) It think it would be most transparent to run scripts only from the visible
Script Writer editor pane.

I already paste the clipboard contents into the Script Writer window with "Run
>From Clipboard."  Maybe I should do the same with "Validate Script on 
>Clipboard."
I only spent about 30 seconds thinking about it because I had to hurry to get
it finished, so it's not that I'm absolutely stuck on doing it one way.  I'll
have to put some more thought into it and decide whether to keep it as it is
or to change it.

4b) What would the added value of the Validate Script in Document option be?

Just to save a couple of extra steps while you're designing a script.  The 
Script
Writer window is fine for writing short scripts, but I usually write longer
ones in Notepad++ itself, especially since I occasionally use Simple Script
to help me write scripts (try to wrap your mind around that).  It would be nice
to have a menu option to validate them while in the editor so I know they at
least don't have any syntax errors before copying them into the Script Writer
to run them.  It's really just for convenience.


______________________________________________________________________
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: 7
Date: Fri, 28 Dec 2007 12:58:02 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        Simple  Script 1.07 released - dockable
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=4693707
By: nobody

Perhaps you could create a new thread for the message above, about version
1.08.

I just downloaded it, ran N++, opened the Script Writer, undocked it...
and N++ stopped functioning alltogether.


______________________________________________________________________
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: Fri, 28 Dec 2007 13:32:23 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        Simple  Script 1.07 released - dockable
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=4693751
By: nobody

I would like to suggest to enter the fully typed variant of your sourceforge.net
email address in the About box of the Simple Script Plug-In.
This would be consistent with the address listed on your Developer Profile on
sourceforge.net.
That's why the About box got me confused.

I really wonder which of the two addresses I would see in a reply to the email
I tried to send... I guess this would have been the extended version, too.

But since my mail is rejected, I wonder... What's the use of mentioning the
email address anyway?


______________________________________________________________________
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: 9
Date: Fri, 28 Dec 2007 13:32:48 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        Simple  Script 1.07 released - dockable
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=4693752
By: fidvo

I finally got the problem to happen.  Apparently, if you click on any of the
buttons when the form is undocked, it locks up Notepad++.  It doesn't happen
if the form is docked, which is strange.  And it doesn't matter what the button
does; I created a button that did nothing at all, and it still locked it up.

It happens in version 1.08 too, so until I can figure out what's going on, leave
the Script Writer window docked.


______________________________________________________________________
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: Fri, 28 Dec 2007 13:43:48 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        Simple  Script 1.07 released - dockable
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=4693766
By: nobody

2) I believe he suggested "Script Composer" with some comment on the word 
Writer...
 
> I'm still considering it. I'm really not satisfied with any of the choices;
they all
> have drawbacks. The truth is that I'm kind of hoping to have a sudden stroke
of genius
> and come up with the perfect label for the menu option.

Perhaps "Script Engine (Dialog)..." would be a good choice. I suggest adding
the dots, indicating that a (docked) form will show.


3) Will you consider scripts containing only empty lines? 
 
> I think eventually I'll make it so that it ignores scripts that (a) have no
lines,
> (b) have only blank lines, or (c) have only comments on the lines that aren't
blank.
> That takes a little more programming, but it should be doable.

Alternatively, you could check if any real action is performed during execution
and only then decide to paste back the changed contents afterwards.

4) It think it would be most transparent to run scripts only from the visible
Script Writer editor pane.
4b) What would the added value of the Validate Script in Document option be? 
 
I would suggest to add some uniform behavior which would simply copy the 
selection
(or the complete document) into the Script Writer's editor pane and show the
Script Writer, both for Running and Validating.
If the Clipboard's contents are assumed to be visible somewhere anyhow, you
would also skip the step requiring the user to copy these lines manually.

Perhaps some kind of a window list would be an outcome, allowing you to select
a window to perform the current document's script (or selection) to, or allowing
you to select the script to perform on the current document('s selection).


______________________________________________________________________
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: 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 19, Issue 75
*************************************************

Reply via email to