Page MenuHomePhabricator

Get line count before truncating Paste snippets
ClosedPublic

Authored by faulconbridge on Mar 1 2017, 9:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 16 2026, 2:36 PM
Unknown Object (File)
Apr 14 2026, 7:56 PM
Unknown Object (File)
Apr 14 2026, 5:03 AM
Unknown Object (File)
Apr 5 2026, 12:17 AM
Unknown Object (File)
Apr 4 2026, 1:26 AM
Unknown Object (File)
Apr 4 2026, 1:21 AM
Unknown Object (File)
Apr 4 2026, 1:16 AM
Unknown Object (File)
Apr 3 2026, 11:08 AM
Subscribers

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
Branch
T12338
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 15838
Build 20953: Run Core Tests
Build 20952: arc lint + arc unit