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 - Open Discussion] RE: Can I use column
numbers? (grid) (SourceForge.net)
2. [notepad-plus - Open Discussion] RE: REQ: <strong>, <em> etc.
shortcuts (SourceForge.net)
3. [notepad-plus - Open Discussion] RE: Column mode selection
alternative (SourceForge.net)
4. [notepad-plus - Open Discussion] RE: Column mode selection
alternative (SourceForge.net)
5. [notepad-plus - Open Discussion] RE: Column mode selection
alternative 2 (SourceForge.net)
6. [notepad-plus - Open Discussion] RE: Double hotkey: Alt-L
(SourceForge.net)
7. [notepad-plus - Plugin Development] RE: Hex-Editor v0.9.3
ANSI/UNI released (SourceForge.net)
8. [notepad-plus - Plugin Development] RE: Hex-Editor v0.9.3
ANSI/UNI released (SourceForge.net)
9. [notepad-plus - Plugin Development] Unicode NppInsertPlugin
(SourceForge.net)
10. [notepad-plus - Open Discussion] RE: Can I use column
numbers? (grid) (SourceForge.net)
11. [notepad-plus - Plugin Development] RE: Update plugin
messages in Npp v5 (SourceForge.net)
----------------------------------------------------------------------
Message: 1
Date: Fri, 27 Mar 2009 16:40:36 +0000
From: "SourceForge.net" <[email protected]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: Can
I use column numbers? (grid)
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=6984959
By: cchris
When you click right before the first character of the information string,
doesn't
this info show up in the status bar?
If the clicks are a problem, you cn always make your own ruler and turn line
numbers on in Preferences. The ruler could be in two lines of text:
_________1_________2_________3__...
12345678901234567890123456789012...
or any variant which you'd find z
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: 2
Date: Fri, 27 Mar 2009 21:25:06 +0000
From: "SourceForge.net" <[email protected]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: REQ:
<strong>, <em> etc. shortcuts
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=6987835
By: ffes
Downloaded it and it works fine so far. Thanks for the 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=331753
------------------------------
Message: 3
Date: Fri, 27 Mar 2009 21:35:37 +0000
From: "SourceForge.net" <[email protected]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
Column mode selection alternative
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=6988205
By: fool4uanyway
Here's an alternative approach.
Select all complete lines.
Press Ctrl+D to duplicate them.
Press Ctrl+R to open the advanced Find/Replace dialog.
Check the Regular Expression checkbox.
Check the Selection checkbox.
Uncheck any other checkbox.
In the Find field, enter:
^(..).*
In the Replace field, enter:
\1
Replace all occurrences.
Now you should have what you want, in this example.
Use as many dots between the parentheses (..) as the number of characters you
want keep.
______________________________________________________________________
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: Fri, 27 Mar 2009 21:38:18 +0000
From: "SourceForge.net" <[email protected]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
Column mode selection alternative
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=6988225
By: fool4uanyway
I am sorry. I am mistaken here. You want to keep the first (up to) 4 characters
of all lines.
You should use the following regular expression in the Find field:
^(....).*
Lines shorter than 4 characters won't match. However, there is no need at all
to change them anyway.
______________________________________________________________________
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: Fri, 27 Mar 2009 22:30:04 +0000
From: "SourceForge.net" <[email protected]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
Column mode selection alternative 2
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=6988556
By: fool4uanyway
Here is yet another approach, using a regular expression as well, but also using
column mode of the advanced Find/Replace dialog.
Select all desired lines.
Press Ctrl+D to create your copy of the orginal to work on.
Press Ctrl+R to open the advanced Find/Replace dialog.
Check the Regular Expression checkbox.
Check the Selection checkbox.
Uncheck any other checkbox.
In the Find field, enter:
.
Leave the Replace field blank.
Just above the Cancel button, replace the #-# columns text with:
5-
Press the Find button.
Press the Replace Rest button.
This should eat all characters _after_ the fourth position (so _from_ position
5), one by one, leaving you with what you want.
Strangely enough, the regular expression .* won't work with these options. This
should eat the "rest of each line" at once, instead of the character by
character
removal.
So you could also enter 5-5 as the desired column range.
______________________________________________________________________
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: Fri, 27 Mar 2009 22:50:38 +0000
From: "SourceForge.net" <[email protected]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE:
Double hotkey: Alt-L
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=6988983
By: randombystander
I think this was discussed before but I can't find the thread, but you can
disable
the Alt+L key combo for "Comparing tto last save" through
Settings-Shortcut Mapper-Plugin Commands.
______________________________________________________________________
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: 7
Date: Fri, 27 Mar 2009 23:58:04 +0000
From: "SourceForge.net" <[email protected]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
Hex-Editor v0.9.3 ANSI/UNI released
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=6989713
By: jenslorenz
Ok, I will think about to change it back.
Jens
______________________________________________________________________
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: Sat, 28 Mar 2009 00:04:29 +0000
From: "SourceForge.net" <[email protected]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
Hex-Editor v0.9.3 ANSI/UNI released
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=6989750
By: jenslorenz
Which dialog do you mean exactly?
Jens
______________________________________________________________________
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: Fri, 27 Mar 2009 16:33:02 +0000
From: "SourceForge.net" <[email protected]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development]
Unicode NppInsertPlugin
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=6984896
By: sdaau
Hi all,
Just needed a timestamp in Notepad++, which turns out was in the old NppInsert
plugin.. But that is not Unicode, like the new versions of Notepad++, so I used
some time on making the source of it work under Unicode. So far I just got the
strings to print properly (since I only needed a timestamp) the rest of the
plugin probably does not work.
I've uploaded the zip here:
https://sourceforge.net/tracker/download.php?group_id=189927&atid=931291&file_id
=319918&aid=2717155
added it as a "patch" here
https://sourceforge.net/tracker/?func=detail&aid=2717155&group_id=189927&atid=93
1291
Had to use a couple of other Unicode plugins as example
http://dfn.dl.sourceforge.net/sourceforge/npp-plugins/MultiClipboard_2.0.0_unico
de_src.zip
http://garr.dl.sourceforge.net/sourceforge/npp-plugins/Explorer_1_8_1_src.zip
to get everything to work... There is a dll in the zip as well.
Hope this can help,
Cheers..
______________________________________________________________________
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: Fri, 27 Mar 2009 16:40:36 +0000
From: "SourceForge.net" <[email protected]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: Can
I use column numbers? (grid)
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=6984960
By: cchris
When you click right before the first character of the information string,
doesn't
this info show up in the status bar?
If the clicks are a problem, you cn always make your own ruler and turn line
numbers on in Preferences. The ruler could be in two lines of text:
_________1_________2_________3__...
12345678901234567890123456789012...
or any variant which you'd find z
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: Fri, 27 Mar 2009 16:55:25 +0000
From: "SourceForge.net" <[email protected]>
Subject: [Notepad-plus-plus] [notepad-plus - Plugin Development] RE:
Update plugin messages in Npp v5
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=6985054
By: aathell
Don,
With the current placement of NPPN_FILEBEFOREOPEN you're right that
NPPN_FILEOPENFAILED would have no purpose, yet it also is not the first
notification
to a plugin about the document. With the current placement the
MainFileManager->loadFile(longFileName) will (if the document loads
successfully)
cause Scintilla to send out the first notification for a document ( SCN_MODIFIED
with SC_MOD_BEFOREINSERT ).
That's why, IMO, it would be beneficial to have the NPPN_FILEBEFOREOPEN actually
fire before the load so that plugins could also utilize a _isFaileOpening flag
of their own. And, if a plugin utilizes such a flag, then it would also have
to have a NPPN_FILEOPENFAILED, so that the flag could be reset in the case of
a BUFFER_INVALID.
Perhaps explaining how this came about would better illustrate the point...
While working on the NppPlugin_ChangeMarker a test was done of opening a file
after NPPN_READY was set. When the file opened all lines where marked
as changed.
This happens because the MainFileManager->loadFile routine calls the
FileManager::loadFileData and executes SCI_APPENDTEXT, which in turn executes
Scintilla's InsertString function for the document which fires off the
notification
of SCN_MODIFIED.
In order to make use of NPPN_FILEBEFOREOPEN it needs be sent prior to the
SCN_MODIFIED. In the mean time a std::set<int> _openDocs is working.
So, what do you think? Worthwhile to change? Or leave it up to the plugin?
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
------------------------------
------------------------------------------------------------------------------
------------------------------
_______________________________________________
Notepad-plus-plus mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/notepad-plus-plus
End of Notepad-plus-plus Digest, Vol 34, Issue 64
*************************************************