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: Lexing for hex numbers (SourceForge.net) 2. [notepad-plus - Help] RE: Brace Highlighting - Background color issue (SourceForge.net) 3. [notepad-plus - Open Discussion] RE: Two questions/issues (SourceForge.net) 4. [notepad-plus - Help] AutoHotKey.ahk userDefineLang.xml for NP++ (SourceForge.net) 5. [notepad-plus - Help] Using NPP as an IDE with GCC compiler (SourceForge.net) 6. [notepad-plus - Help] RE: Lexing for hex numbers (SourceForge.net) 7. [notepad-plus - Help] RE: Lexing for hex numbers (SourceForge.net) 8. [notepad-plus - Help] lex/flex syntax highlighter (SourceForge.net) 9. [notepad-plus - Plugin Development] How to make twitter plugin? (SourceForge.net) 10. [notepad-plus - Open Discussion] Insert a string at the start of every line (SourceForge.net) 11. [notepad-plus - Help] Is it possible to open a second instance? (SourceForge.net) ---------------------------------------------------------------------- Message: 1 Date: Tue, 07 Apr 2009 09:26:03 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Lexing for hex numbers To: nore...@sourceforge.net Message-ID: <7099043.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=7099043 By: cchris The User Defined Languages areall assumed to look like C or Java, and a plurality of actual languages not built in just won't fit. Currently, if you can compile a dll written in C++, the solution is to take an existing lexer for a builtin language that is as close as possible as yours, tweak it your way, adjust a couple .h files in N++ sources and recompile the whole bunch. There is an NppExtrenalLexer plugin out there which allows to separately compile the dll and then does the integration with N++ at run time without a need to recompile the latter. I didn't try it yet. See the following post, in Plugin Development: RE: Notepad++ External Lexers Plugin (New) By: Thell Fowler (aathell) - 2009-02-17 21:58 I haven't attempted this myself, the biggest hurdle being installing yet another compiler - if only I could build under OpenWatcom, this would simplify everything for me. CChris ______________________________________________________________________ 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: Tue, 07 Apr 2009 09:51:15 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Brace Highlighting - Background color issue To: nore...@sourceforge.net Message-ID: <7099165.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=7099165 By: cchris > (btw I'm still looking for where the recognised values for the type attribute in saved shortcuts are documented) Found how to use: 0 means send a message and don't use sParam. The message is any WM_ or SCI_ one. 1 is the same, but use sParam. When lParam points to a string, it needs to be serialised for output, and sParam then holds the string. 2 sends a command id as listed in menuCmdID.h. For instance, <type="2" message="43001" wParam="0" lParam="0" sParam="0"/> opens the Find dialog. CChris ______________________________________________________________________ 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: Tue, 07 Apr 2009 13:05:38 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: Two questions/issues To: nore...@sourceforge.net Message-ID: <7100270.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=7100270 By: cchris The closest thing I could find regarding your first request is this: in the Macros section of Shortcuts.xml, add <Macro name="test" Ctrl="yes" Alt="yes" Shift="no" Key="45"> <Action type="0" message="2242" wParam="2" lParam="0" sParam="" /> </Macro> Here: * 45 is the code for the INS key; you can change it at will using Shortcut manager * 2242 is the # of the Scintilla message that sets the width of a margin * 2 is the number of the fold margin (numbering starts at 0) * 0 is the new width of the selected margin Note that this setting is reset whenever the active document changes, so you have to run the macro on every tab change. About the second point, the easiest thing is probably to change the highlighting language for the edited file: PHP to view the PHP part, CSS when viewing the CSS part etc. Otherwise, create an external lexer... CChris ______________________________________________________________________ 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: Tue, 07 Apr 2009 14:35:06 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] AutoHotKey.ahk userDefineLang.xml for NP++ To: nore...@sourceforge.net Message-ID: <7101039.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=7101039 By: aen007 7Apr2009 Greetings. I now make this posting on behalf of all AHK/NP++ users. Please see- http://www.autohotkey.com/forum/topic12303-15.html It seems the current AHK userDefineLang.xml for NP++ does not properly handle "an unterminating %". Other NP++ lang files (such as for .ada) properly handle instances of a single delimiter. Maybe someone has experience with lang files and could provide a solution, so the NP++.ahk userDefineLang.xml would properly handle instances of a single delimiter? The current entry is- <Keywords name="Delimiters">%00%00</Keywords> Any helpful replies/insights appreciated. Thank you. Regards, AEN ? ______________________________________________________________________ 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: Tue, 07 Apr 2009 14:51:06 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] Using NPP as an IDE with GCC compiler To: nore...@sourceforge.net Message-ID: <7101102.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=7101102 By: dordor Hi! I'm using NPP for years and lately I started to develop in C. Until now I'm using Dev-C++ as an IDE, with the GCC compiler. How can I replace Dev-C++ with Notepad++ so that it will be compliant with the GCC compiler? I'm not an expert with these stuff, so please explain well. Sorry for any English mistakes. English isn't my native language. 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=331754 ------------------------------ Message: 6 Date: Tue, 07 Apr 2009 15:08:55 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Lexing for hex numbers To: nore...@sourceforge.net Message-ID: <7101196.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=7101196 By: aathell Try this and see if it does the job for you: Set a keyword List to be prefix mode use a space in front of the x, configure this keyword list to match your number format. Now it should work fine except for words that start with a lower case x. Which you may not be using much of in bare code. :P lol, just thought of something funny; with this setup you could always use x prefixed var names for numeric vars too. 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=331754 ------------------------------ Message: 7 Date: Tue, 07 Apr 2009 15:14:13 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Lexing for hex numbers To: nore...@sourceforge.net Message-ID: <7101222.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=7101222 By: aathell Just as a side note; for the test I configured the keyword list to use the darker of the two orange shades with bold enabled and then the number format to use the lighter shade of orange without the bold. It stands out fairly nicely. ______________________________________________________________________ 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: Tue, 07 Apr 2009 18:27:19 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] lex/flex syntax highlighter To: nore...@sourceforge.net Message-ID: <7102847.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=7102847 By: ignazioc I need a lex/flex syntax highligher plug-in for notepad++ Does anyone know where can i find it? thanks!! ______________________________________________________________________ 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: Tue, 07 Apr 2009 18:46:22 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] How to make twitter plugin? To: nore...@sourceforge.net Message-ID: <7103062.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=7103062 By: quirkz Really love to make something that discretely echos tweets to status bar area. Any suggestions/tips to help me integrate that with Notepad++? Or better option for discrete echo'ing of rss/tweets? Thanks, Matt ______________________________________________________________________ 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: 10 Date: Tue, 07 Apr 2009 20:54:59 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] Insert a string at the start of every line To: nore...@sourceforge.net Message-ID: <7104182.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=7104182 By: krishnapec In Notepad++ we can use \r to append a string at the end of every line. Is there a way to insert a string at the start of every line ______________________________________________________________________ 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: Tue, 07 Apr 2009 22:07:38 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] Is it possible to open a second instance? To: nore...@sourceforge.net Message-ID: <7104758.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=7104758 By: frankspade Hello, I am working with two monitors and sometimes like to work with two documents on different monitors. I have seen the command line option -multiInst, but like to know if there is another way of opening a file in a second instance which I can use from Windows Explorer? Kind regards, Frank ______________________________________________________________________ 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 ------------------------------ ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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 35, Issue 12 *************************************************