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
        notepad-plus-plus-requ...@lists.sourceforge.net

You can reach the person managing the list at
        notepad-plus-plus-ow...@lists.sourceforge.net

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] Regex regular    expression
      multiple lines trick (SourceForge.net)
   2. [notepad-plus - Open Discussion] RE: Regex        regular expression
      multiple lines trick (SourceForge.net)
   3. [notepad-plus - Open Discussion] RE: Add new      options into
      Find Dialog !!! (SourceForge.net)
   4. [notepad-plus - Open Discussion] Where to upload DUMP files?
      (SourceForge.net)
   5. [notepad-plus - Open Discussion] RE: (2) Add      new options into
      Find Dialog !!! (SourceForge.net)
   6. [notepad-plus - Open Discussion] User Defined     Language
      (SourceForge.net)
   7. [notepad-plus - Open Discussion] RE: User Defined Language
      (SourceForge.net)
   8. [notepad-plus - Open Discussion] RE: User Defined Language
      (SourceForge.net)
   9. [notepad-plus - Open Discussion] Don't prompt     to save
      modified empty untitled (SourceForge.net)


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

Message: 1
Date: Mon, 16 Feb 2009 21:37:31 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] Regex
        regular expression multiple lines trick
To: nore...@sourceforge.net
Message-ID: <6443411.331...@sourceforge.net>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=6443411
By: fool4uanyway

> I think the reason it did not work for me the first time was
> because I missed the part about setting the 'Recurse Repl'
> checkbox (D'oh!)

I guess I must have forgotten about that, never mentioned it and never asked
you about it to reassure you did use all the right options. Did I mention that
this is an essential part of the magic work?

 
> I'm still not sure how it's able to span across the
> linebreaks, but hey - it works!

This Recursive Replace option simply says: if I did replace anything, should
I start looking again from the point I started?

So, after removing the linebreak at the end, it looks again at the start of
the line. Does it (still) start with /*? Does it end on */? No, then remove
the new linebreak. Etc.

> I finally got the following regex, which is a slightly
> modified version of your original regex, to work:
 
> ^[ ]*/\*[^[/]*+]*[^*/][^/]$

^ __________ look from the start of the line
[ ]* _______ accept any space characters, " *" would do also
/ __________ match /
\* _________ match *
[^[/]*+]* __ AFAIK, accept anything but [, / ] * or +
____________ this usually will "eat up" the rest of the line
[^*/][^/]$ _ magic to include the linebreak characters
____________ AND assure that the line does not end on */
 
> Previously, it would ignore '/' + multiple '*',
> e.g. /******* .... ***/

I had no clue about multiple *'s following the /.
You never gave any to me!
 
> Thanks for all your help!

SHOW ME THE MONEY!
Don't send it - I won't accept it.
Just show it.


______________________________________________________________________
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: Mon, 16 Feb 2009 22:34:52 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
        Regex   regular expression multiple lines trick
To: nore...@sourceforge.net
Message-ID: <6443737.331...@sourceforge.net>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=6443737
By: fool4uanyway

Some corrections:

Earlier, I suggested:

> Try the following regex:
> [ ]*/\*[^*]**/
 
> This is a non-greedy regular expression: it doesn't
> accept "anything" (= everything) after the comment block
> start /*, but _only_ all characters
> as long as they are not *.

To be totally transparent and correct, the regex should have been:
[ ]*/\*[^*]*\*/
with the _character_ * at the end entered as \* instead of *.
This makes a difference.

You regex:

^[ ]*/\*[^[/]*+]*[^*/][^/]$ 
 
> [^[/]*+]* __ AFAIK, accept anything but [, / ] * or +
> ____________ this usually will "eat up" the rest of the line

This probably does NOT what you expect.

It's even DANGEROUS. Right now, it made Notepad++ crash. I tried it on my sample
text (also a while before), and noticed it found for example two occurrences,
highlighting the match. When looking for the next match, it would say "Found!"
but highlight nothing. I now pushed the Find button a couple of times in a 
row...
Notepad++ got CPU-hungry. I killed it.

So, what _does_ it do?

[^[/]*+]*

The pain in the ass may be the final part:
]* _______ This on its own would mean: any ], but none is OK as well.

Does it work like that? Let's change * into +, meaning: at least one is
required.

OK, now I find occurrences in a sample text that make sense. It matched just
line endings or line parts with the *.

So, if this final part is a regex itself, what does the rest do?

[^[/]*+]*

