mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-18 06:45:33 +00:00
Goto Line (Ctrl+L) in view-source couldn't go to the last line, b=253905, r+sr=bzbarsky
This commit is contained in:
parent
954aebf8c7
commit
44f9563249
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user