1 Nov 2011 01:03
SVN: [101440] trunk/parsers/wikidom/lib/hype/views/es.ContentView.js
<tparscal <at> svn.wikimedia.org>
2011-11-01 00:03:07 GMT
2011-11-01 00:03:07 GMT
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/101440 Revision: 101440 Author: tparscal Date: 2011-11-01 00:03:06 +0000 (Tue, 01 Nov 2011) Log Message: ----------- Added fallback to last line to getRenderedLineRange Modified Paths: -------------- trunk/parsers/wikidom/lib/hype/views/es.ContentView.js Modified: trunk/parsers/wikidom/lib/hype/views/es.ContentView.js =================================================================== --- trunk/parsers/wikidom/lib/hype/views/es.ContentView.js 2011-10-31 23:49:03 UTC (rev 101439) +++ trunk/parsers/wikidom/lib/hype/views/es.ContentView.js 2011-11-01 00:03:06 UTC (rev 101440) <at> <at> -257,6 +257,8 <at> <at> /** * Gets the index of the rendered line a given offset is within. * + * Offsets that are out of range will always return the index of the last line. + * * <at> method * <at> param {Integer} offset Offset to get line for * <at> returns {Integer} Index of rendered lin offset is within <at> <at> -273,9 +275,11 <at> <at> /** * Gets the range of the rendered line a given offset is within. *(Continue reading)
RSS Feed