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 [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] Auto Comments (SourceForge.net) 2. [notepad-plus - Help] RE: Auto Comments (SourceForge.net) 3. [notepad-plus - Plugin Development] RE: mShell language support (SourceForge.net) 4. [notepad-plus - Help] RE: Finding several New Lines with RegExp (SourceForge.net) 5. [notepad-plus - Help] RE: Finding several New Lines with RegExp (SourceForge.net) 6. [notepad-plus - Plugin Development] RE: New plugin: Simple Script 0.9 (SourceForge.net) 7. [notepad-plus - Open Discussion] Feature Request : recognize #!/bin/ksh (SourceForge.net) 8. [notepad-plus - Open Discussion] RE: TreeView (SourceForge.net) 9. [notepad-plus - Open Discussion] Inconsistency: Shell/bash (SourceForge.net) 10. [notepad-plus - Open Discussion] Confusing : User ext vs Registered Exts (SourceForge.net) 11. [notepad-plus - Open Discussion] RE: Feature Request : recognize #!/bin/ksh (SourceForge.net) 12. [notepad-plus - Open Discussion] RE: Confusing : User ext vs Registered Exts (SourceForge.net) ---------------------------------------------------------------------- Message: 1 Date: Wed, 05 Dec 2007 06:54:58 -0800 From: "SourceForge.net" <[EMAIL PROTECTED]> Subject: [Notepad-plus-plus] [notepad-plus - Help] Auto Comments 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=4660256 By: nobody Hi, Is there anyway to add a 2 buttons to the toolbar, 1 to comment out selected lines of code, and another to un-comment selected lines of code? ______________________________________________________________________ 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, 05 Dec 2007 06:57:55 -0800 From: "SourceForge.net" <[EMAIL PROTECTED]> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Auto Comments 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=4660262 By: nobody Why do you call this "Auto Comments"? ______________________________________________________________________ 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: Wed, 05 Dec 2007 08:50:38 -0800 From: "SourceForge.net" <[EMAIL PROTECTED]> Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE: mShell language support 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=4660430 By: nobody why not starting a section for user language definition on the notepad++ wiki? ______________________________________________________________________ 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: 4 Date: Wed, 05 Dec 2007 09:09:27 -0800 From: "SourceForge.net" <[EMAIL PROTECTED]> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Finding several New Lines with RegExp 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=4660459 By: nobody One thing I found you can always do when you want to search/replace across multiple lines is to use the hex editor plugin to to temporarily change all the carriage-return + newlines to something else (a control character or something else not already in the file), then switch back to normal view to do your replace and then back to hex to put back the line ends. Not sure if there is any file size or line length limitation on this. ______________________________________________________________________ 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, 05 Dec 2007 11:55:19 -0800 From: "SourceForge.net" <[EMAIL PROTECTED]> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Finding several New Lines with RegExp 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=4660684 By: nobody Yes, there are a lot of ways to reach your destination while taking more time than necessary. Why would you do that? ______________________________________________________________________ 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, 05 Dec 2007 14:16:19 -0800 From: "SourceForge.net" <[EMAIL PROTECTED]> Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE: New plugin: Simple Script 0.9 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=4661002 By: hkubba Thank you for a really nice plug-in, fidvo. Great job. As it is release 0.9, I will add some suggestions * function conform(padchar): very useful function, yet I think you should add the option to handle the prefix manually, so for example if you have: start at line7 end at line8 start at line9 end_line at line10 and you want to conform line, a user should be able to write conform("0","line"), you should then look for line "words" and replace them so the end_line shouldn't be replaced running conform("0") on last lines will get you: 0000start at line7 000000end at line8 0000start at line9 end_line at line10 what I want to see when we run conform("0","line") is start at line07 end at line08 start at line09 end_line at line10 * functions insert(text,linenumber), replaceline(text,linenumber) instead of linenumber may be you can use linenumber|[linenumbers]|step number, the vertical line means OR, so for your example: This is the first line. This is the second line. This is the third line. This is the fourth line. running insert("This is a new line.",2): This is the first line. This is a new line. This is the second line. This is the third line. This is the fourth line. running insert("This is a new line.",[2,3]): This is the first line. This is a new line. This is the second line. This is a new line. This is the third line. This is the fourth line. running insert("This is a new line.",step 2): This is the first line. This is the second line. This is a new line. This is the third line. This is the fourth line. This is a new line. This will help you later in your variables goal, something like: var x = getlineswithtext("test") insert("this line is before test lines",x) x might be [4,6,89,678,900] * function merge(delimiter): very useful function, I would just suggest another one, translate(delimiter), so having this in your clipboard yes,we no,ne and you run translate(",") on : say yes if you want, don't say no ( a really silly sentence .. any way) will result on say we if you want, don't say ne ( a really silly sentence .. any way) and may be you should also have mergecase and translatecase * Using ini file format, will really limit the plug-in, a real useful addition to the it (later) is to have a docable pane, just like the function list, in there I suggest that you put a pull down menu with the language choice, and three text areas, language specific scripts, general scripts and all scripts, a typical scenario would be: I open java program: pull down menu: java language language specific scripts: delete_java_remarks general scripts clean_blank_lines all scripts clean_blank_lines delete_C_remarks delete_java_remarks I open C program: pull down menu: C language language specific scripts: delete_C_remarks general scripts clean_blank_lines all scripts clean_blank_lines delete_C_remarks delete_java_remarks this is probably for later, and needs a lot of discussions, yet my point is using the ini will limit the capability of grouping scripts, or assigning a group to a language, i think you should use XML or Jason format, what do you think? Wow ... that was a long post, I actually used your functions in editing some parts of it, thanks again for the great plug-in ______________________________________________________________________ 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: Wed, 05 Dec 2007 14:38:05 -0800 From: "SourceForge.net" <[EMAIL PROTECTED]> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] Feature Request : recognize #!/bin/ksh 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=4661026 By: nobody Hi, When working with UNIX scripts, sometimes there is no filename extension of ".sh" or ".ksh". Thus, the Language setting defaults to "Normal Text". Could you please implement something that looks at the first line for "#!/bin/sh" or "#!/bin/ksh" or even "#!/bin/wish" for tcl/tk before defaulting to "Normal Text" ? I imagine an advanced version of this would be a popup window were you could define bunch of strings that could appear on the first line and their corresponding language setting. thanks, Jim C. ______________________________________________________________________ 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: Wed, 05 Dec 2007 14:39:53 -0800 From: "SourceForge.net" <[EMAIL PROTECTED]> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: TreeView 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=4661030 By: nobody it's already implemented as the Light Explorer plugin. hit <alt>+a do it again. -Jim C. ______________________________________________________________________ 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: Wed, 05 Dec 2007 14:45:19 -0800 From: "SourceForge.net" <[EMAIL PROTECTED]> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] Inconsistency: Shell/bash 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=4661037 By: nobody In the language menu, shell scripts are identified as "Shell". However in the Styler Configurator, shell scripts are identified as "bash". Could I request that this be changed to "Shell" too ? "Shell" is generic enough to apply to ksh scripts too. thanks, Jim C. ______________________________________________________________________ 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: 10 Date: Wed, 05 Dec 2007 14:51:36 -0800 From: "SourceForge.net" <[EMAIL PROTECTED]> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] Confusing : User ext vs Registered Exts 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=4661047 By: nobody Hi, Could I ask for some reorganization of the registered/user extensions ? In the Styler Configurator there is "User Ext :" and under Preferences, File Association (tab), there is "Registered Exts". How do these work in conjunction with each other ? Everytime I reinstall I have to put in entries for the ".ksh" (kornshell scripts) and ".kfl" (kornshell function libraries) that we use. thanks, Jim C. ______________________________________________________________________ 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: 11 Date: Wed, 05 Dec 2007 15:10:13 -0800 From: "SourceForge.net" <[EMAIL PROTECTED]> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: Feature Request : recognize #!/bin/ksh 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=4661067 By: nobody Hey, I saw a nice abbreviation: DIY. ______________________________________________________________________ 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: 12 Date: Wed, 05 Dec 2007 15:11:55 -0800 From: "SourceForge.net" <[EMAIL PROTECTED]> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: Confusing : User ext vs Registered Exts 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=4661071 By: nobody Yes, you better spend your time tuning N++ over and over again, instead of filling the forum with all your requests. Don't you think? ______________________________________________________________________ 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 ------------------------------ ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ------------------------------ _______________________________________________ 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 19, Issue 14 *************************************************