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: Reading content of Npp using WM_GETTEXT (SourceForge.net) 2. [notepad-plus - Help] notepad++ doesn't start offline (SourceForge.net) 3. [notepad-plus - Open Discussion] RE: Bug when opening from "Recent Files" list (SourceForge.net) 4. [notepad-plus - Plugin Development] RE: NP++ 5.1.2 (UNICODE) and Function List pl (SourceForge.net) 5. [notepad-plus - Open Discussion] RE: Bug when opening from "Recent Files" list (SourceForge.net) 6. [notepad-plus - Open Discussion] RE: Column markerS (SourceForge.net) 7. Unicode Problem with Function-List Plug-in (AnhVu) 8. Box drawing characters (Jeppe Stig Nielsen) ---------------------------------------------------------------------- Message: 1 Date: Mon, 22 Dec 2008 08:52:06 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE: Reading content of Npp using WM_GETTEXT To: nore...@sourceforge.net Message-ID: <5862918.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=5862918 By: dv__ ??? Here is a part of oficial documentation of Scintilla: >>>> SCI_GETTEXT(int length, char *text) This returns length-1 characters of text from the start of the document plus one terminating 0 character. To collect all the text in a document, use SCI_GETLENGTH to get the number of characters in the document (nLen), allocate a character buffer of length nLen+1 bytes, then call SCI_GETTEXT(nLen+1, char *text). If the text argument is 0 then the length that should be allocated to store the entire document is returned. If you then save the text, you should use SCI_SETSAVEPOINT to mark the text as unmodified. <<<< So, to get some text, you must do something similar to the following: const int BUF_SIZE = 1024; // for example char szText[BUF_SIZE]; SendMessage(hScintillaWnd, SCI_GETTEXT, BUF_SIZE, (LPARAM) szText); Now, the text inside the szText buffer can be ANSI, UTF-8 or DBSC depending on current Scintilla's editing window's encoding (code page). You can get this encoding (code page) from the same hScintillaWnd using the SCI_GETCODEPAGE message. I recommend you to download latest sources of Notepad++. You'll find a subfolder "scintilla" there, and this subfolder contains a subfolder "doc" with a file "ScintillaDoc.html". And I HIGHLY recommend you to read this "ScintillaDoc.html" because it contains all the information you need. Also, you may be interested in source files "UniConversion.cpp/h" (in the "PowerEditor\src" subfolder) which have functions for such text transformation as ANSI<->UTF8, UTF8<->UCS2 (UCS2 is Windows'es WideChar Unicode) and so on. ______________________________________________________________________ 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: Mon, 22 Dec 2008 09:38:46 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] notepad++ doesn't start offline To: nore...@sourceforge.net Message-ID: <5863192.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=5863192 By: antisergey When I work offline, Notepad++ doesn't start. There's a minute or two timeout. Why does np++ need Internet connection when starting and can this option be cancelled (maybe in settings or somewhere else)? ______________________________________________________________________ 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, 22 Dec 2008 10:56:05 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: Bug when opening from "Recent Files" list To: nore...@sourceforge.net Message-ID: <5863623.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=5863623 By: harrybharry COuld you try to open config.xml (in APPDATA/Notepad++ or program files/Notepad++) find the recent file list section and look at the filenames, maybe there is something wrong with those. You can try to copy paste them into the address bar of explorer, see if they still open ______________________________________________________________________ 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: Mon, 22 Dec 2008 11:42:39 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE: NP++ 5.1.2 (UNICODE) and Function List pl To: nore...@sourceforge.net Message-ID: <5863922.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=5863922 By: countdown Harry, I love you! :-)))) Now I can switch to Unicode, because this was the last plugin that I need and that hadn't been converted yet. I've just tested everything, and it looks like it's perfect. Really, really, REALLY thanks! I also hope Jens won't mind, but after all, this is exactly the purpose of open-source projects! :-) ______________________________________________________________________ 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: Mon, 22 Dec 2008 12:46:45 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: Bug when opening from "Recent Files" list To: nore...@sourceforge.net Message-ID: <5864289.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=5864289 By: whitecat2 Just done: Copied and pasted from config.xml, put it into the address bar of Windows Explorer and the file opened immediately in Notepad++ (because its extension is associated with notepad++.exe). I also tried the following: * Opened config.xml with a hex editor: Nothing suspicious, at least in the line containing the filename. * Opened config.xml with Windows Notepad, saved it again and compared it with the original file: No difference. * Tried opening files with different file name lengths - the shortest filename is "c:\iso.txt" which doesn't work either. * Put the line <File filename="C:\iso.txt" /> at position 25 (31-6) in the <History nbMaxFile="30"> structure in config.xml - no difference. * Put the line <File filename="C:\iso.txt" /> at position 24 (31-7) in the <History nbMaxFile="30"> structure in config.xml - it works! So it seems always to be the first 6 files which show this problem. * Changed <History nbMaxFile="30"> to <History nbMaxFile="28"> and deleted the last two <File filename=...> lines. Now files #1-4 do not open while #5ff do. As the filenames show up in config.xml in reverse order: Could it be that only the first 25 files work regardless of the setting in "Settings - Preferences - MISC - Max number history file"? I have configured this value to its maximum of 30, perhaps this value doesn't get read correctly somewhere? * For the not working files, Sysinternals' filemon doesn't show even a try to open a file (with whatever name). Maybe these are some hints for bugfixing? ______________________________________________________________________ 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: 6 Date: Mon, 22 Dec 2008 08:23:57 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: Column markerS To: nore...@sourceforge.net Message-ID: <5862717.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=5862717 By: jibed up No one has the same need as me? It is a pity ... Especially since UltraEdit and EditPlus offers this feature. Bye ______________________________________________________________________ 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: 7 Date: Mon, 22 Dec 2008 23:19:40 +0800 (SGT) From: AnhVu <anhvu_...@yahoo.com> Subject: [Notepad-plus-plus] Unicode Problem with Function-List Plug-in To: notepad-plus-plus@lists.sourceforge.net Message-ID: <515777.22969...@web76709.mail.sg1.yahoo.com> Content-Type: text/plain; charset="utf-8" Dear all, I have just download Notepad++ v5.1.1 (Unicode) and plug-in Function List. But when I run Notepad++, it warning "there is unicode error happen" and force me delete function plug-in Please help me fix this error and using Function plug-in Thanks for your help AVu B?n c? ? ki?n v? ??m V?nh H?ng? H?y c?ng chia s? v?i m?i ng??i t?i Yahoo! Vi?t Nam Music http://vn.music.yahoo.com/artist/100000049? -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 8 Date: Mon, 22 Dec 2008 17:48:18 +0100 (CET) From: "Jeppe Stig Nielsen" <jepp...@parknet.dk> Subject: [Notepad-plus-plus] Box drawing characters To: <notepad-plus-plus@lists.sourceforge.net> Message-ID: <35617.129.142.71.166.1229964498.squir...@mail.parknet.dk> Content-Type: text/plain; charset=iso-8859-1 Sorry if this question is well-known or trivial. I use Notepad++ v5.0.3 under Windows XP. We have an application which generates plain text files with Unicode box drawing characters in them. They do not show up well in Notepad++. Does anybody know why? I have put a test file here: http://jeppesn.dk/testBoxdrawing4.txt When I open this file in Notepad++ it does not look right. /JeppeSN ------------------------------ ------------------------------------------------------------------------------ ------------------------------ _______________________________________________ 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 31, Issue 48 *************************************************