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] Garbled character when line is too long (SourceForge.net) 2. [notepad-plus - Help] RE: How to change clickable link color? (SourceForge.net) 3. [notepad-plus - Help] RE: How to not display CR-LF? (SourceForge.net) 4. [notepad-plus - Help] RE: Replace Windows Notepad (SourceForge.net) 5. [notepad-plus - Help] RE: Erroneous execution of macro in Notepad++ (SourceForge.net) 6. [notepad-plus - Plugin Development] Problem with a custom language. (SourceForge.net) 7. [notepad-plus - Open Discussion] [REQUEST] highlight processor directives ... (SourceForge.net) 8. [notepad-plus - Open Discussion] RE: [REQUEST] highlight processor directives ... (SourceForge.net) 9. [notepad-plus - Help] RE: Reverse Lines (SourceForge.net) 10. [notepad-plus - Open Discussion] RE: Fold margin (SourceForge.net) 11. [notepad-plus - Open Discussion] RE: [Request] Fold Margin disableable? (SourceForge.net) ---------------------------------------------------------------------- Message: 1 Date: Mon, 24 Aug 2009 07:55:03 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] Garbled character when line is too long To: nore...@sourceforge.net Message-ID: <7579881.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=7579881 By: wgf4242 the Chinese characters were garbled in a long line if not in wrapping. ______________________________________________________________________ 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: Mon, 24 Aug 2009 08:14:44 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: How to change clickable link color? To: nore...@sourceforge.net Message-ID: <7579911.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=7579911 By: cchris To avoid confusion, I deleted my earlier reply. You must not add anything to stylers.xml or a theme file. What you'll have to do is to add a macro definition to shortcuts.xml. Then change the color by running the macro. Open shortcuts.xml in a different editor - M$ Notepad is good enough - , locate the <Macros> tag and, right below it, paste this: <Macro name="colorHSred" Ctrl="Yes" Alt="Yes" Shift="No" Key="100"> <Action type="0" message="2051" wParam="30" lParam="255"/> </Macro> Save and close the other editor. Open Notepad++. Now you have a new macro listed in the macro menu. It is called colorHSred and is bound to Ctrl+Alt+Numpad4. You can change these properties from the Shortcut mapper. Executing the macro will cause clickable links to display in red. Changing the colour is done by changing the lParam value. A similar macro wth a different message will control the background colour. The colour value is 65;536*Blue+ 256 * Green + Red, where Red, Green and Blue are amounts of red, green and blue needed to make the colour. they all three are integers between 0 and 255. The same macro definition with message="2052" will change the background of the link. Before editing shortcuts.xml, back it up, one never knows. Following our discussion on IRC, I'll check what is the style used when hovering over the link. HTH 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: Mon, 24 Aug 2009 08:21:05 +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: <7579914.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=7579914 By: cchris View -> Show symbol -> Show End Of Line. It must be checked while you want it unchecked. Unless it is the Show all characters item which bothers you. 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: 4 Date: Mon, 24 Aug 2009 08:23:41 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Replace Windows Notepad To: nore...@sourceforge.net Message-ID: <7579917.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=7579917 By: cchris http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Replacing_Not epad 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: 5 Date: Mon, 24 Aug 2009 08:26:22 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Erroneous execution of macro in Notepad++ To: nore...@sourceforge.net Message-ID: <7579923.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=7579923 By: cchris Macros record basic Scintila actions, and don't always keep the semantics (the editor level action). This is the basic issue, and its correction will take time. But there are plans to arrange this. In the meantime, if you can post a short macro with undesired behaviour, it will help. 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: 6 Date: Sat, 22 Aug 2009 18:05:56 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] Problem with a custom language. To: nore...@sourceforge.net Message-ID: <7577656.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=7577656 By: neglected Hi there. I'm trying to make a custom language using Notepad++, but the problem I have is that this language is rather.. annoying in the way it's commands are laid out. They are laid out like the following: Unit:Function() or Unit:Function(args1, args2, args3) or LocalVariable:Function() or even LocalVariable:Function(args1, args2, args3) Does anyone have any idea how I can make the Function highlight, and not the localvariable? Regards. ______________________________________________________________________ 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: Mon, 24 Aug 2009 03:09:35 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] [REQUEST] highlight processor directives ... To: nore...@sourceforge.net Message-ID: <7579545.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=7579545 By: cdrpo Electronic translation from the Castilian 1: Just highlight processor directives and not the entire line. Purpose, see the highlight of operators, variables, etc. of the directives Please look at the picture below http://www.geocities.com/cdavidrp/request/notepadpp_request01.png 2: Option to see for sample in c/c++ "}" or #endif to collapse statement blocks as well as it does www.ultraedit.com/ Please look at the picture below http://www.geocities.com/cdavidrp/request/notepadpp_request02.png ------------ Requerimientos Traducci?n electr?nica desde el castellano 1: Solo resaltar las directivas de procesador y no toda la linea Prop?sito, visualizar el resaltado de los operadores, variables, etc de las directivas Por favor mirar la imagen siguiente 2: Opci?n de ver por ejemplo en c/c++ "}" o #endif al colapsar bloques de sentencias, al igual como lo hace ultraedit ______________________________________________________________________ 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: Mon, 24 Aug 2009 11:03:10 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: [REQUEST] highlight processor directives ... To: nore...@sourceforge.net Message-ID: <7580154.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=7580154 By: cchris For 1/, post this on IdeaTorrent. What it takes is, after a #define directive, to swich back to SCE_C_DEFAULT style before end of line. 2/ Do you ean that a collapsed block should show both the first and last line? Not trivial, as it would require altering many lexer files for consistency. Specially if the behaviour is to be optional. Ask for it on IdeaTorrent as a distinct idea. No fue demasiada absurda la traducci?n autom?tica. 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: 9 Date: Mon, 24 Aug 2009 11:47:55 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Reverse Lines To: nore...@sourceforge.net Message-ID: <7580213.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=7580213 By: wochenmitte ok, 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: 10 Date: Mon, 24 Aug 2009 10:53:27 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: Fold margin To: nore...@sourceforge.net Message-ID: <7580137.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=7580137 By: cchris > What if I would like to add ( ) to fold in SQL language, should I modify "scintilla\src\LexSQL.cxx" ? Yes. And MySQL is handled by LexMySQL.cxx. You can also play with LexMSSQL.cxx. Perhaps changing all lexer files for related dialects is a good idea. > I did not find FoldJavaDoc or LexJava.cxx for that mater and how to recompile? thank you very much Sorry about the inaccuracy, it is LexCPP.cxx, which does multiple duty. And the routine is FoldCppdoc-) therein. As for compiling, just follow the instructions at http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Compiling_ Notepad++. You only need to rgenerate SciLexer.dll. 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: 11 Date: Mon, 24 Aug 2009 13:17:18 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: [Request] Fold Margin disableable? To: nore...@sourceforge.net Message-ID: <7580369.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=7580369 By: cchris Follow-up: The reason why the fold margin is reset on every tab change is in Notepad++ territory, specifially in the call to isNeededFoldMarge() inside ScintillaEditView::defineDocType() So yes, one could set up a general preference to override the language based display of the fold margin. There is no way to do so permanently at this moment. 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 ------------------------------ ------------------------------------------------------------------------------ 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 40 *************************************************