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 - Plugin Development] RE: Need      input on the
      future of Simple Script (SourceForge.net)
   2. [notepad-plus - Plugin Development] RE: Need      input on the
      future of Simple Script (SourceForge.net)
   3. [notepad-plus - Help] User Defined Language -     Hex numbers
      (SourceForge.net)
   4. [notepad-plus - Open Discussion] RE: feature      request -
      clipboard/code snippets (SourceForge.net)
   5. [notepad-plus - Open Discussion] RE: Is support   for unicode
      filename in the pl (SourceForge.net)
   6. [notepad-plus - Open Discussion] RE: Macro (SourceForge.net)
   7. [notepad-plus - Plugin Development] RE: Plugin    vs. External
      Binary Dialogue... (SourceForge.net)
   8. [notepad-plus - Open Discussion] RE: NEW ICON     MUST
      BE!!!!!!!!!!!! (SourceForge.net)
   9. [notepad-plus - Help] Can't Expand/Collapse for   PL/SQL
      (SourceForge.net)
  10. [notepad-plus - Help] RE: Opening multiple        session
      (SourceForge.net)
  11. [notepad-plus - Help] RE: User Defined Language   - Hex numbers
      (SourceForge.net)


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

Message: 1
Date: Thu, 10 Jan 2008 07:17:20 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        Need    input on the future of Simple Script
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=4714156
By: fidvo

Okay, I think I've mostly figured out how I want to implement templates.

Because I want to keep to the original goal of a scripting plugin, templates
will still be stored as scripts.  However, there's nothing wrong with including
an interface to automatically generate the script from a document.  I can do
this all behind the scenes, but still provide an interface to edit the script
itself.

For instance, I could have a "Templates" tab on the Script Writer window that
stores all of the templates.  To add a new one, you create your template in
Notepad++ then click a button on the Templates tab, which basically runs a 
script
that does some processing on each line of the text, including wrapping it in
an "add" function, but instead of putting the result back out to the document,
it stores the result internally as a script on the Templates tab.  You can then
run this particular script by double-clicking on it.

There would also be a way to design scripts by hand and add them as a template.

Any script stored as a template would automatically open a new document before
running it.

There would be something similar for code snippets, although this is a little
trickier because there are actually two pieces of text that need to be stored
(beginning and ending tags), so you can't just design them in Notepad++.  I'll
have to think about this a little more.

Code snippets, though still technically scripts, would replace the selection
if there is text selected or insert at the cursor position if there isn't.

In summary, there would be three different ways scripts could run:

1) Standard.  Replaces the entire document if no text is selected.

2) Template.  Always opens a new document.

3) Code Snippet.  Inserts if no text is selected.

I could provide options to run any of the three types of scripts as any of the
others, e.g. open a new document when you double-click on a code snippet.

What do you think of this 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: 2
Date: Thu, 10 Jan 2008 07:39:53 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        Need    input on the future of Simple Script
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=4714204
By: fidvo

> My suggestion in here is to have the templates linked to the supported 
> languages
some how

I'm planning to eventually allow you to categorize your favorite scripts, and
I'm considering allowing you to group scripts by language and have them only
available for certain languages.  There's no reason I couldn't do the same with
templates.

> if you can default the new document language to the template language, that
would be great.

I'll keep this in mind when I get to that point.

>  MyString = "Hello, World."

I agree that it would be nicer to do it that way, but introducing the concept
of operators in Simple Script would require a major rewrite.

> * Avoid puting a variable in the get functions, so instead
of getwordcount("WordCount") use setint("WordCount",getwordcount()) this will
make it more stander

Nested functions aren't planned until I start working on a more robust scripting
language, which may be a different plugin entirely.

However, I came up with a great idea last night.  I could add auto-updating,
read-only variables.  For example, Wordcount could be a variable that each time
you read it, runs a function to count the number of words in the document. 
For performance reasons, I would recommend storing it as a regular variable
if you need to use it more than once, so that you don't have to keep calling
it.  i.e. setint("Mywordcount","Wordcount")

> also, you need to provide a way to convert strings to numbers

Your method uses nested functions again, but there's no reason I couldn't have
a function that takes a string value and stores it in an integer variable. 
For example:

StrToInt("MyIntVariable","StringToBeConverted")

(Of course, the name of the function is still open for debate)

Since StringToBeConverted could itself be a variable, this should handle the
conversion fine.

