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 from Desktop    via Shell
      Extension (SourceForge.net)
   2. [notepad-plus - Help] RE: Using the Language      Tool
      (SourceForge.net)
   3. [notepad-plus - Help] RE: Count? (SourceForge.net)
   4. [notepad-plus - Open Discussion] RE: Notepad++    v5.1.3 new
      release (SourceForge.net)
   5. [notepad-plus - Help] RE: Using the Language      Tool
      (SourceForge.net)
   6. [notepad-plus - Plugin Development] RE:   External lexer
      language type to name? (SourceForge.net)
   7. [notepad-plus - Help] replace text with CR LF     characters
      (SourceForge.net)
   8. [notepad-plus - Plugin Development] RE:   External lexer
      language type to name? (SourceForge.net)
   9. [notepad-plus - Open Discussion] RE: Notepad++    v5.1.3 new
      release (SourceForge.net)


----------------------------------------------------------------------

Message: 1
Date: Wed, 31 Dec 2008 10:28:01 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Loading from
        Desktop via Shell Extension
To: nore...@sourceforge.net
Message-ID: <5941761.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=5941761
By: donho

What is your Windows' version? (and sp version if present).
What's your Notepad++ version?

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=331754



------------------------------

Message: 2
Date: Wed, 31 Dec 2008 10:41:24 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Using the
        Language        Tool
To: nore...@sourceforge.net
Message-ID: <5941823.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=5941823
By: donho

> The only thing I haven't resolved is what Keyword 'Prefix mode' means. Does
anyone know?

If Prefix mode is checked, then all the words with the prefixes defined will
be recognized.
For example, with definition "bla", all the following words are recognized :
blapu blabla blablablabla blabc ...

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=331754



------------------------------

Message: 3
Date: Wed, 31 Dec 2008 12:15:48 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Count?
To: nore...@sourceforge.net
Message-ID: <5942454.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=5942454
By: rabin_y

do search and replase for the string or char

i.e
search for ","
replace with ","
and click replace all
and see the counter

______________________________________________________________________
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: Wed, 31 Dec 2008 12:24:33 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
        Notepad++       v5.1.3 new release
To: nore...@sourceforge.net
Message-ID: <5942562.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=5942562
By: donho

Confirmation.
It'll be included in the next release.

Thank you

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=331753



------------------------------

Message: 5
Date: Wed, 31 Dec 2008 13:55:25 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Using the
        Language        Tool
To: nore...@sourceforge.net
Message-ID: <5943736.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=5943736
By: gr3gw

Thanks Don. That's useful for me to know.

On a related point, do you happen to know if there is a wildcard  that can be
used to mean anything? I would like to be able to catch, and colour, all lines
that have not been caught by the keywords in sets 1-3. The aim is to highlight
lines that shouldn't be there. (I'm redefining the formatting for Batch files.)

______________________________________________________________________
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: Wed, 31 Dec 2008 14:22:39 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        External lexer language type to name?
To: nore...@sourceforge.net
Message-ID: <5944095.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=5944095
By: donho

> I've been able to identify a few ways to 'closely' accomplish this

What's your approach?

> but something along the lines of a GETCURRENTLANGNAME and then
> iterating through the plugins styled languages would be of great benefit. 

In the current implementation, GETCURRENTLANGNAME can work with internal 
language,
but not with external lexer.
If your approach work, then great, otherwise I'll find a solution.

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: 7
Date: Wed, 31 Dec 2008 15:13:36 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Help] replace text with
        CR LF   characters
To: nore...@sourceforge.net
Message-ID: <5944482.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=5944482
By: fabertel

hi ! is there a way to replace text with CR LF [Carriage Return/Linefeed] 
characters
?
how ? 

thanks
Fabio

______________________________________________________________________
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, 31 Dec 2008 15:44:01 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        External lexer language type to name?
To: nore...@sourceforge.net
Message-ID: <5944841.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=5944841
By: aathell

Don,

Here's what I ended up doing...

in the initial call to the exported Lex()
if(lexer == 0) {
        if(!SCEXT_POWERSHELL_LANGID) {
                SCEXT_POWERSHELL_LANGID = messageProc(SCI_GETLEXER, 0, 0);
                // If the lexer uses indicators that depend on styler stylat 
calls the whole
doc may need lexing first.
                bInitializeLexing = true;
        }
        InternalLexOrFold(0, startPos, length, initStyle, words, window, props);
}

in beNotified:
case NPPN_FILEOPENED:
{
        // Force lexing from start of doc to full length for proper 
initialization
of indicators
        int langID = ::SendMessage(hCurrentLexerView, SCI_GETLEXER, 0, 0);
        if (langID == SCEXT_POWERSHELL_LANGID) {
                bInitializeLexing = true;
        }
        break;
}

This looks to be working.  No new messages needed :)

Unfortunately this approach doesn't work so good with NPPN_BEFFERLANGCHANGED
since that message is sent AFTER the call to the Lex() routine; so to handle
that case:
case NPPN_LANGCHANGED:
{
        // Catch buffer language changes to ensure proper indicator 
initialization
        int langID = ::SendMessage(hCurrentLexerView, SCI_GETLEXER, 0, 0);
        if (langID == SCEXT_POWERSHELL_LANGID) {
                bLanguageChanged = true;
                ::SendMessage(hCurrentLexerView, SCI_STARTSTYLING, 0, 0);
        }
        break;
}

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: 9
Date: Wed, 31 Dec 2008 16:20:00 +0000
From: "SourceForge.net" <nore...@sourceforge.net>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
        Notepad++       v5.1.3 new release
To: nore...@sourceforge.net
Message-ID: <5945283.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=5945283
By: aathell

Don,

I'm not seeing some of my posts shwing up in the forum (via gmane with mail
client) so I thought I'd post this one again and solicit a response:
----------------------------------------
Great to see some more external lexer plugin lovin'. If this patch is going
to be included in an upcoming release (5.1.4?) would it be possible to also
add in two other changes for external lexers to handle indicators without the
need to patch either the scintilla or notepad++ source?

The two changes are needed to ensure that indicators can be handled in the same
fashion (from a users perspective) as any other style. When switching languages
the indicators would be removed and when changing colors of a incidicator's
style in the Style Preferences dialog they would be reflected as the user makes
the selection.

The changes are outlined in two feature requests:
Clearing the document style on language change (which is now a part of
Scintilla):
https://sourceforge.net/tracker2/?func=detail&aid=2454982&group_id=95717&atid=61
2385
Notification of change to the style.xml to plugins:
https://sourceforge.net/tracker2/?func=detail&aid=2475348&group_id=95717&atid=61
2385

It would be great not to be forked. What do you think?

almostautomated

BTW: I'm very interested in testing out a fixed external lexer binary and sent
you an at d o n . h @ f r e e . f r

______________________________________________________________________
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



------------------------------

------------------------------------------------------------------------------


------------------------------

_______________________________________________
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 63
*************************************************

Reply via email to