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 - Help] Find - Cut the line +       next one - Insert
      in ne (SourceForge.net)
   2. [notepad-plus - Help] RE: Tab usage vs. spaces (SourceForge.net)
   3. [notepad-plus - Help] RE: Files Are       Double-Spaced
      (SourceForge.net)
   4. [notepad-plus - Help] update - settings lost. (SourceForge.net)
   5. [notepad-plus - Open Discussion] RE: Notepad++    v5.3 Release
      Candidate (SourceForge.net)
   6. [notepad-plus - Help] RE: Find - Cut the line +   next one -
      Insert in ne (SourceForge.net)
   7. [notepad-plus - Open Discussion] RE: Notepad++    v5.3 Release
      Candidate (SourceForge.net)
   8. [notepad-plus - Help] extract multiline regex     regular
      expression (SourceForge.net)
   9. [notepad-plus - Help] RE: update - settings       lost.
      (SourceForge.net)
  10. [notepad-plus - Help] RE: Find - Cut the line +   next one -
      Insert in ne (SourceForge.net)


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

Message: 1
Date: Mon, 09 Mar 2009 22:16:34 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Help] Find - Cut the line
        +       next one - Insert in ne
To: nore...@sourceforge.net
Message-ID: <6717269.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=6717269
By: bosjo

Hi All.

Got a txt file, about 300.000 lines

I want to find a line that starts with the same word, Cut that line + the next
one, Insert it in a new file.

Is there any way to do that?

123 Im a line that always start with 123, I can have spaces in the beginning
234 im the next line that needs to be copied with the above, I can have spaces
in the beginning and alternating text

many lines
many lines

123 Im a line that always start with 123, I can have spaces in the beginning
234 im the next line that needs to be copied with the above, I can have spaces
in the beginning and alternating text

tried with Macro, but that did'nt work out for me

______________________________________________________________________
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: Mon, 09 Mar 2009 22:22:33 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Tab usage vs.
        spaces
To: nore...@sourceforge.net
Message-ID: <6717352.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=6717352
By: tomascipher

I'm looking for this as well. I want css files to tab 2 spaces, and all others
to tab 4 spaces. I need to set this on a per language file basis.

______________________________________________________________________
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: Mon, 09 Mar 2009 22:24:51 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Files Are
        Double-Spaced
To: nore...@sourceforge.net
Message-ID: <6717369.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=6717369
By: meshackdotcom

Just a guess, but I think this may be related to how some editors use the New
Line(NL) character for line breaks and some others use the Carriage Return (CR).
Like I think Mac uses one vs. Windows using the other or something. And some
editors use both NL and CR to indicate a line break. This means that when you
open it in certain other editors like Notepad++, it would look like it's double
spaced.

Go to View > Show All Characters and that should show you the which characters
are being used. Come to think, I just checked one of my files and both CR and
LF are being used, but it's single spaced. So it may be some setting you have
somewhere on how Notepad++ displays line breaks.

Maybe try changing the format. Format > Convert to Windows, or Convert to Mac,
or Convert to Unix. I know, kind of a vague answer. Well, at least you have
someplace to start. Good luck!

______________________________________________________________________
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: Mon, 09 Mar 2009 22:48:55 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Help] update - settings
        lost.
To: nore...@sourceforge.net
Message-ID: <6717600.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=6717600
By: lickstab

okay, i found a post from 2005 from someone who lost their settings due
to updating.
i'm pretty sure it's 2009 now, and it still doesn't keep the old settings?
is there some good place to complain about this? maybe as a feature request..
although it seems kind of obvious to me. oh well.

______________________________________________________________________
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: Mon, 09 Mar 2009 22:53:38 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
        Notepad++       v5.3 Release Candidate
To: nore...@sourceforge.net
Message-ID: <6717661.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=6717661
By: donho

Yuval,

I have not yet a solution about it.
I'll work on xml updater as soon as I have the time.

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: 6
Date: Mon, 09 Mar 2009 23:02:02 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Find - Cut the
        line +  next one - Insert in ne
To: nore...@sourceforge.net
Message-ID: <6717728.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=6717728
By: bosjo

Ok, tried this :

