Send Notepad-plus-plus mailing list submissions to
[email protected]
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: Reg Exp possible bug (SourceForge.net)
2. [notepad-plus - Plugin Development] RE: CCompletion 1.05
(SourceForge.net)
3. [notepad-plus - Help] QuickText not listing Ada (SourceForge.net)
4. [notepad-plus - Help] RE: Reg Exp possible bug (SourceForge.net)
5. [notepad-plus - Open Discussion] RE: BUG/Feature? Absurd
number of file handle (SourceForge.net)
6. [notepad-plus - Help] RE: replace end Line character!
(SourceForge.net)
7. [notepad-plus - Open Discussion] [BUG] NP++ 4.6 crash on
Vista X86 Ultimate (SourceForge.net)
8. [notepad-plus - Open Discussion] RE: BUG/Feature? Absurd
number of file handle (SourceForge.net)
9. [notepad-plus - Open Discussion] RE: [BUG] NP++ 4.6 crash on
Vista X86 Ultimat (SourceForge.net)
10. [notepad-plus - Open Discussion] RE: BUG/Feature? Absurd
number of file handle (SourceForge.net)
11. [notepad-plus - Help] User Define Dialog Folder Keyword
Priority (SourceForge.net)
12. [notepad-plus - Open Discussion] Searching: VC++ style
(SourceForge.net)
----------------------------------------------------------------------
Message: 1
Date: Mon, 26 Nov 2007 12:17:16 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Reg Exp
possible bug
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=4643226
By: nobody
I think it is the \d which is not working. Try [0-9] instead.
______________________________________________________________________
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, 26 Nov 2007 12:40:04 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
CCompletion 1.05
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=4643262
By: clrs530
Yes I meant the CCompletion search instead of the implemented. Only the way
it works is better :). Like you know it from Visual C++, Delphi.....
______________________________________________________________________
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: 3
Date: Mon, 26 Nov 2007 13:14:22 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] QuickText not
listing Ada
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=4643468
By: nobody
Hello,
I've noticed a strange bug: QuickText lists all available languages except one:
Ada. There is a blank entry in QuickText's language list where it might be,
but tags I define there are not interpreted.
Can somebody else confirm this or explain what might be the cause of this?
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: 4
Date: Mon, 26 Nov 2007 13:30:03 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Reg Exp
possible bug
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=4643489
By: nobody
It seems \d is also working. I have no problem using the complete reg ex. It
finds the two matches in your example.
______________________________________________________________________
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, 26 Nov 2007 14:19:11 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
BUG/Feature? Absurd number of file handle
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=4643936
By: pshute
Mine has only 114. Is it like that even after you close it and reopen it?
______________________________________________________________________
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, 26 Nov 2007 14:29:29 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: replace end
Line character!
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=4643951
By: pshute
Sorry, it should say:
Have a read of
http://notepad-plus.sourceforge.net/uk/newlineFindReplace-HOWTO.php
. The full stop at the end was included in the URL by the forum software.
______________________________________________________________________
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: Mon, 26 Nov 2007 14:56:11 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] [BUG]
NP++ 4.6 crash on Vista X86 Ultimate
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=4643988
By: nobody
Hello,
if I close the NP++ with closed "Light Explorer", then NP++ ends normal.
If the "Light Explorer" is visible, NP++ crashs with the following errors
(reported
by Vista):
Problemsignatur:
Problemereignisname: BEX
Anwendungsname: notepad++.exe
Anwendungsversion: 4.6.0.0
Anwendungszeitstempel: 4744a38e
Fehlermodulname: notepad++.exe
Fehlermodulversion: 4.6.0.0
Fehlermodulzeitstempel: 4744a38e
Ausnahmeoffset: 00050a61
Ausnahmecode: c000000d
Ausnahmedaten: 00000000
Betriebsystemversion: 6.0.6000.2.0.0.256.1
Gebietsschema-ID: 1031
Zusatzinformation 1: a313
Zusatzinformation 2: 0d42c24654b5c61bc825d062802066de
Zusatzinformation 3: 11cb
Zusatzinformation 4: a70360451ca1e2bb2d0663bb85a1e38b
Can anyone confirm this issue?
And how can I solve this?
______________________________________________________________________
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, 26 Nov 2007 15:21:02 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
BUG/Feature? Absurd number of file handle
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=4644488
By: donho
18000 file handles? How do you get this number?
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: 9
Date: Mon, 26 Nov 2007 15:28:36 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
[BUG] NP++ 4.6 crash on Vista X86 Ultimat
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=4644493
By: donho
Has anyone the same issue?
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: 10
Date: Mon, 26 Nov 2007 15:45:03 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
BUG/Feature? Absurd number of file handle
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=4644512
By: harrybharry
In the taskmanager under view you can choose 'select columns', you can pick
it from there (along with GDI handles, notepad snoops quite a few from those
too, although not excessive or anything ;))
Some plugin has been leaking handles apparantly, or notepad although I doubt
that. Try using one plugin at a time with heavy usage, see if it results in
anything
(and it doesnt have to be a file handle per se, any HANDLE will do afaik, like
threads)
______________________________________________________________________
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, 26 Nov 2007 15:59:02 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] User Define Dialog
Folder Keyword Priority
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=4644526
By: nobody
I have encountered the following problem when defining my own language
in Notepad++.
I have defined a folder with open as 'instr' and close as 'endin' and a keyword
as 'i' with prefix mode on. The keyword setting appears to take priority over
the folder setting and instr becomes coloured as a keyword. Is it possible to
change the priority?
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: 12
Date: Mon, 26 Nov 2007 16:07:29 -0800
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion]
Searching: VC++ style
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=4644537
By: s0larian
Hey there, I have just made a small fix to enable VC++ style search, where the
volatile search (Ctrl-F3 in my keys) puts the search item in the history, thus
allowing to continue searching with F3/Shift-F3.
My patch is below. It's not the cleanest, but is hopefully the smallest. An
invisible Find window is created in order to allow search re-runs.
Index: Notepad_plus.cpp
===================================================================
--- Notepad_plus.cpp (revision 73)
+++ Notepad_plus.cpp (working copy)
@@ -2543,21 +2543,28 @@
case IDM_SEARCH_VOLATILE_FINDNEXT :
case IDM_SEARCH_VOLATILE_FINDPREV :
{
+ // Ensure that the find dialog is created
+ _findReplaceDlg.createDialog(FIND_DLG, _isRTL);
+
+ // Get the focus back
+ ::SetFocus(_pEditView->_hSelf);
+
+ // Expand selection to a whole word if there is nothing selected
CharacterRange range = _pEditView->getSelection();
if (range.cpMin == range.cpMax)
{
_pEditView->expandWordSelection();
}
- else
- {
- char text2Find[MAX_PATH];
- _pEditView->getSelectedText(text2Find,
sizeof(text2Find));
- FindOption op;
- op._isWholeWord = false;
- op._whichDirection = (id ==
IDM_SEARCH_VOLATILE_FINDNEXT?DIR_DOWN:DIR_UP);
- _findReplaceDlg.processFindNext(text2Find, &op);
- }
+ // and now run a search
+ char text2Find[MAX_PATH];
+ _pEditView->getSelectedText(text2Find,
sizeof(text2Find));
+
+ FindOption op;
+ op._isWholeWord = false;
+ op._whichDirection = (id ==
IDM_SEARCH_VOLATILE_FINDNEXT?DIR_DOWN:DIR_UP);
+
+ _findReplaceDlg.processFindNext(text2Find, &op);
break;
}
case IDM_SEARCH_MARKALL :
Index: ScitillaComponent/FindReplaceDlg.cpp
===================================================================
--- ScitillaComponent/FindReplaceDlg.cpp (revision 73)
+++ ScitillaComponent/FindReplaceDlg.cpp (working copy)
@@ -176,7 +176,8 @@
if (enableDlgTheme)
enableDlgTheme(_hSelf, ETDT_ENABLETAB);
- goToCenter();
+ if (_dialogIsVisible)
+ goToCenter();
}
void FindReplaceDlg::updateCombos()
@@ -792,6 +793,11 @@
(*_ppEditView)->scroll(0, nbColumn2Scroll);
}
+
+ // We have successfully executed a search (volatile or normal) update
+ // search history with this new item
+ setSearchText(txt2find);
+
return true;
}
Index: ScitillaComponent/FindReplaceDlg.h
===================================================================
--- ScitillaComponent/FindReplaceDlg.h (revision 73)
+++ ScitillaComponent/FindReplaceDlg.h (working copy)
@@ -159,7 +159,8 @@
{
friend class FindIncrementDlg;
public :
- FindReplaceDlg() : StaticDialog(), _pFinder(NULL), _isRTL(false),
_isRecursive(true), _maxNbCharAllocated(1024), _fileNameLenMax(1024) {
+ FindReplaceDlg() : StaticDialog(), _pFinder(NULL), _isRTL(false),
_isRecursive(true), _maxNbCharAllocated(1024),
+ _fileNameLenMax(1024), _dialogIsVisible(false) {
_line = new char[_maxNbCharAllocated + 3];
_uniCharLine = new char[(_maxNbCharAllocated + 3) * 2];
_uniFileName = new char[(_fileNameLenMax + 3) * 2];
@@ -204,21 +205,28 @@
::SendMessage(::GetDlgItem(_hSelf, IDC_DISPLAYPOS_BOTTOM),
BM_SETCHECK,
BST_CHECKED, 0);
};
+ void createDialog(DIALOG_TYPE whichType, bool isRTL = false) {
+ if (!isCreated())
+ {
+ create(IDD_FIND_REPLACE_DLG, isRTL);
+ _isRTL = isRTL;
+ }
+
+ if (whichType == FINDINFILES_DLG)
+ enableFindInFilesFunc();
+ else
+ enableReplaceFunc(whichType == REPLACE_DLG);
+ }
+
void doDialog(DIALOG_TYPE whichType, bool isRTL = false) {
- if (!isCreated())
- {
- create(IDD_FIND_REPLACE_DLG, isRTL);
- _isRTL = isRTL;
- }
+ createDialog(whichType, isRTL);
- if (whichType == FINDINFILES_DLG)
- enableFindInFilesFunc();
- else
- enableReplaceFunc(whichType == REPLACE_DLG);
+ _dialogIsVisible = true;
::SetFocus(::GetDlgItem(_hSelf, IDFINDWHAT));
display();
- };
+ }
+
bool processFindNext(const char *txt2find, FindOption *options = NULL);
bool processReplace();
@@ -301,8 +309,8 @@
bool _doMarkLine;
bool _doStyleFoundToken;
bool _isInSelection;
+ bool _dialogIsVisible;
-
RECT _findClosePos, _replaceClosePos, _findInFilesClosePos;
ScintillaEditView **_ppEditView;
______________________________________________________________________
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------
_______________________________________________
Notepad-plus-plus mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/notepad-plus-plus
End of Notepad-plus-plus Digest, Vol 18, Issue 80
*************************************************