fabrizio gennari
2009-10-21 16:22:59 UTC
In Notepad++, if Extended find is selected, and the search string
contains \0, find will work inocrrectly, because \0 will incorrectly
be
interpreted as the end of the string. The same feature works OK in
SciTE.
Attached is a patch which fixes this. Instead of using strlen
to get the length of the search string, the return value Searching::
convertExtendedToString() is used. This includes the \0 character and
possible characters following it.
Regards,
Fabrizio
Passa a Tiscali Tutto Incluso Light: telefono + adsl 8 Mb senza limiti a soli 9,95 euro al mese fino al 01/04/2010.
Gratis la Sim Tiscali Mobile con 25 euro di traffico.
Lâofferta Ú valida solo se attivi entro il 22/10/09
http://abbonati.tiscali.it/telefono-adsl/prodotti/tc/tuttoincluso_light/?WT.mc_id=01fw
contains \0, find will work inocrrectly, because \0 will incorrectly
be
interpreted as the end of the string. The same feature works OK in
SciTE.
Attached is a patch which fixes this. Instead of using strlen
to get the length of the search string, the return value Searching::
convertExtendedToString() is used. This includes the \0 character and
possible characters following it.
Regards,
Fabrizio
Passa a Tiscali Tutto Incluso Light: telefono + adsl 8 Mb senza limiti a soli 9,95 euro al mese fino al 01/04/2010.
Gratis la Sim Tiscali Mobile con 25 euro di traffico.
Lâofferta Ú valida solo se attivi entro il 22/10/09
http://abbonati.tiscali.it/telefono-adsl/prodotti/tc/tuttoincluso_light/?WT.mc_id=01fw