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 - Help] RE: Find Character "n"      and replace
      "n+1" (SourceForge.net)
   2. [notepad-plus - Help] RE: Find Character "n"      and replace
      "n+1" (SourceForge.net)
   3. [notepad-plus - Help] join txt files and read a   BIG txt file
      (SourceForge.net)
   4. [notepad-plus - Help] RE: join txt files and      read a BIG txt
      file (SourceForge.net)
   5. [notepad-plus - Help] RE: join txt files and      read a BIG txt
      file (SourceForge.net)
   6. [notepad-plus - Plugin Development] Plugin        Template not up to
      date (SourceForge.net)
   7. [notepad-plus - Help] format/encoding of new      file with
      explorer (SourceForge.net)
   8. [notepad-plus - Help] RE: join txt files and      read a BIG txt
      file (SourceForge.net)
   9. [notepad-plus - Help] RE: How to format   XML-Source
      consistently (SourceForge.net)
  10. [notepad-plus - Help] RE: join txt files and      read a BIG txt
      file (SourceForge.net)
  11. [notepad-plus - Help] RE: join txt files and      read a BIG txt
      file (SourceForge.net)
  12. [notepad-plus - Help] PHP keyword - E_STRICT (SourceForge.net)


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

Message: 1
Date: Thu, 11 Sep 2008 20:12:58 +0000
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Find Character
        "n"     and replace "n+1"
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=5259090
By: fool4uanyway

What the hello are you trying to say? I really don't understand what you are
trying to explain here... And there's really no need for that.

There is an option in TextFX to hide all lines that do not contain the "0 "
text, if there are lines without at all.

If the 0's aren't at the start of the line, you could _copy_ them there doing
a regex replace.
Find: ^([^0]+0 .*)$
Replace by: ^0#\1

This will copy the 0 and the # identifier/separator to the start of the line.

Now all you have to do is select all those lines starting with 0#:
- move the cursor to the first or last line, between the 0 and #.
- keep down the Shift button and move the cursor to the last or first line
- while keeping down the Shift button, press the Alt button, too, and the Cursor
Right button to select the # column.
- release all buttons
- press Alt+C to open the Column Editor
- select the option to insert numbers and the option to insert leading zeroes

I guess that should do it, if you hadn't already found that out by yourself.
Something similar is in the instructions I referred to before.


______________________________________________________________________
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: 2
Date: Thu, 11 Sep 2008 20:16:49 +0000
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Find Character
        "n"     and replace "n+1"
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=5259099
By: fool4uanyway

That is only part of the trick, if the numbers 0 can be _anywhere_ on a line.

Now you have to replace the 0 in the line by the number at the start of it.
Assuming there wasn't any digit at the start of any line before, you can use
the following regex to move the number at the start of the line to the (first)
0 in the line.

Find:
^(\d+)([^0]+)0 (.*)$

Replace by:
\2\1 \3

This will put the first number and a space character at the position of the
"0 ".


______________________________________________________________________
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: 3
Date: Thu, 11 Sep 2008 20:26:21 +0000
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] join txt files and
        read a  BIG txt file
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=5259144
By: vanassche

Against all rules: 2 questions in 1 thread. But they are related.
1. I'm looking for a way to merge or join thousands of small txt files into
one big txt file.
Does anyone if this can be done with notepad++ or a plug in? If not, any other
tool?
2. When I want to read a really big TXT file, notepad++ complains that there
is not enough memory to do this job. Does anyone know what is the maximum size
of a TXT file that notepad++ can open?

thanks

gert


______________________________________________________________________
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, 11 Sep 2008 20:42:16 +0000
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: join txt files
        and     read a BIG txt file
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=5259195
By: andydean

Question 1, I don't know.
As for the maximum size of txt file, I don't know that either.
All I can say is that I regularly open up a text file which is around 120 MB
in size.
How big is the file you are talking about?

______________________________________________________________________
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: Thu, 11 Sep 2008 20:49:59 +0000
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: join txt files
        and     read a BIG txt file
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=5259232
By: vanassche

850 MB... but it will probably grow in the next couple of weeks...

______________________________________________________________________
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: Thu, 11 Sep 2008 21:08:20 +0000
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development]
        Plugin  Template not up to date
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=5259297
By: salocin13

coucou,

