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 - Open Discussion] Searching inside CHM files (SourceForge.net) 2. [notepad-plus - Open Discussion] RE: 64 bit (SourceForge.net) 3. [notepad-plus - Help] Multiline deletion using line numbers detour (SourceForge.net) 4. [notepad-plus - Plugin Development] Compare fails to detect differences (1.5.5) (SourceForge.net) 5. [notepad-plus - Help] RE: Folding Block Comments (SourceForge.net) 6. [notepad-plus - Help] RE: windows vista & FTP_synchronize problem (SourceForge.net) 7. [notepad-plus - Open Discussion] RE: 64 bit (SourceForge.net) 8. [notepad-plus - Help] RE: How to not display CR-LF? (SourceForge.net) 9. [notepad-plus - Open Discussion] RE: 64 bit (SourceForge.net) 10. [notepad-plus - Plugin Development] RE: FTP_SYNC = Dead says maintainer! (SourceForge.net) ---------------------------------------------------------------------- Message: 1 Date: Wed, 26 Aug 2009 16:19:08 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] Searching inside CHM files To: nore...@sourceforge.net Message-ID: <7586829.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=7586829 By: djn2 Hello folk! Some time ago I posted a solution to open a CHM (Windows Compiled HTLP Help) file at the page of a highlighted function (see ?Launching PHP CHM Manual? at https://sourceforge.net/forum/forum.php?thread_id=2082783&forum_id=331754 ). This trick required the CHM file to have an internal structure that uses the function keyword as part of the internal path. Works great with the PHP manual, not so with other useful help files like the MySQL manual and such. What was called for was a way to have the help file use its internal search function to find the supplied term. Well, I've found the way and I'm going to share... The first thing you need is KeyHH.exe, which comes with the freeware KeyTools, a set of utilities to work with the CHM format (http://www.keyworks.net/keytools.htm ). Download the installer, run it and copy KeyHH.exe from the install folder (there might be another copy in C:\Windows too) to the folder where your CHM help file is. The following practical example uses the Smarty CHM manual located in C:\Program Files\Manuals . Feel free to adapt paths to your exact location. With Smarty.chm and KeyHH.exe in the same folder open a command window there and type: KeyHH -somerandomid -#klink "escape" Smarty.chm Unless you've misplaced some of the files the Smarty manual will open at the instructions for ?escape?. Now, this doesn't work when called from NPP's Run menu, as the resulting DOS box opens in the NPP folder. You can't seemingly supply a full quoted path to the manual as KeyHH chokes on the quotes around the target filename. What is needed here is a batch file to change the working directory. So create a new file named runsmarty.bat inside the same directory and edit it thus: @ECHO OFF cd "C:\Program Files\Manuals" KeyHH -Smarty -#klink "%1" Smarty.chm exit Note: you may omit the @ECHO OFF stuff or comment it out putting "REM " in front of it while debugging the thing. Test the batch file from the command window with: runsmarty escape The manual should open at the same page as before. Once you have the batch file working you can edit the NPP configuration in shortcuts.xml (either in NPP folder or %APPDATA%) adding this command: <Command name="Smarty Manual" Ctrl="yes" Alt="yes" Shift="no" Key="0"> "C:\Program Files\Manuals\runsmarty.bat" "$(CURRENT_WORD)"</Command> Save, restart NPP, type a Smarty command (say escape, include or config_load) into a blank file and test: highlight the word, select ?Smarty manual? from the Run Menu and it should work. You'll notice there is a DOS box that stays open until you close the CHM file. If this doesn't bother you, you're done ? you can safely skip the rest of this post. If you want the DOS box to get out of the way instead you have more to set up. What is needed now is NirCmd, a free utility by Nir Sofer. Download the thing from http://www.nirsoft.net/utils/nircmd.zip , extract nircmd.exe and put it in the Manuals folder. This done, edit the <Command></Command> part in shortcuts.xml to contain this: "C:\Program Files\Manuals\NirCmd.exe" exec hide "C:\program Files\Manuals\runsmarty.bat" $(CURRENT_WORD) Well that's it. Now the DOS box won't even show and the manual will open at the requested page (as long as there is such a page). For the born tinkerers there is an alternate way to send the working directory ? you may like it more this way or not: drop the ?cd "C:\Program Files\Manuals"? from runsmarty.bat and edit the command to this: "C:\Program Files\Manuals\NirCmd.exe" exec2 hide "C:\Program Files\Manuals" "C:\program Files\Manuals\runsmarty.bat" $(CURRENT_WORD) This behaves exactly the same way, but the working directory is set via NirCmd instead of the batch file (notice the exec2 thing and the added quoted path). All examples above have been broken into multiple lines for readability only. Up to now I've set up this stuff for Smarty, MySQL 5 and jQuery manuals ? all of them working fine. Note: once you have a working command in the Run menu you can add it to the right-click menu editing the contextMenu.xml file and adding stuff like: <Item MenuEntryName="Run" MenuItemName="Smarty Manual"/> This way you can select a function, right-click and look it up in the manual without leaving your mouse. Beats some (expensive) IDE I've tried out lately by a mile. ______________________________________________________________________ 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: 2 Date: Wed, 26 Aug 2009 16:55:06 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: 64 bit To: nore...@sourceforge.net Message-ID: <7586894.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=7586894 By: frboyer With such a big file, I would probably use an hex editor to open it, one that does not load the file in memory to open it (i.Hex would be good, but not the last version I tested of Hexplorer). You can quickly scan through your file to check if it look correct, without having to completely load it. And to extract the lines you could use "head" and "tail" (the standard un*x utils) : "head -1 filename" will give you the first line and "tail +2 filename" will give you the file starting at the 2nd line (note the "+" and "-"). ______________________________________________________________________ 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, 26 Aug 2009 19:57:29 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] Multiline deletion using line numbers detour To: nore...@sourceforge.net Message-ID: <7587557.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=7587557 By: fool4uanyway > 1/ Add line numbers to your lines using Select All, > then TextFX -> TextFX Tools -> Insert Line Numbers (that's a unique identifier) Mmm... Why didn't I post this? Simply because this is only a detour, involving only more steps, and in doing so only taking more time. This is the first _extra_ step. > 2/ Search: ^\d\d\d\d\d\d\d[24680] Do these line numbers have a fixed length? I would suggest using ^\d*[24680][^\d] in this case, or simply replace the [^\d] by a space character. It should be clear that the last digit is the last digit of the complete line number. > Search mode = Regular expression > Check "Mark Lines" > Find all > 3/ Now all lines with an even line number are bookmarked. If the line numbers have been recognized correctly. I assume this is the case. > TextFX -> TextFX Tools -> Delete line numbers or first word This is the seconde _extra_ step. If you would like to go this way, my suggestion is to perform this as the _last_ step. You are now removing the line numbers also from the lines that will be deleted anyway. This may be very time intensive as well. Performing this step at last will take half as much time. > 4/ Search -> Delete bookmarked lines This is what it is really all about. I guess a multiline regular expression trick would outperform this method. ______________________________________________________________________ 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, 26 Aug 2009 20:05:02 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] Compare fails to detect differences (1.5.5) To: nore...@sourceforge.net Message-ID: <7587583.482...@sourceforge.net> Content-Type: text/plain; charset="UTF-8" Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=7587583 By: plexpro Hello Jean-S?bastien, I compared two Jasper Report compiled subreports. Windiff shows me differences, and I can find them visually in Notepad++, but the Compare plug-in (first version 1.5.3 UNI, then I updated to 1.5.5 UNI, same result) declares that the files match. If you like, I can send you the files for your inspection. Ren? Valencourt ______________________________________________________________________ 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: 5 Date: Wed, 26 Aug 2009 20:33:43 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Folding Block Comments To: nore...@sourceforge.net Message-ID: <7587679.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=7587679 By: tceverling I have no idea on how to fold block comments in PHP as well. Notepad++ 5.4.5, built on 14 July 2009 still won't do it. ______________________________________________________________________ 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, 26 Aug 2009 21:52:17 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: windows vista & FTP_synchronize problem To: nore...@sourceforge.net Message-ID: <7587833.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=7587833 By: yodapt Anyone? Gess I'll have to drop notepad++ :( ______________________________________________________________________ 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, 26 Aug 2009 22:57:06 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: 64 bit To: nore...@sourceforge.net Message-ID: <7587924.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=7587924 By: snemarch 64bit really has nothing to do with efficient handling of text files - you very rarely need to load insanely large amounts of text all at once, and 32bit editors can do partial loading just as well as a 64bit editors; this would likely be a much smarter scenario for you, since you say you need to "briefly inspect" the file. Notepad++ isn't geared towards large files, and (at least a few versions ago) would choke on files even in the ~100meg range. The scintilla editing component is designed towards source code size files, not humongous datasets :) ______________________________________________________________________ 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: Thu, 27 Aug 2009 00:22:01 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: How to not display CR-LF? To: nore...@sourceforge.net Message-ID: <7588029.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=7588029 By: ohaya CChris, Thanks! View->Show End of Line to uncheck it did the trick! Jim ______________________________________________________________________ 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, 27 Aug 2009 00:51:47 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: 64 bit To: nore...@sourceforge.net Message-ID: <7588077.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=7588077 By: hymy @ Sune your probably right when speaking of 2GB and smaller files, but through this process it seemed that if the file exceeds the usual 2GB address space that 32bit programs are generally limited to, that they just choke. I tried all the ones I could find too. Several 64bit ones proved to still have 2 GB limits, I didn't find a single 32bit editor that would even partially open these big files I have. Fortunately, today I finally found one call EMeditor that is available in what I'm going to call "true 64bit". It opens them right up, no wait, and runs great. It cost $40 though. It's probably worth it too. Just thought I'd mention it, because In searching I saw alot of people have this problem, but never get any real useful answers. http://www.emeditor.com/ ______________________________________________________________________ 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: Thu, 27 Aug 2009 01:16:33 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE: FTP_SYNC = Dead says maintainer! To: nore...@sourceforge.net Message-ID: <7588119.482...@sourceforge.net> Content-Type: text/plain; charset="UTF-8" Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=7588119 By: xjzhang1979 oesor, which ftp_sync version do you use? I use the latest version 0.9.6.1, it seems no your issue. ______________________________________________________________________ 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 ------------------------------ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ------------------------------ _______________________________________________ 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 39, Issue 47 *************************************************