зеркало из https://github.com/mozilla/pjs.git
Bug 186683 ###!!! ASSERTION: |First()| on an empty string: 'Length()>0', file i:/build/mozilla/string/src/nsAString.cpp, line 136
r=aaronl sr=bz
This commit is contained in:
Родитель
5d7f9a2a14
Коммит
c90d358643
|
@ -639,8 +639,9 @@ nsTypeAheadFind::HandleBackspace()
|
|||
|
||||
// ---------- No chars in string ------------
|
||||
if (mTypeAheadBuffer.IsEmpty() || !mStartFindRange) {
|
||||
if (mRepeatingMode == eRepeatingChar ||
|
||||
mRepeatingMode == eRepeatingCharReverse) {
|
||||
if (!mFindNextBuffer.IsEmpty() &&
|
||||
(mRepeatingMode == eRepeatingChar ||
|
||||
mRepeatingMode == eRepeatingCharReverse)) {
|
||||
// Backspace to find previous repeated char
|
||||
mTypeAheadBuffer = mFindNextBuffer;
|
||||
mFocusedDocSelection->GetRangeAt(0, getter_AddRefs(mStartFindRange));
|
||||
|
|
Загрузка…
Ссылка в новой задаче