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: regex counter increment line number sequence (SourceForge.net) 2. [notepad-plus - Open Discussion] Opening session files by command-line (SourceForge.net) 3. [notepad-plus - Help] RE: Wildcard question (SourceForge.net) 4. [notepad-plus - Help] remove all any text between identifiers regex (SourceForge.net) 5. [notepad-plus - Help] RE: Tab usage vs. spaces (SourceForge.net) 6. [notepad-plus - Help] RE: What exactly is Post-It view? (SourceForge.net) 7. [notepad-plus - Help] RE: Syntax Highlighting Problem (SourceForge.net) 8. [notepad-plus - Help] RE: how do I use a counter with regex? (SourceForge.net) 9. New file/program icon suggestion (Goce) ---------------------------------------------------------------------- Message: 1 Date: Wed, 18 Mar 2009 08:25:23 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: regex counter increment line number sequence To: nore...@sourceforge.net Message-ID: <6851093.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=6851093 By: fool4uanyway > F4U, you are obviously the resident expert on regular > expressions and TextFX, perhaps you would consider taking > on the role. Just collect problems and solutions as you go > over say the next three months. As I already answered in a personal email to you: I do not feel like taking on this role. I provide help on these forums and I am certainly not gonna do something just because you ask me (and keep asking me). I suggest, if it is so important to you, you take on this role. The same stuff is as readible and collectable to you as well. Perhaps then you will get what you keep asking for. I really don't see why you would come up with yet another solution, even looking like a line by line instruction but not being it. If you would have looked at the references, you would have seen line by line instructions. It is as simple as that. I do not see why you would have to write another message, not being line by line instructions, but being elaborative as well, possibly not even explaining what it does or why it works (and even without testing it yourself). A lot of information is already on these forums. This information is available. Even if you don't come to think of searching for it yourself, you could simply have clicked the link to get the search results I provided earlier. I asked about this in another thread as well: look before you ask and look before you answer. There is no need to increase the amount of messages returned by the search engine, if already one of them contains a workable solution. ______________________________________________________________________ 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: Wed, 18 Mar 2009 09:51:01 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] Opening session files by command-line To: nore...@sourceforge.net Message-ID: <6852154.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=6852154 By: thrashbarg To make that wonderful editor just somewhat more usable to me, it would be a nice feature, if NotePad++ could open a session file functional by command-line (by the time it just shows the content of the session file). When working on different projects, I drop the list of opened files into a session file in the appropriate project folder. When I come back to that project, I open NotePad++, close all potentially reopened files of a former session and then open the projects session file. To give this a shortcut, I would prefer the following behaviour: Walking to the project folder (Explorer,TotalCommander,or similar) DoubleClick on session file NotePad++ opens that session file, respectively the files listet in it, without reopening the files of last session, even if this should be configured. Greetings thrashbarg ______________________________________________________________________ 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: Wed, 18 Mar 2009 07:14:12 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Wildcard question To: nore...@sourceforge.net Message-ID: <6850264.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=6850264 By: lopalong I found the above very useful for a project I'm doing, And While staying on the same question: I currently have two parameters beginning and ending various strings and I would like to be remove all of the content between those params. Viz; \B "content" \b Using the previous posted examples I can fudge the RegExp strings to remove most, but still have to do that with "Replace One at a time" because the RegExp over-runs the first occurrence of \b if there are two or more in one line :( Here's a few examples of what I'm using ;) (\\B[^-\d]+)([^-\d]+\b) (\\B[^-\d]+)-([^-\d]+\b) (\\B[^-\d]+)94([^-\d]+\b) And there are others :( How do I strip what is between \B and \b without adding any variations to the RegExp and without over-running the \b at the end of each query. ? Thanks for any 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: 4 Date: Wed, 18 Mar 2009 10:34:41 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] remove all any text between identifiers regex To: nore...@sourceforge.net Message-ID: <6852766.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=6852766 By: fool4uanyway Assuming this is an example line: Viz; \B "content" \b I suggest you do the following. 1. UNcheck Recursive Replacement, which was needed in the other instruction because of individual repetitions. This asked for a non-greedy matching method. What you want is "remove any text between #A and #B". 2. Find #A and #B including anything in-between. If #A and #B can be found, "anything" may use a greedy regular expression. In the Find field, enter: ^Viz; (\\B).*(\\b) ^Viz; ____ the example line starts with this, but may be omitted _________ you may want to keep the ; as identifier or separator though \\B ______ this is your #A match .* _______ match any character, any times: this is greedy \\b ______ #B match, notice the double backslashes here also! Because a #B match is specified, the engine can't "eat" the whole line when digesting .*. 3. Because we grouped the #A and #B matches, we can easily replace them. In the Replace field, enter: ^Viz; \1 \2 ^Viz; ____ as in the example line, but may be omitted as well \1 _______ re-place the #A match _ ________ add a space character in-between \2 _______ re-place the #B match ______________________________________________________________________ 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: Wed, 18 Mar 2009 11:08:56 +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: <6853163.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=6853163 By: filobus I'm interested in this too! ;) ______________________________________________________________________ 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: Wed, 18 Mar 2009 11:13:41 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: What exactly is Post-It view? To: nore...@sourceforge.net Message-ID: <6853232.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=6853232 By: filobus the first time i used it i didn't know how to return to "normal" mode!! it should be good if in post-it mode there would be some hints to how to do that (like when you change some media players from normal to full screen mode) ______________________________________________________________________ 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: Wed, 18 Mar 2009 11:18:13 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Syntax Highlighting Problem To: nore...@sourceforge.net Message-ID: <6853287.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=6853287 By: filobus I also have the problem with syntax highlighting: when i drag and drop the file (file.sql) into the application, it recognizes it (as .sql file), but if i double click on the file it is recognized as normal text.. :-( (v. 5.2 unicode) ______________________________________________________________________ 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: Wed, 18 Mar 2009 12:19:29 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: how do I use a counter with regex? To: nore...@sourceforge.net Message-ID: <6854054.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=6854054 By: wolf66 @ Greg, 1.) As Pointed out by Fool4UAnyway your first suggestion (message from 2009-03-15 23:00) inserts line numbers everywhere. (promised completeness satisfied) 2.) > Use Find & Replace (Ctrl/H) to delete lines without a semicolon (;) > Search For: ^.*;.*$ > Replace With: <nothing> This replaces lines with semicolons, not without them. At this point I will stop testing more solutions to my problem using regular expressions, because my batch file works like a charm. But I would like to say that this discussion has given me quite some inspiration for future problems that I might come across. So a final thank you to Greg for your time and efforts. @ Fool4UAnyway, thanks for digging out the references given above. To read AND understand their contents will definately take some time. But now I have access to them. @ CChris, a search for the DOS based Bingo editor came up with a series of dead links. Is it still available somewhere? This might not be appropriate to ask in this forum, so my appologies here, just in case. :-) Wolf ______________________________________________________________________ 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: Wed, 18 Mar 2009 15:33:11 +0100 From: Goce <goce.mitev...@gmail.com> Subject: [Notepad-plus-plus] New file/program icon suggestion To: notepad-plus-plus@lists.sourceforge.net Message-ID: <195c6c7d0903180733i7383e876u464e75f9ee67d...@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Hi Everyone, I was wondering if anyone thinks that Notepad++ needs a new program icon. Here is what I managed to make: http://pablisher.lugola.net/data/Notepad++-Icon.jpg This icon can easily be tweaked so that custom file type icons are made for Notepad++. For example, txt file type has one icon, php file another etc. What do you think? Thanks, Goce Mitevski Freelance designer http://monsteer.deviantart.com http://www.linkedin.com/in/gocemitevski ------------------------------ ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ------------------------------ _______________________________________________ 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 42 *************************************************