sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
812 stars 39 forks source link

Ability to have line numbers in the print feature. #4038

Open UltraInstinct05 opened 3 years ago

UltraInstinct05 commented 3 years ago

Problem description

Currently, the File -> Print option will only print the current view as a temporary html file and prompts the browser to print it. But the file doesn't contain the line numbers. It would be helpful to either have it by default or as a arg for the html_print command.

Preferred solution

Have a way to have line numbers in the printed html.

Alternatives

???

Additional Information (optional)

ST Version: ST Build 4099 (dev) OS: Windows 10 Build 10.0.19041 Architecture: 64bit Processor: Intel64 Family 6 Model 126 Stepping 5, GenuineIntel

michaelblyons commented 3 years ago

Alternatives

ExportHtml

I still use my plugin https://github.com/facelessuser/ExportHtml. While I appreciate what Sublime has added, I still use my plugin because I can setup print specific color schemes, show line numbers, output in a format I can copy and paste into emails, etc.

~ @facelessuser