Two suggested improvements to the code block function RRS feed

  • General discussion

  • 1. Have a button which will toggle between horizontal scrolling or line-wrapping.

    2. Have a "Copy Code" button.

    Poshcode has got the wrap toggle, so it can't be so hard.  It would be a great compromise between those who hate the new horizontal scroll bar (Myself, and many others), and those who love it (unkown number + the people whose idea it was).

    Grant Ward, a.k.a. Bigteddy

    What's new in Powershell 3.0 (Technet Wiki)

    • Changed type Bigteddy Thursday, April 19, 2012 6:26 PM
    Thursday, April 19, 2012 4:45 PM

All replies

  • Also, if we started to type and clicked code block button later, don't remove carriage returns from that block.

    Also, in the normal code somehow it seems to be complex to enter carriage return. Say, recently I was typing

    1. One

    2. Two

    3. Three

    and the end-result was without carriage returns. I had to manually insert <br/> into the HTML. Surprisingly it worked fine now.

    For every expert, there is an equal and opposite expert. - Becker's Law

    My blog

    • Edited by Naomi N Thursday, April 19, 2012 5:38 PM
    Thursday, April 19, 2012 5:37 PM