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] RE: Find - Cut the line + next one - Insert in ne (SourceForge.net) 2. [notepad-plus - Help] RE: extract multiline regex regular expression (SourceForge.net) 3. [notepad-plus - Help] extract multiline regex regular expression (SourceForge.net) 4. [notepad-plus - Help] extract multiline regex regular expression (SourceForge.net) 5. [notepad-plus - Help] What post are you talking about? Show me. (SourceForge.net) 6. [notepad-plus - Help] 5.3 and old plugins... can't load anymore (SourceForge.net) 7. Re: Notepad-plus-plus Digest, Vol 34, Issue 14 (Allen Zhu) ---------------------------------------------------------------------- Message: 1 Date: Mon, 09 Mar 2009 23:36:51 +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: <6718120.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=6718120 By: bosjo Here is a paste of some of the text file : 490 Lackierung LACKIERUNG IN "GLANZSCHWARZ" WIE SCHL.NR. 668 490 Lackierung LACKIERUNG IN "BRILLANTROT" WIE SCHL.NR. 308 SCHL.NR. 905 F??R VORF??HRFAHRZEUG (IAA-FRANKFURT) -VARTA-BATTERIE -BEREIFUNG MICHELIN Individualfahrzeugdaten 943 Sondersteuerung FRONT-, HECK-UND SEITENSCHWELLER IN WAGENFARBE DIAMANTSCHWARZ- METALLIC, WIE SCHL.NR. 181 (OHNE KONTRASTLACKIERUNG) --- 490 Lackierung BAUABW: B9091.2 B9221.B LACKIERUNG IN "MATTHESBLAU-METALLIC" FE 97-5972 BASF GEM. B 9221.B --- 0940 Sonderwunsch BAUABW: B9217.B R??CKSITZBANK UND -LEHNE WIE BMW 535I GEM. B 9217.B --- 0940 Sonderwunsch BAUABW: B9217.B R??CKSITZBANK UND -LEHNE WIE BMW 535I GEM. B 9217.B --- 0940 Sonderwunsch FRONT- UND HECKSCH??RZE SOWIE SCHWELLERVERKLEIDUNGEN O H N E KONTRASTLACKIERUNG. --- 0940 Sonderwunsch BAUABW: B9223.B RADIO BECKER MEXICO ELECTRONIC CR MIT FREQUENZ-DIVERSITY WIE SCHL.NR. 0670, INKL. HIFI-LAUTSPRECHERSYSTEM WIE SCHL.NR.0676 GEM. B 9223.B --- 490 Lackierung = Lackierung in lagunengr??n-metallic, wie Schl.Nr. 266, gem. B 9208.C 0940 Sonderwunsch = Front- und Hecksch??rze sowie Schwellerverkleidung ohne Kontrastlackierung 490 Lackierung = Lackierung in mauritiusblau-metallic, wie Schl.Nr. 287, gem. B 9207.C --- 0940 Sonderwunsch = Leuchtweitenregulierung, wie Schl.Nr. 510, gem. B 9230.C --- 0940 Sonderwunsch = - Dachhimmel, A- und C-S??ule in Leder Walknappa schwarz, wie Schl.Nr. 0330 (Bereitstellung erfolgt durch ZS-400) - elektrische Sitzverstellung f??r Fahrer und Beifahrer, wie Schl.Nr. 458, gem. SA 6518/25 --- 0940 Sonderwunsch = Front- und Hecksch??rze sowie Schwellerverbreiterungen o h n e Kontrastlackierung --- 490 Lackierung = Lackierung in gletscherblau-metallic, wie Schl. Nr. 280, gem???? B 9233.C --- 490 Lackierung = Lackierung in bronzitbeige-metallic, wie Schl. Nr. 0139, gem. B 9228.C 0940 Sonderwunsch = Fahrer- und Beifahrersitz wie BMW 535i - Lordosenst??tze f??r Fahrer, wie Schl. Nr. 0488 --- I'm so tired right now that I almost fall over, will continue tomorrow. Almost had it though, using Ctrl-X Got it to go through the file, but at the end it could not find my expression for F3, and started to copy wild. and only way to kill it was task manager :-( Appreciate your help :-) ______________________________________________________________________ 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 23:43:19 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: extract multiline regex regular expression To: nore...@sourceforge.net Message-ID: <6718195.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=6718195 By: fool4uanyway Here's is just a teaser... Move the cursor to the top of the document (Ctrl+Home). User either the standard Ctrl+H or Ctrl+R advanced (TextFX) find/replace dialog. Uncheck wrap mode. Check or select regular expression mode. In the Find field, enter: ^ *(123.*)[^1][^2]$ In the Replace field, enter: \1#linebreak# Replace all occurrences. Now, you will have all your lines starting with "123" and the lines below it next to each other. You can now go various ways to extract only those lines. It may be just easiest to bookmark and copy all lines containing the identifier. Move the cursor back to the top of the document (Ctrl+Home). Open the normal find dialog (Ctrl+F). In the Find field, enter the identifier: #linebreak# Check the Mark line option in the group options just below it. Click Find All. Close the Find dialog. Menu_____ : Search Option___ : Copy bookmarked lines You now have all the lines you want. You can paste them in a new document. You still have to replace the #linebreak# identifier by real linebreaks again. Move the cursor back to the top of the document (Ctrl+Home). Open the advanced replace dialog (Ctrl+R). In the Find field, enter the identifier: #linebreak# In the Replace field, after clearing it, press Ctrl+M or Ctrl+Enter. Uncheck regular expression mode. Replace all occurrences. Voila! Let me collect te credits on this one! A quicker way would be to insert _two_ #linebreak# identifiers, one for each wanted line, with a real linebreak in-between them. In the _advanced_ Replace dialog you could just enter: In the Find field, enter: ^ *(123.*)[^1][^2]$ In the Replace field, enter: \1#linebreak# #linebreak# Of course, you have to press Ctrl+M or Ctrl+Enter after the first #linebreak#. This will add an identifier to each line starting with 123 and insert an identifier before each following line. You can select all lines again as described above. Still, you have to remove all identifiers again after pasting the contents into a new document. Magic explanation of the regular expression: ^________ look for the start of a line *_______ accept any space characters before the keyword 123______ the keyword: the first word or string on the line .*_______ accept any character following the keyword = the whole line (123.*)__ group this expression to be able to re-place the match Now we _are_ at the end of the line, but we have to include the linebreak to do the magic. [^1]_____ match any character not 1 [^2]_____ match any character not 2 This will (only?) work with "not" matches and is just also including the CR LF linebreak characters. $________ match the end of the line I think I just noticed this last one isn't even necessary (in this case). ______________________________________________________________________ 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 23:49:54 +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: <6718274.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=6718274 By: fool4uanyway OK, I hadn't finished yet. The \1 (digit one) in the Replace field is meant to re-place the (grouped expression) of the Find field. I used, to find your matches: ^ *(\d+.*)[^1][^2] To insert two identifiers at once, without appending both wanted lines, I replaced those with: \1#linebreak# #linebreak# I bookmarked all lines with #linebreak# (as described above). I copied those lines to a new document. I removed all #linebreak# identifiers by replacing them with nothing. This is what I got: 490 Lackierung LACKIERUNG IN "GLANZSCHWARZ" WIE SCHL.NR. 668 490 Lackierung LACKIERUNG IN "BRILLANTROT" WIE SCHL.NR. 308 SCHL.NR. 905 F??R VORF??HRFAHRZEUG (IAA-FRANKFURT) -VARTA-BATTERIE -BEREIFUNG MICHELIN 943 Sondersteuerung FRONT-, HECK-UND SEITENSCHWELLER IN WAGENFARBE DIAMANTSCHWARZ- METALLIC, WIE SCHL.NR. 181 (OHNE KONTRASTLACKIERUNG) 490 Lackierung BAUABW: B9091.2 B9221.B LACKIERUNG IN "MATTHESBLAU-METALLIC" FE 97-5972 BASF GEM. B 9221.B 0940 Sonderwunsch BAUABW: B9217.B R??CKSITZBANK UND -LEHNE WIE BMW 535I GEM. B 9217.B 0940 Sonderwunsch BAUABW: B9217.B R??CKSITZBANK UND -LEHNE WIE BMW 535I GEM. B 9217.B 0940 Sonderwunsch FRONT- UND HECKSCH??RZE SOWIE SCHWELLERVERKLEIDUNGEN O H N E KONTRASTLACKIERUNG. 0940 Sonderwunsch BAUABW: B9223.B RADIO BECKER MEXICO ELECTRONIC CR MIT FREQUENZ-DIVERSITY WIE SCHL.NR. 0670, INKL. HIFI-LAUTSPRECHERSYSTEM WIE SCHL.NR.0676 GEM. B 9223.B 490 Lackierung = Lackierung in lagunengr??n-metallic, wie Schl.Nr. 266, gem. B 9208.C 0940 Sonderwunsch = Front- und Hecksch??rze sowie Schwellerverkleidung ohne Kontrastlackierung 490 Lackierung = Lackierung in mauritiusblau-metallic, wie Schl.Nr. 287, gem. B 9207.C 0940 Sonderwunsch = Leuchtweitenregulierung, wie Schl.Nr. 510, gem. B 9230.C 0940 Sonderwunsch = - Dachhimmel, A- und C-S??ule in Leder Walknappa schwarz, wie Schl.Nr. 0330 (Bereitstellung erfolgt durch ZS-400) - elektrische Sitzverstellung f??r Fahrer und Beifahrer, wie Schl.Nr. 458, gem. SA 6518/25 0940 Sonderwunsch = Front- und Hecksch??rze sowie Schwellerverbreiterungen o h n e Kontrastlackierung 490 Lackierung = Lackierung in gletscherblau-metallic, wie Schl. Nr. 280, gem???? B 9233.C 490 Lackierung = Lackierung in bronzitbeige-metallic, wie Schl. Nr. 0139, gem. B 9228.C 0940 Sonderwunsch = Fahrer- und Beifahrersitz wie BMW 535i - Lordosenst??tze f??r Fahrer, wie Schl. Nr. 0488 Alright? \d+_____ match any consecutive string of digits, at least one ______________________________________________________________________ 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 23:59:23 +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: <6718361.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=6718361 By: fool4uanyway OK, it was a nice practice... I just did a check with TextCrawler. It took considerably less time. Use the following regular expression to find and extract your matches: ^ *(\d+.*)\r\n.*$ This simply does it all in one pass. You can copy your matches or directly save them to a 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: 5 Date: Tue, 10 Mar 2009 00:09:07 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] What post are you talking about? Show me. To: nore...@sourceforge.net Message-ID: <6718480.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=6718480 By: fool4uanyway > i'm pretty sure it's 2009 now, Well, I'm not so sure about that. Might be 2001 as well. > is there some good place to complain about this? Forums can be used for complaining. > okay, i found a post from 2005 from someone > who lost their settings due to updating. Did you lose track of time or did I just lose my faith? I don't believe you. Just show me the post. Or even better: why didn't you simply reply to that post? So it would be obvious for anyone right from the start that you are talking about what was already spoken about 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: 6 Date: Tue, 10 Mar 2009 00:34:20 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] 5.3 and old plugins... can't load anymore To: nore...@sourceforge.net Message-ID: <6718880.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=6718880 By: johncruise I am wondering if there is a way to load the FunctionList plugin to the new NP++. 5.3 refuses to load this and other plugins. Thanks in advanced... ______________________________________________________________________ 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, 9 Mar 2009 19:31:04 -0700 From: Allen Zhu <allen.jalo...@gmail.com> Subject: Re: [Notepad-plus-plus] Notepad-plus-plus Digest, Vol 34, Issue 14 To: ??? <yonggang...@hotmail.com> Cc: notepad-plus-plus@lists.sourceforge.net Message-ID: <c5f9d1770903091931n2791c856k1e327ffe4249d...@mail.gmail.com> Content-Type: text/plain; charset="gb2312" 2009/3/8 ??? <yonggang...@hotmail.com> > > ????????*11#??Trace?????????????????????????????USB??????????????WINDOWS2000????????????????????????--?????????????????????????????????????????????COM3????????????????????????????????? > > It's seems that the upper paragraph can't be show correctly with > notepad++:) > I am using Windows XP +SP3 + (Chinese Simplified Edition) Is there anyone > can solve this problem? > Thanks: > ?????????notepad++ ???????????????????? > > ------------------------------ > ????? Windows Live Messenger ???????? ?????<http://im.live.cn/messenger.aspx> > > > ------------------------------------------------------------------------------ > 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 > > Two things: 1) Have you tried the updated translation: Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6710697 By: zhaoxiali Simplified Chinese localization for Notepad ++ Simplified Chinese - GB2312 - Update:2009/03/09 - Notepad ++ v5.2 based file: http://notepad-plus.sourceforge.net/commun/nativeLanguageFiles/engli sh.xml Apply please? Here? http://www.mediafire.com/?nytmdizznme ______________________________________________________________________ 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=558104 ------------------------------------------------------------------------------ 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 yet? 2) What's your format encoding? Under Format, what is it set to? Try Convert to UTF-8 without BOM or something else and try again... Allen Zhu allen.jalo...@gmail.com P.S. I don't know if this forum likes bottom-posting, like in the OpenSUSE forum, but I think it's good to do it that way also... -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------------------------------------------------------ ------------------------------ _______________________________________________ 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 19 *************************************************