> if("BiggerOrEqual",myInt,5)

I hadn't thought of using an operator as a parameter to a function.  That's
an interesting idea.

I had a different idea about If statements that I was planning to do when I
create a more robust scripting language in the future, but now I'll have to
go back and re-think it.

Thanks for your suggestions.


______________________________________________________________________
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: Thu, 10 Jan 2008 07:54:16 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] User Defined
        Language -      Hex 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=4714235
By: sashabu

Hi
What should I do for highlighting (as NUMBERS) of hexadecimal numbers (like
this: 0xffff), or binary numbers (0b11001010, B#11001010), or another forms
of numbers? I use different assemblers for microcontroller/microprocessor
programming, and each assembler has it's own number's format.
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: 4
Date: Thu, 10 Jan 2008 09:19:09 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
        feature request - clipboard/code snippets
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=4714402
By: nobody

Thanks Fidvo, for responding to my questions. You have shed some light on my
understanding of Simple Script. I see (by your suggestions) that I'll have to
learn a little about HTML code in order to do some things I wanted to do (as
I said... I'm not a programmer). I suppose I need to ask the programmer 
responsible
for Macro Recording about a Find operation.

______________________________________________________________________
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: Thu, 10 Jan 2008 09:27:42 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: Is
        support for unicode filename in the pl
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=4714423
By: nobody

No matter how powerful/useful a software is, if it can't open a file it's 
useless
to the user. In this case it's a common problem face by most of the open source
software eg. the popular firefox which can't open a HTML with unicoded filename.
It's a shame as people in South East Asia are using unicode for filename.

______________________________________________________________________
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: 6
Date: Thu, 10 Jan 2008 09:45:52 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
        Macro
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=4714454
By: nobody

My understanding of what he was looking for was NOT between lines, but instead,
between characters within a line. From his description, he probably needs for
the Macro Recording feature to use the FIND dialog. I am also interested in
being able to do this. I have seen several notes on this forum about using the
FIND with Macro Recording. None indicated success.

______________________________________________________________________
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: Thu, 10 Jan 2008 09:56:38 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        Plugin  vs. External Binary Dialogue...
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=4714478
By: donho

What you need is a plugin which can do several tasks sequentially, and push
the results of each executed task as the value of environment variable for next
execution, right?

You can use batch file to get the returned value or detect the generated file
in order to form the environment variable, then calling your executable file.

Use the existing plugin NppExec to execute several batch files. I believe 
NppExec
can do it well.

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



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

Message: 8
Date: Thu, 10 Jan 2008 10:07:19 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: NEW
        ICON    MUST BE!!!!!!!!!!!!
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=4714496
By: nobody

What are you talking about. I'm using Win XP and have zero problem with the
icon. Yes it's a little pixelated, but very easy to live with. As suggested
above, if you don't like it present options.

______________________________________________________________________
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: Thu, 10 Jan 2008 10:19:35 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] Can't
        Expand/Collapse for     PL/SQL
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=4714514
By: nobody

Hello to all partners.

I started to used Notepad++ and I found really good for edit any script. I see
that with SQL scripts it supports, by menu, the Collapse Level option, but there
is no button for Expand/Collapse in the "gray left column" like other languages
like VBS.
Is there any possibility to configure Notepad++ to show this column with
Expand/Collapse buttons ([+][-]) for any language you want? If the answer is
yes, can you explain how I can't get this functionallity?

Thank you very much.

______________________________________________________________________
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: Thu, 10 Jan 2008 10:42:24 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Opening
        multiple        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=4714550
By: nobody

there are many ways to do so:

1. shortcut in 'send to' menu:
http://sourceforge.net/forum/forum.php?thread_id=1859159&forum_id=331753

2. shortcut anywhere you want with -multiInst

3. Run - Run choose "notepad++.exe -multiInst" and save

______________________________________________________________________
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: 11
Date: Thu, 10 Jan 2008 10:49:46 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: User Defined
        Language        - Hex 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=4714559
By: nobody

You saw the HowTo on Notepad++ Homepage?
http://notepad-plus.sourceforge.net/uk/UserLanguageDefineSystem-HOWTO.php

http://sourceforge.net/forum/forum.php?thread_id=1908661&forum_id=331754

______________________________________________________________________
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



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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

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

_______________________________________________
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 20, Issue 49
*************************************************

Reply via email to