Discussion:
[Notepad-plus-plus] [notepad-plus - Plugin Development] SCI_REPLACESEL: insert NULL
SourceForge.net
2009-08-30 18:47:10 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7597263
By: lorenzmpower

hi, i was trying to create i little plugin that uses openssl to provide some
symmetric ciphers and hash functions. My problem is, that SCI_REPLACESEL expects
a 0-terminated string, but it can happen that the encrypted data includes 0-bytes.
Notepad++ displays 0-chars (black rectangle with NULL in it), so everything
would be fine, if SCI_REPLACESEL expected a string-size as second parameter.
Is it somehow possible to insert a NULL char? thx alot!

______________________________________________________________________
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
SourceForge.net
2009-08-30 21:23:28 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7597410
By: cchris

An option could be to take a detour by the target:
SCI_TARGETFROMSELECTION makes the target equal to the selection
SCI_REPLACETARGET performs a counted string replace

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
SourceForge.net
2009-08-31 09:37:39 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7598415
By: lorenzmpower

works fine. thx

______________________________________________________________________
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
SourceForge.net
2009-08-31 13:17:25 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7599066
By: lorenzmpower

ok. in case someone wants to try it: here is the first version of my little
nppcrypt:
http://www.cerberus-design.de/nppcrypt.zip

______________________________________________________________________
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
SourceForge.net
2009-09-11 18:31:04 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7625203
By: cchris

Is this supposed to be still a test/prealpha version, or can it be put on display
on the wiki?

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

Loading...