when running with the latest version of NPP (5.0.3) the plugin template compiled
with Mingw, the SW is crashing as soon as you try to open a Dialog box...

thanks in advance to help.
SalociN

______________________________________________________________________
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: Thu, 11 Sep 2008 22:35:25 +0000
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] format/encoding of
        new     file with explorer
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=5259642
By: abc-x

creating a new file uses what you specify in *settings -> preferences -> new
document -> encoding*

creating a new file with "new file..." with the explorer always creates an ANSI
file - can i set this option somewhere or is it a bug!?

not really a big issue - and...thx for a wonderful editor!

______________________________________________________________________
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: 8
Date: Thu, 11 Sep 2008 22:36:19 +0000
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: join txt files
        and     read a BIG txt file
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=5259646
By: garycoast

start -> run -> cmd

type * > name_of_big_file

and if you really want to go for the lost art:

edit name_of_big_file

______________________________________________________________________
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: 9
Date: Thu, 11 Sep 2008 23:56:38 +0000
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: How to format
        XML-Source consistently
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=5259897
By: gadrin

Rather than build a macro for N++ you might want to use a command line tool
like XMLStarlet (which is also from Soureforge).

It can "pretty" flat XML with indentation. It's free so you can test drive it.

There's also others like HTMLTidy which offers script, COM and GUI options.
Also free.

I think even MSHTML offers a free vbscript already written which will also 
pretty
it, if you've got Windows.

Probably 10 times easier than writing a N++ script to do it, depending on your
skills ;)



http://sourceforge.net/project/showfiles.php?group_id=66612


XMLStarlet Toolkit: Format XML document
Usage: xml fo [<options>] <xml-file>
where <options> are
   -n or --noindent            - do not indent
   -t or --indent-tab          - indent output with tabulation
   -s or --indent-spaces <num> - indent output with <num> spaces
   -o or --omit-decl           - omit xml declaration <?xml version="1.0"?>
   -R or --recover             - try to recover what is parsable
   -D or --dropdtd             - remove the DOCTYPE of the input docs
   -C or --nocdata             - replace cdata section with text nodes
   -N or --nsclean             - remove redundant namespace declarations
   -e or --encode <encoding>   - output in the given encoding (utf-8,
unicode...)
   -H or --html                - input is HTML
   -h or --help                - print help

XMLStarlet is a command line toolkit to query/edit/check/transform
XML documents (for more information see http://xmlstar.sourceforge.net/)



You can google for HTMLTidy. The VBScript for MSHTML comes with their help
file.


>

______________________________________________________________________
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: Fri, 12 Sep 2008 00:02:32 +0000
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: join txt files
        and     read a BIG txt file
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=5259914
By: gadrin


> 1. I'm looking for a way to merge or join thousands of small txt files into
one big txt file.

What OS ?  Windows copy command will let you do things like:

copy First.txt+Second.txt+Third.txt    All.txt

Which puts the 3 into "All.txt"

Haven't tried UNIX. But there's also GNU tools...like CAT 


These commands read and write entire files, possibly transforming them in some
way.

    * cat invocation: Concatenate and write files.
    * tac invocation: Concatenate and write files in reverse.
    * nl invocation: Number lines and write files.
    * od invocation: Write files in octal or other formats.
    * base64 invocation: Transform data into printable data. 

Or if you're into complex edits, things like SED.

I have GNU for Windows.


>

______________________________________________________________________
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: Fri, 12 Sep 2008 00:20:11 +0000
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: join txt files
        and     read a BIG txt file
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=5259969
By: garycoast

you would have more options on a Mac/Unix box but Notepadders in this context
should mean Windows

I believe a wildcard like * or *.txt and after 'type' and before the > filename
may be the tickect for someone who wants to join "thousand of files"

perl could be fun to mess with too but so far, for anything not on a built-in
command line, I always pull out the gun and just use a real programming 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=331754



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

Message: 12
Date: Fri, 12 Sep 2008 00:49:26 +0000
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] PHP keyword -
        E_STRICT
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=5260053
By: kellygreer1

Just wanted to get E_STRICT added to the PHP keywords.
Thanks,
Kelly Greer

______________________________________________________________________
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

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

_______________________________________________
Notepad-plus-plus mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/notepad-plus-plus


End of Notepad-plus-plus Digest, Vol 28, Issue 16
*************************************************

Reply via email to