Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I posted a small python snippet. Highlighted version works fine, but the raw version strips the leading whitespace, which is rather important in this case. (See: http://codr.cc/57F58EAAED)


Would the creator be able to add in a copy function to the highlighted code to remove the line numbers?


The line numbers don't get copied to the clipboard when you copy and paste from the highlighted version.


But when you're highlighting the code to copy, the line numbers get highlighted which doesn't inspire much confidence


What browser are you using? If it helps this behavior is NOT repeatable on windows in FF3.6, IE8, BUT observable in Chrome 9.


I see. I'll work on it. Thanks!




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: