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
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

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: Problems Changing       Comment Font
      (SourceForge.net)
   2. [notepad-plus - Help] RE: Default file path? (SourceForge.net)
   3. [notepad-plus - Open Discussion] RE: Notepad++    4.9 release
      (May be UNSTABLE) (SourceForge.net)
   4. [notepad-plus - Open Discussion] RE: Notepad++    4.9 release
      (May be UNSTABLE) (SourceForge.net)
   5. [notepad-plus - Open Discussion] RE: Very Slow    Replacement in
      Column Selections (SourceForge.net)
   6. [notepad-plus - Plugin Development] RE: plugin    communication
      (SourceForge.net)
   7. [notepad-plus - Plugin Development] Events to     plugin in
      reverse order? (SourceForge.net)
   8. [notepad-plus - Open Discussion] RE: Notepad++    4.9 release
      (May be UNSTABLE) (SourceForge.net)
   9. [notepad-plus - Plugin Development] RE: Events    to plugin in
      reverse order? (SourceForge.net)
  10. [notepad-plus - Open Discussion] RE: Notepad++    4.9 release
      (May be UNSTABLE) (SourceForge.net)


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

Message: 1
Date: Mon, 28 Apr 2008 00:26:51 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Problems
        Changing        Comment Font
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4932332
By: nobody

http://sourceforge.net/forum/message.php?msg_id=4263950


______________________________________________________________________
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, 28 Apr 2008 00:58:55 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Default file
        path?
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4932404
By: nobody

This thread seems to completely fail to answer the question. I remember pre
this last update, if I clicked on 'open' or 'save' whilst I was looking at ANY
file, it would show the directory the file was residing in. This does not do
that anymore and it is frustrating. No doubt like many I edit files in more
than one directory, so I really hope this gets a proper fix soon.

Mosey

______________________________________________________________________
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, 28 Apr 2008 01:03:11 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
        Notepad++       4.9 release (May be UNSTABLE)
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4932415
By: nobody

That's another easy answer.

Someone adds functionality to Notepad++ which has an effect on the normal 
behavior,
without even using this new functionality. When I report that, _I_ have to fix
that???


______________________________________________________________________
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, 28 Apr 2008 01:12:35 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
        Notepad++       4.9 release (May be UNSTABLE)
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4932430
By: mcloo

I'm glad that drag'n drop got fixed, but bug 1909699 still persists...
 http://sourceforge.net/tracker/index.php?func=detail&aid=1909699&group_id=95717
&atid=612382

regards
McLoo

______________________________________________________________________
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: Mon, 28 Apr 2008 02:46:12 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: Very
        Slow    Replacement in Column Selections
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4932602
By: fool4uanyway

The replace regex was for use with TextCrawler. I hope that was clear.

However, in TextClawler grouped expressions are referred to by a $ sign + their
number.
Here are the correct replace terms.

So, if you want to delete the columns 30-50 the Find and Replace fields would
have something like this:
 
Find field: 
^(.{29})(.{21})(.*$) 
Replace field: 
$1$3 
 
Or, if you don't (want to) group the second column range (there is no need to):
 
Find field: 
^(.{29}).{21}(.*$) 
Replace field: 
$1$2 

If you have tab separated columns, your expression may have to be more complex
to account for varying character width of column field data. But you can 
probably
use the tab character as a separator then, perhaps even allowing something like
"(\.\t){3}". I didn't check this, however.


______________________________________________________________________
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, 28 Apr 2008 02:46:17 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        plugin  communication
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4932603
By: nobody

Ok got it.
Thanks
/Bj?rn

______________________________________________________________________
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, 28 Apr 2008 02:59:23 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development]
        Events to       plugin in reverse order?
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4932625
By: nobody

Hi again list!

I try to make a plugin that implements a home made 
locking mechanism for certain opened files.

basically I want to put a file 'filename'.lockfile into 
the file's directory when it is opened. However, if there already
exists a lockfile I want to open the file in read only mode.
There are legacy reasons for this...

Questions:
1 - Can I tell npp to open a file readonly? If so, how?
    I cannot see anything obvious in the plugin interface.

2 - I managed to get a plugin working to write the filename of files I  
    open and close, to a debug file. I catch, in beNotified, the events
    NPPN_FILEBEFORECLOSE
    NPPN_FILEOPENED     
    NPPN_FILECLOSED     
    NPPN_FILEBEFOREOPEN 
    and ask for the filename.
    But the log suggets that FILEOPENED arrives before FILEBEFOREOPEN
    and FILECLOSED arrives before FILEBEFORECLOSE.

    Does this happen in c/c++ plugins as well, or am I to look
    for realtime phenomenas?
    
   Values used, from Notepad_plus_msgs.h
   NPPN_FIRST           : constant Unsigned := 1000;
   NPPN_READY           : constant Unsigned := NPPN_FIRST + 1 ; 
   -- To notify plugins that all the procedures of launchment of notepad++ are
done.
   NPPN_TBMODIFICATION  : constant Unsigned := NPPN_FIRST + 2 ; 
   -- To notify plugins that toolbar icons can be registered
   NPPN_FILEBEFORECLOSE : constant Unsigned := NPPN_FIRST + 3 ; 
   -- To notify plugins that the current file is about to be closed
   NPPN_FILEOPENED      : constant Unsigned := NPPN_FIRST + 4 ; 
   -- To notify plugins that the current file is just opened
   NPPN_FILECLOSED      : constant Unsigned := NPPN_FIRST + 5 ; 
   -- To notify plugins that the current file is just closed
   NPPN_FILEBEFOREOPEN  : constant Unsigned := NPPN_FIRST + 6 ;
   -- To notify plugins that the current file is about to be opened
   NPPN_FILEBEFORESAVE  : constant Unsigned := NPPN_FIRST + 7 ; 
   -- To notify plugins that the current file is about to be saved
   NPPN_FILESAVED       : constant Unsigned := NPPN_FIRST + 8 ; 
   -- To notify plugins that the current file is just saved
   NPPN_SHUTDOWN        : constant Unsigned := NPPN_FIRST + 9 ; 
   -- To notify plugins that Notepad++ is about to be shutdowned.


I'm using npp 4.8.2 for this test.
/Bj?rn



  


______________________________________________________________________
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: Mon, 28 Apr 2008 04:11:20 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
        Notepad++       4.9 release (May be UNSTABLE)
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4932732
By: nobody

> This doesn't work when you use "Search in all open files" and in the list
with the search
> results scroll down the results list and doubleclick a line, say 330.
> The last displayed line will be 329.

I'll see if I can get this fixed in the next release :).

> Double click a word you see multiple in a document --> F3 resp. shift+F3 won't
work then.
> Crtl+f same very word, esc from dialog, F3 resp. shift+F3 works.  
> Small bug. 

What you probably want is volatile search, which uses the Ctrl modifier :). 
I tried it in Wordpad for comparison, it uses the exact same behaviour

> Notepad++ had opened my last session as expected, but now in each document
where a selection was stored,
> the selection was used for highlighting throughout
> the document automatically. I don't like this and I don't think Notepad++
should (have).

Yet smart hilite does exactly what it should: highlight your selection. What
you're asking for is some wierd exception that only occurs on file open.
Imo, thats not user friendly. Since your selection is probably one word, why
not deselect the word but keep the cursor at its location?
This is something that probably goes alogn the same route as horizontal scroll,
nobody agreed on any option :).
Also, imo its programatically very inconvienient to have to make these kind
of checks.


-Harry

______________________________________________________________________
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, 28 Apr 2008 04:37:52 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
        Events  to plugin in reverse order?
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4932762
By: nobody

Just to clearify, I get the following messages when openeing and closing npp.
it loads 3 files from last session,
config.xml, langs.xml and doLocalConf.xml

Each plugin function called, writes its name, and sometimes some of its
arguments
it was called with.
beNotified also calls SendMessage as  
 Result := Win32.Winuser.SendMessage(
                         hWnd => Global_Npp_Data.nppHandle,
                         Msg => NPPM_GETFULLCURRENTPATH,
                         wParam => Path_Buffer'length,
                         lParam => Win32_Style_C_Path_Pointer);
 and prints the result along with the values pointed by
Win32_Style_C_Path_Pointer

Interesting to see is 
 - where is the call for 'new 1' FILEOPENED?
 - where is the call for doLocalConf.xml FILEBEFOREOPEN?
 - where is the call for doLocalConf.xml FILECLOSED?


Why is 'new 1' and 'new 2' referencead at all?
'new 1' perhaps npp does not know that is should load
last session at that moment, I guess, but 'new 2'?

