Page MenuHomePhabricator

Support text encoding and syntax highlighting options in document rendering
ClosedPublic

Authored by epriestley on Mar 30 2018, 6:15 PM.
Tags
None
Referenced Files
F15418972: D19274.diff
Fri, Mar 21, 2:45 AM
F15283377: D19274.id46135.diff
Tue, Mar 4, 7:05 AM
Unknown Object (File)
Mon, Feb 24, 6:25 PM
Unknown Object (File)
Mon, Feb 24, 1:28 PM
Unknown Object (File)
Feb 16 2025, 12:49 PM
Unknown Object (File)
Jan 31 2025, 4:38 AM
Unknown Object (File)
Jan 30 2025, 6:00 PM
Unknown Object (File)
Jan 28 2025, 1:30 AM
Subscribers
None

Details

Summary

Depends on D19273. Ref T13105. Adds "Change Text Encoding..." and "Highlight As..." options when rendering documents, and makes an effort to automatically detect and handle text encoding.

Test Plan
  • Uploaded a Shift-JIS file, saw it auto-detect as Shift-JIS.
  • Converted files between encodings.
  • Highlighted various things as "Rainbow", etc.

Diff Detail

Repository
rP Phabricator
Branch
doce2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 19956
Build 27054: Run Core Tests
Build 27053: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Mar 30 2018, 6:28 PM
This revision was automatically updated to reflect the committed changes.