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 - Plugin Development] RE: Hex Editor Plugin 0.9.2 (SourceForge.net) 2. [notepad-plus - Plugin Development] RE: Plugin Marker Management (SourceForge.net) 3. [notepad-plus - Open Discussion] RE: $(CURRENT_WORD) is limited only to 259 chars (SourceForge.net) 4. [notepad-plus - Open Discussion] Feature request: Drag&drop images into HTML (SourceForge.net) 5. [notepad-plus - Plugin Development] RE: Hex Editor Plugin 0.9.2 (SourceForge.net) 6. [notepad-plus - Help] RE: History file setting (SourceForge.net) 7. [notepad-plus - Help] Help w/ splitting plain text file with regexp (SourceForge.net) 8. problems writing to the list (Manuel Souto Pico) 9. [notepad-plus - Help] RE: Help w/ splitting plain text file with re (SourceForge.net) ---------------------------------------------------------------------- Message: 1 Date: Tue, 03 Mar 2009 22:44:14 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE: Hex Editor Plugin 0.9.2 To: nore...@sourceforge.net Message-ID: <6616913.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=6616913 By: donho (6) HexEditor plugin causes crash with multi-view while pressing F11/F12 > I think the Hex Editor plugin is just great and having as part of N++ is fantastic. Only the stable plugin will be included in the official release. 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=482781 ------------------------------ Message: 2 Date: Tue, 03 Mar 2009 22:51:59 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE: Plugin Marker Management To: nore...@sourceforge.net Message-ID: <6617016.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=6617016 By: aathell The SC_MARK_AVAILABLE would be a new marker type ( marker type 28 ), which the Scintilla container app would apply to whatever markers it wanted to make available to plugins. Then with the SCI_MARKERSYMBOL the plugin would would have a message that would return a marker's type, and the plugin could iterate through the markers looking for available ones that it could use. You've defined that 0-15 are available to plugins, yet how does a plugin know which ones are already in use by another plugin? Earlier you mentioned they could communicate via the CommunicationInfo struct, so I ran with that idea and created a plugin that accesses the Scintilla Editor and returns the type, if the type of the marker is at a default state it returns SC_MARK_AVAILABLE. As a side note: I also added a function to the 'Notepad++ Plugin Interface Lib' (to be announced for release at the same time as the Change Marker plugin) that will iterate through both views looking for ones that are available until it has found the number of line markers that the plugin requested and sends back a marker array that the plugin can use to define it's markers. Sorry I haven't gotten that code over to you yet; I spent a good day and a half in VS configuration hell, but now have SVN setup to track these projects and very simplified new project setup using propsheets ( which will be included with the lib). Cheers! :) almostautomated ______________________________________________________________________ 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: 3 Date: Tue, 03 Mar 2009 23:56:16 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: $(CURRENT_WORD) is limited only to 259 chars To: nore...@sourceforge.net Message-ID: <6617810.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=6617810 By: etirta Hi Don, But $(CURRENT_WORD) does not contain a single word, right? It should contain the selected words. Well in fact actually in contain the selection and not really subject to word boundary. So it is possible for a user to select a very long line (that contains a lot of word) and that what happen with my log file. My log file may contain a hex dump of a message that can go very long. For ex: 10:36:59.828 4690 DL DCCH:22 46 00 3b 16 80 6c ...... Unfortunately there is no limit how long this message can go, the longest currently I've seen goes up to 600 chars in total for the whole line. From 1 release to the new release (I work on 3GPP technology) I've seen the message just keep getting longer and longer as the system getting more & more complicated hence need more parameters. I just hate to come back to you and requesting an increase when it indeed goes beyond 1039 chars. Currently the limit on CMD.EXE for the total length of a command is 2047 & 8191 chars for Win2k & XP accordingly (http://support.microsoft.com/kb/830473). Hence I requested the $(CURRENT_WORD) to be at least that length (it will be good if depending on the OS used, it's configured accordingly). If my message ever go beyond that, then my company just have to figure out how to decode that as in this case we can't call a windows program and pass the argument that long. What do you think? Thx //Edo ______________________________________________________________________ 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: 4 Date: Wed, 04 Mar 2009 07:22:58 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] Feature request: Drag&drop images into HTML To: nore...@sourceforge.net Message-ID: <6622518.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=6622518 By: prokofyev While this theme was raised several times on the forum I would like the author thought once again of it. It would be great if dragging and dropping an image into html code led to auto-generating the IMG tag with the correct dimensions (<img src= height= width= />). Thank you! ______________________________________________________________________ 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: 5 Date: Wed, 04 Mar 2009 07:33:43 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE: Hex Editor Plugin 0.9.2 To: nore...@sourceforge.net Message-ID: <6622648.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=6622648 By: jenslorenz Thanks for this summary! I try to fix this issues in next days. Best Regards Jens ______________________________________________________________________ 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: 6 Date: Wed, 04 Mar 2009 09:21:37 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: History file setting To: nore...@sourceforge.net Message-ID: <6623932.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=6623932 By: aconybeare I've fixed this by uninstalling and reinstalling notepad++ Al ______________________________________________________________________ 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, 04 Mar 2009 10:18:15 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] Help w/ splitting plain text file with regexp To: nore...@sourceforge.net Message-ID: <6624653.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=6624653 By: deathbygrogg Hello there. I have a number of plain text files in the following format Plain text file name: Category Every line is in the following format: Name-Country Now, what i want to do is save all the plain text files by country, so for example the lines Amber Jefferson-Sweden Thomas Anderson-Sweden Connor Macleod-Sweden Would all be saved in Sweden.txt, with the -Sweden part omitted. I'm really a novice when it comes to stuff like this, and any help is appreciated. //DBG ______________________________________________________________________ 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, 04 Mar 2009 12:01:41 +0100 From: Manuel Souto Pico <manuel.so...@star-group.net> Subject: [Notepad-plus-plus] problems writing to the list To: Notepad-plus-plus@lists.sourceforge.net Message-ID: <49ae5f95.1030...@star-group.net> Content-Type: text/plain; charset="iso-8859-1" Could somebody please confirme that my messages arrive to the list? Thanks! -- Manuel Souto Pico Termin?logo / Responsable de servicio t?cnico *STAR Servicios Ling??sticos, SL* C. Sardenya, 195-197 (baixos) E-08013 Barcelona Tel. +34 932 440 881 Fax: +34 932 471 273 manuel.so...@star-group.net <mailto:manuel.so...@star-group.net> http://www.star-spain.com -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 9 Date: Wed, 04 Mar 2009 11:24:50 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Help w/ splitting plain text file with re To: nore...@sourceforge.net Message-ID: <6625572.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=6625572 By: countdown Since you have to split files, I don't think N++ is the right tool. I'd use something like AWK. What you have to do is: 1) Look for the "-" charachter in every line, using the match($0, /-/) function. Its position in automatically saved into the RSTART variable 2) Read the rest of the line, starting from there, and save that into a string: that's the country name 3) Read from the beginning to the position previous to "-", and save that into another string: that's the person's name 4) Print the person's name into a file that has the country name. Here it is: { if (match($0, /-/)) { countryname = substr($0, RSTART + 1); person_name = substr($0, 1, RSTART - 1); print person_name >> countryname".txt"; } } Save this code into a file called countryname.awk and run the command "awk -f countryname.awk listfile", where listfile is, well, the name of your list file :-) AWK comes with many Linux distributions, and is also available for Windows. Hope this helps you! ______________________________________________________________________ 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 ------------------------------ ------------------------------------------------------------------------------ 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 End of Notepad-plus-plus Digest, Vol 34, Issue 7 ************************************************