------From log-------
getFuncsArray
setInfo
setInfo - nppHandle is set
setInfo - scintillaMainHandle is set
setInfo - scintillaSecondHandle is set
setInfo done
getName
messageProc -  p1,p2 -> 3,  0
beNotified - NPPN_TBMODIFICATION
messageProc -  p1,p2 -> 1,  0
messageProc -  p1,p2 -> 36,  0
messageProc -  p1,p2 -> 3,  0
messageProc -  p1,p2 -> 5,  0
beNotified - NPPN_FILEBEFOREOPEN start
beNotified - Result : 1
beNotified - Path_Pointer:'new 1'
beNotified - NPPN_FILEBEFOREOPEN stop
beNotified - NPPN_FILEOPENED start
beNotified - Result : 1
beNotified - Path_Pointer:'D:\npp_source\PowerEditor\visual.net\Debug\config.xml
'
beNotified - NPPN_FILEOPENED stop
beNotified - NPPN_FILEBEFOREOPEN start
beNotified - Result : 1
beNotified - Path_Pointer:'D:\npp_source\PowerEditor\visual.net\Debug\config.xml
'
beNotified - NPPN_FILEBEFOREOPEN stop
beNotified - NPPN_FILEOPENED start
beNotified - Result : 1
beNotified - Path_Pointer:'D:\npp_source\PowerEditor\visual.net\Debug\langs.xml'
beNotified - NPPN_FILEOPENED stop
beNotified - NPPN_FILEBEFOREOPEN start
beNotified - Result : 1
beNotified - Path_Pointer:'D:\npp_source\PowerEditor\visual.net\Debug\langs.xml'
beNotified - NPPN_FILEBEFOREOPEN stop
beNotified - NPPN_FILEOPENED start
beNotified - Result : 1
beNotified - Path_Pointer:'D:\npp_source\PowerEditor\visual.net\Debug\doLocalCon
f.xml'
beNotified - NPPN_FILEOPENED stop
beNotified - NPPN_READY
messageProc -  p1,p2 -> 36,  0
messageProc -  p1,p2 -> 36,  0
messageProc -  p1,p2 -> 3,  0
messageProc -  p1,p2 -> 5,  2
messageProc -  p1,p2 -> 28,  0
beNotified - NPPN_FILEBEFORECLOSE start
beNotified - Result : 1
beNotified - Path_Pointer:'D:\npp_source\PowerEditor\visual.net\Debug\doLocalCon
f.xml'
beNotified - NPPN_FILEBEFORECLOSE stop
messageProc -  p1,p2 -> 5,  0
beNotified - NPPN_FILECLOSED start
beNotified - Result : 1
beNotified - Path_Pointer:'D:\npp_source\PowerEditor\visual.net\Debug\langs.xml'
beNotified - NPPN_FILECLOSED stop
beNotified - NPPN_FILEBEFORECLOSE start
beNotified - Result : 1
beNotified - Path_Pointer:'D:\npp_source\PowerEditor\visual.net\Debug\langs.xml'
beNotified - NPPN_FILEBEFORECLOSE stop
messageProc -  p1,p2 -> 5,  0
beNotified - NPPN_FILECLOSED start
beNotified - Result : 1
beNotified - Path_Pointer:'D:\npp_source\PowerEditor\visual.net\Debug\config.xml
'
beNotified - NPPN_FILECLOSED stop
beNotified - NPPN_FILEBEFORECLOSE start
beNotified - Result : 1
beNotified - Path_Pointer:'D:\npp_source\PowerEditor\visual.net\Debug\config.xml
'
beNotified - NPPN_FILEBEFORECLOSE stop
messageProc -  p1,p2 -> 5,  0
messageProc -  p1,p2 -> 5,  0
beNotified - NPPN_FILECLOSED start
beNotified - Result : 1
beNotified - Path_Pointer:'new 2'
beNotified - NPPN_FILECLOSED stop
beNotified - NPPN_SHUTDOWN
messageProc -  p1,p2 -> 28,  0
------log end -----------

/Bj?rn

______________________________________________________________________
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: Mon, 28 Apr 2008 04:55:30 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
        Notepad++       4.9 release (May be UNSTABLE)
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4932786
By: fool4uanyway

Because that selection tells me what I was working on, i.e. what I still have
to change, for example. Since I am not searching for anything, I also do not
want anything to be highlighted. This is _not_ an exception. The highlighting
behavior is exceptional, here.


______________________________________________________________________
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



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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

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

_______________________________________________
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 23, Issue 76
*************************************************

Reply via email to