>From end to start:

]* _______ any string of consecutive ]'s or none will also be matched
+ ________ this does not require a + character, it turns out
__________ so it must require "at least one match" of the preceding part
* ________ this does not require a * character, it turns out
__________ so it must require "any number of matches" of the preceding part

[^[/]_____ is the first part of the regex.

] ________ is just the closing of the opening [, grouping characters that may
be entered literally
^ ________ means: match none of the following characters
[/ _______ these are the _only_ characters to not match!

So, this regex says:

Accept any character that is not [ or /,
Accept any consecutive character that is not [ or /,
"Accept/Require at least one match of this kind of string"
Followed by any consecutive string of ] characters or none

I guess I can "accept" that this regex also matches... nothing. But I'd rather
not have Notepad++ again.

Try this regex on your document to verify this behavior:
[^[/]*+]+

Getting a little dizzy here?


______________________________________________________________________
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, 16 Feb 2009 22:59:31 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: Add
        new     options into Find Dialog !!!
To: nore...@sourceforge.net
Message-ID: <6443895.331...@sourceforge.net>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=6443895
By: leecherman

I MEAN :

1- ( Find All ) Button to Find All the Typed word in only the opened document
not all the opened documents.
2- ( Delete All ) Button to Delete All Lines that Similar with the Typed word. 
3- ( Replace All ) Button to Replace All Lines that Similar with the typed word.

I have copy it 2 time and forgot to replace it with other words...

______________________________________________________________________
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: 4
Date: Mon, 16 Feb 2009 22:58:01 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] Where to
        upload DUMP files?
To: nore...@sourceforge.net
Message-ID: <6443884.331...@sourceforge.net>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=6443884
By: bimplebean

I just had a crash where I selected multiple text files and pressed Enter. 
Notepad++
tried to open them all, then crashed. I created a dump file, now where do I
send it?

OS: Windows XP 64-bit, 4GB ram

Files being opened were .ACX files, configuration files for Microsoft AX 
Dynamics
2009. They're text files in actuality.

Thanks!

bimplebean

______________________________________________________________________
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: Mon, 16 Feb 2009 23:03:48 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: (2)
        Add     new options into Find Dialog !!!
To: nore...@sourceforge.net
Message-ID: <6443924.331...@sourceforge.net>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=6443924
By: leecherman

I mean to add a string Before and After the Text
The string could be one of this : ()-_.=+*Space|\...@#$%^&!~
Or any numbers and words.
EXAMPLE:
Need For Speed Undercover
To
~Need For Speed Undercover~ 

______________________________________________________________________
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: Mon, 16 Feb 2009 23:00:59 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] User
        Defined Language
To: nore...@sourceforge.net
Message-ID: <6443911.331...@sourceforge.net>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=6443911
By: spannow

Hi there

I saw the FAW about user defined language, and I wanted to try this out.
But now it seems that i dont have the option mentioned in the FAQ.
Do i need to install a plugin before i can use the user defined language
option?


______________________________________________________________________
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, 17 Feb 2009 01:17:56 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: User
        Defined Language
To: nore...@sourceforge.net
Message-ID: <6444605.331...@sourceforge.net>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=6444605
By: janschreiber

You don't need a plugin. Choose View -> User-defined language ...

______________________________________________________________________
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: Tue, 17 Feb 2009 01:22:33 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: User
        Defined Language
To: nore...@sourceforge.net
Message-ID: <6444629.331...@sourceforge.net>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=6444629
By: gr3gw

Hi,

It is in the first instruction although it may have been a bit confusing as
there were some unintentional HTML tags showing. The line now reads:

 * You get the tool for creating your language from View > User Define 
Dialog....
Be patient, it can take quite a while to load.

It means go to the View menu, and choose User Define Dialog. It takes a while
to load and so be patient, the dialog will appear eventually.

BTW, you did well to find the Notepad++ Wiki. I couldn't find the link on the
website. In case others are interested it is:
http://notepad-plus.wiki.sourceforge.net/.

______________________________________________________________________
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, 17 Feb 2009 07:30:48 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] Don't
        prompt  to save modified empty untitled
To: nore...@sourceforge.net
Message-ID: <6446162.331...@sourceforge.net>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=6446162
By: pedro_silva46

Hello,

I would like that Notepad++ didn't ask to save an empty, modified, but never
saved document.

I use Notepad++ to transfer texts from webpages, clear formatting or taking
notes that I usually Cut to other applications and having it asking to save
an empty document is really annoying.

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



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

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

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

_______________________________________________
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 33, Issue 38
*************************************************

Reply via email to