Page MenuHomePhabricator

Get line count before truncating Paste snippets
ClosedPublic

Authored by faulconbridge on Mar 1 2017, 9:27 PM.

Details

Summary

Fixes T12338. Resolves an issue where long pastes would be truncated before getting a line count, resulting in an inaccurate line count being returned.

Test Plan

Made a large paste, verified that it displayed the correct number of lines.

Diff Detail

Repository
rP Phabricator
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

faulconbridge created this revision.Mar 1 2017, 9:27 PM
epriestley accepted this revision.Mar 1 2017, 10:21 PM
This revision is now accepted and ready to land.Mar 1 2017, 10:21 PM
This revision was automatically updated to reflect the committed changes.