<Higlight tekst>, <F3>, <End>, <Home>, <Home>, <Shift-End>, <Shift + Arrow 
down>,
<Shift + End>, <Ctrl-C>, <Ctrl-Tab>, <Ctrl-V>, <Enter>, <Enter>, <Home>, and
<Ctrl-Shift-Tab>, <Home>, <Arrow up>, <Arrow Right>, <Shift + Arrow right 3
times>, <F3>

But it seems to always start at the same line, over and over again.......

And sorry for not mentioning, I'm on V/ 5.2 

______________________________________________________________________
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: 7
Date: Mon, 09 Mar 2009 23:06:47 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
        Notepad++       v5.3 Release Candidate
To: nore...@sourceforge.net
Message-ID: <6717803.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=6717803
By: donho

> ... is that the Line change state doesn't follow Undo-Redo actions accurately,
...

Yes I know it. This feature is experimental, and still buggy - I wonder if it's
worth to include it in the release. But since I spent time to implement it,
I would like to know what people think about it.

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: 8
Date: Mon, 09 Mar 2009 23:15:00 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Help] extract multiline
        regex   regular expression
To: nore...@sourceforge.net
Message-ID: <6717884.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=6717884
By: fool4uanyway

Some possibilities:

1. Use a tool to extract the multline regular expression you are looking for.

Suggested reading:
"Feature Request: Multi Search" (Open Discussion forum)
http://sourceforge.net/forum/forum.php?thread_id=1994407&forum_id=331753

I am not sure if this can be done (easily) with TextCrawler, but search the
net and you may find a tool that allows you to do just what you want.

2. Use a regular expression to combine both lines you want to keep and use 
options
to mark or only show those lines and then copy those.

Interesting description:
"Does N++ Support REGEX With Multiple Lines?" (Open Discussion forum)
https://sourceforge.net/forum/forum.php?thread_id=3004512&forum_id=331753

This is to give you a clue about what you _can_ do.

In your case: do _not_ use the Recursive Replace option.
You only want the single next line to be appended to the line starting with
your "word", to be able to extract only those lines later.
You (may) want to break down the combined lines later again.
This could easily be done by replacing an identifier string you put there in
the step before (like "#linebreak#") by a linebreak again.


______________________________________________________________________
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: Mon, 09 Mar 2009 23:22:43 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: update -
        settings        lost.
To: nore...@sourceforge.net
Message-ID: <6717964.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=6717964
By: donho

> 2005 from someone who lost their settings due to updating.  
> i'm pretty sure it's 2009 now, and it still doesn't keep the old settings? 
 
I confirm you that it's 2009 now.  
As well all the old Notepad++ settings are kept after updating of installer. 
OTOH, are you sure it's Notepad++ you are using?
 
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=331754



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

Message: 10
Date: Mon, 09 Mar 2009 23:24:03 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Find - Cut the
        line +  next one - Insert in ne
To: nore...@sourceforge.net
Message-ID: <6717973.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=6717973
By: gr3gw

Find and replace do not work in Macros. It hasn't been implemented just yet.

The Regular Expression mode in Find and Replace (Ctl/H) works on only single
lines. Volunteer, Fool4UAnyway, has some techniques for dealing with multi line
edits. These techniques use the Find and Replace feature in plugin TextFX (see
the Wiki page http://notepad-plus.wiki.sourceforge.net/FindReplaceNewlineHowTo
) . To do the 'cut' that you require, you must use the plugin TextFX Viz
functions.

In summary, N++ has no easy method of doing what you want, as you described
the problem, but using some ingenuity it is possible.

Now, the ability to edit based on existing strings is very dependent on the
nature of those strings. If you could give us some specific examples of the
strings, we may be able to spot something inherent in the find strings that
will make the job easier.

You wrote:
<quote>
123 Im a line that always start with 123, I can have spaces in the beginning 
234 im the next line that needs to be copied with the above, I can have spaces
in the beginning and alternating text
<end-quote>

Sorry, these descriptions are not clear enough, especially the bit about 'I
can have spaces'.

______________________________________________________________________
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



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

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


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

_______________________________________________
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 34, Issue 18
*************************************************

Reply via email to