parent
f1e1f6be87
commit
4e4d9d95ce
|
@ -752,6 +752,9 @@ BOOL Notepad_plus::notify(SCNotification *notification)
|
||||||
// which are closest to the clicked position.
|
// which are closest to the clicked position.
|
||||||
for (int32_t i = static_cast<int32_t>(position_of_click); i >= 0; --i)
|
for (int32_t i = static_cast<int32_t>(position_of_click); i >= 0; --i)
|
||||||
{
|
{
|
||||||
|
if (i >= static_cast<int32_t>(bufstring.size()))
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
if (bufstring.at(i) == nppGUI._leftmostDelimiter)
|
if (bufstring.at(i) == nppGUI._leftmostDelimiter)
|
||||||
{
|
{
|
||||||
// Respect escaped quotation marks.
|
// Respect escaped quotation marks.
|
||||||
|
|
Loading…
Reference in New Issue