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: Loading session as default action? (SourceForge.net) 2. [notepad-plus - Help] RE: Using Find/Replace to DELETE specific section (SourceForge.net) 3. [notepad-plus - Help] delete remove multiline section regex hints (SourceForge.net) 4. [notepad-plus - Plugin Development] FunctionList memory usage + crash (SourceForge.net) 5. [notepad-plus - Plugin Development] RE: Hex-Editor v0.9.5 available (SourceForge.net) 6. [notepad-plus - Help] User Defined Language based on Existing (SourceForge.net) 7. [notepad-plus - Plugin Development] RE: Hex-Editor v0.9.5 available (SourceForge.net) 8. [notepad-plus - Open Discussion] Themes badly implemented (SourceForge.net) 9. [notepad-plus - Help] RE: User Defined Language based on Existing (SourceForge.net) 10. [notepad-plus - Plugin Development] RE: Hex-Editor v0.9.5 available (SourceForge.net) ---------------------------------------------------------------------- Message: 1 Date: Thu, 10 Sep 2009 20:30:02 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Loading session as default action? To: nore...@sourceforge.net Message-ID: <7623018.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=7623018 By: cchris Right clicking on a session file _with the special extension_ and choosing "Edit with Notepad++" does not edit the session file, it loads the corresponding session. Doesn't work for 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: 2 Date: Thu, 10 Sep 2009 20:35:54 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Using Find/Replace to DELETE specific section To: nore...@sourceforge.net Message-ID: <7623045.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=7623045 By: cchris I see how sed, and probably awk would do that. But not Notepad++ I'm afraid, even with a good regex engine. 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: Thu, 10 Sep 2009 20:39:27 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] delete remove multiline section regex hints To: nore...@sourceforge.net Message-ID: <7623059.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=7623059 By: fool4uanyway Just a quick reply. You may find some very interesting information in the following threads: "Does N++ Support REGEX With Multiple Lines?" (Open Discussion forum) http://sourceforge.net/forum/forum.php?thread_id=3004512&forum_id=331753 This deals with creating single lines from multiline sections, allowing you to easily remove those oneliners in the next pass to be left with only the lines you do want to keep. "Find - Cut the line + next one - Insert in ne" (Help forum) http://sourceforge.net/forum/forum.php?thread_id=3086440&forum_id=331754 This may hint you on an other approach: keeping (or copying) only those lines you want to (keep). Think about what you do and do not want. What are the characteristics of both types of lines or sections? You might want to keep only the lines starting with text (character). You might want to remove all the lines not starting with a character a to z (A to Z). Lines starting with {, $ and } seem to be the ones you want to remove... ______________________________________________________________________ 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: Thu, 10 Sep 2009 21:25:21 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] FunctionList memory usage + crash To: nore...@sourceforge.net Message-ID: <7623198.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=7623198 By: pl31884 Hi all, here is a problem I've been experiencing with FunctionList even in the latest version (2.0 Unicode with N++ 5.4.5 Unicode). The problem is this : every time it tries to generate the function list of a different file, the time (and memory used by notepad++) needed to do so increases, up to the point where it takes several second and hundreds of MBytes of RAM (and finally simply freezes the app and crashes it). For example, let's say you have two files open : File1 and File2, with FunctionList activated. Now simply switch the focus from File1 to File2 and then to File1 back, then File2 once more, etc. repeatedly. You'll witness the time needed by the plugin to slowly increase (the first few times, the difference is unnoticeable as it's almost instantaneous), but after going back 6-7 times you should feel the "lag" already. Basically, this means the plugin is unusable if you have more than one physical file open (two views/instances of the same physical file are perfectly fine though, certainly because the plugin doesn't re-generate the list in this case) because notepad++ will end up crashing after a few minutes and that many comebacks between files. I'll add that I'm exclusively using Fortran files in case that helps, but I doubt this last piece of information is relevant. ______________________________________________________________________ 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: Fri, 11 Sep 2009 02:38:59 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE: Hex-Editor v0.9.5 available To: nore...@sourceforge.net Message-ID: <7623708.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=7623708 By: xjzhang1979 It's greate, thank you for your effort:) ______________________________________________________________________ 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: Fri, 11 Sep 2009 04:32:21 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] User Defined Language based on Existing To: nore...@sourceforge.net Message-ID: <7623839.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=7623839 By: komrade64 Hi, I'm trying to set up a new language, <a href=http://xbiblio.svn.sourceforge.net/viewvc/xbiblio/csl/schema/tags/0.8/cs l.rnc?revision=768&view=markup>CSL</a>, which is closely based on XML. Is there a way to define a new language by starting with the existing XML, and just adding a few new keywords? 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: 7 Date: Fri, 11 Sep 2009 05:51:42 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE: Hex-Editor v0.9.5 available To: nore...@sourceforge.net Message-ID: <7623897.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=7623897 By: davegb3 Jens, Great work! Really glad this is still in development. It does seem much better, and compare works! I'm getting a hang though if I click the view menu while viewing a file in hex. I've not looked into it at all, other than being able to reliable reproduce it - if you can't reproduce it let me know and i'll have an investigate. Thanks again, this is a really great plugin. Dave. ______________________________________________________________________ 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: 8 Date: Fri, 11 Sep 2009 07:23:10 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] Themes badly implemented To: nore...@sourceforge.net Message-ID: <7624015.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=7624015 By: angryprogrammer Just upgraded from 5.2.* to 5.4.5. The instructions asked me to delete the old configuration and style files. I never did that on other upgrades (should I have?). Well, fairly disappointing to lose my theme and all my other customizations after all this time but I suppose it probably can't be helped. Anyway, the problem is, the themes takes such a damned long time to set up. When I saw the new "Select theme" dropdown in the dialog I was overjoyed -- I thought my wishes had come true. But it turned out that rather than making things easier to manage it just multiplied the problem by 14 (the number of themes), and even more so! I hate having to micromanage all the settings. I have to work with files in a dozen-ish languages, and when I get a new one, I have to open up the style configurator all over again to set my preferred colours on it, turn off keyword bolding, set the comments to a plain non-italic font, and right-click on every background color to make it defer to the defaults. (WHY THE #%*?! isn't that the default setting?) Being able to save multiple themes is so nice in theory yet so bad in practice, as none of the settings in none of the default themes seem to defer to their defaults. Even if I set that, I still can't fiddle with language element colours on a theme-wide basis. Updating the theme stuff anyway, you had a real chance with it to make it easier to construct themes. I'm totally amazed you didn't take it. I'd thought the feature was inevitable. You came so close to it, yet walked almost at right-angles to it. If you'd just add section for language-independent keyword, comment, string, number, operator, variable, preprocessor, etcetera, styles, the most important elements of most languages would be covered. Given my objection to micromanaging, imagine my total horror when I explore further and find that custom keywords and even custom file extensions (!!!) also seem to be tied to the themes! I would add them on one theme, go to a different one and they'd be missing. Switch back, they're still missing. Try it again, oh there they are! Or least it seemed so. It was very hard to track what was happening because even the default keywords weren't consistent across languages. It felt very buggy, and I'm not sure if I was experiencing real bugs or just obscure features. Take PHP for example. One theme had "$_POST $_GET $_SESSION" tacked onto STRING, and another had them tacked onto "DEFAULT", and another had a section called "USER DEFINED" that was completely missing from the others. Well for one thing, they are not PHP keywords at all, and if they were, $_REQUEST $_SERVER and $_ENV would be among them. Some people had inexplicably tacked they're own non-keywords into random bits it seemed, like "the_ID the_post have_posts wp_link_pages the_content". (Yuck! Random crap from the WordPress APIs!) And while we're on that subject, there are major new keywords in PHP that are still completely missing from the defaults: https://sourceforge.net/forum/message.php?msg_id=6584441 Why the hell would you save those properties as part of a theme? That kind of micromanagement is egregious and inexcusable. Even the order of the languages in the list isn't consistent across themes!! I'm so sorry, because I do love Notepad++, but what were you thinking with that? You had a chance to get it all right!!!! Instead, you made it so much worse. Finding and applying all my customizations from the old style file and applying them to the new ones and fixing up the orders and defaulting all the background colors on all the languages in all the files -- it's too much. I'm downgrading again, and I intend to stay there until such day as major issues with the themes have been fixed. Sorry, friend. ______________________________________________________________________ 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: Fri, 11 Sep 2009 09:19:07 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: User Defined Language based on Existing To: nore...@sourceforge.net Message-ID: <7624203.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=7624203 By: cchris Not in a straifhtforward way, as XML is quite far from what you'd consider a programmming lanuage. UDL's for all their flexibility, tend to be very much Clike. Hopefullly this changes a bit some day. The quick and dirty road is to create your own internal lexer dlicating LexXML.cxx in the Scintilla source. Duplicate all style names, and entries in langs.xml and stylers.xml, and make your adjustments. Then recompile ScoLexer.dll. You'll have t redo on some Scintilla version changes. The more straightforward way would be to create an external lexer plugin for your language. You will want to reuse code from LexXML.cxx, but it won't be as sraightforward. Once your plugin is compiled, you don't need to worry about Scintilla changes. And you have no obligation to us C++ to code your plugin - it becomes just a bit more low-level, as you cannot reuse as-is ant header file. 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: 10 Date: Fri, 11 Sep 2009 10:51:15 +0000 From: "SourceForge.net" <nore...@sourceforge.net> Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE: Hex-Editor v0.9.5 available To: nore...@sourceforge.net Message-ID: <7624375.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=7624375 By: cchris I cannot reproduce the freeze on switching to the View menu, and the throbbing of Edot and Search is gone indeed. However, if both view are visible and you go into PosyIt mode, without even activating View in Hex mode, Notepad++ reliably puffs out with an Asterisk system sound. No exception. However it remains in memory and eats CPU, without any task bar button left. Only killing using task manager cures this. When Notepad++ is then reopened, is it is still in Post-It mode. F12 makes it disappear again. Kill using task manager, and now you can restart peacefully. >From experimenting with various wallpapers with flashy colours, it appears that HexEditor chokes when redrawing the window, which is dismissed and redrawn when transitioning between normal and Post-It mode. Renaming the dll into .dl make the issue instantly disappear, s the plugin is definitely involved. Full screen mode is less stressful: you can go into fullscren normally, but Notepad++ shuts down on the way back, with an Asterisk and nothing else. At least it reopens normally then. I happen to never use these F11/F12 modes, so everything else is fine. 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=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 40, Issue 23 *************************************************