зеркало из https://github.com/mozilla/pjs.git
Goto Line (Ctrl+L) in view-source couldn't go to the last line, b=253905, r+sr=bzbarsky
This commit is contained in:
Родитель
96068d8907
Коммит
3d041207b7
|
@ -520,7 +520,7 @@ function findLocation(pre, line, node, offset, interlinePosition, result)
|
|||
}
|
||||
}
|
||||
|
||||
return found;
|
||||
return found || ("range" in result);
|
||||
}
|
||||
|
||||
//function to toggle long-line wrapping and set the view_source.wrap_long_lines
|
||||
|
|
|
@ -526,7 +526,7 @@ function findLocation(pre, line, node, offset, interlinePosition, result)
|
|||
}
|
||||
}
|
||||
|
||||
return found;
|
||||
return found || ("range" in result);
|
||||
}
|
||||
|
||||
//function to toggle long-line wrapping and set the view_source.wrap_long_lines
|
||||
|
|
Загрузка…
Ссылка в новой задаче