Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 03, 2015, 03:55:49 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Request: Copy Code To Clipboard  (Read 3167 times)

tinjaw

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • View Profile
    • Read more about this member.
    • Donate to Member
Request: Copy Code To Clipboard
« on: February 29, 2008, 10:54:28 AM »
It would be nice to have a link to copy the code in a [code][/code] as ascii text to the clipboard.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,219
    • View Profile
    • Coding Snacks by Lanux128
    • Donate to Member
Re: Request: Copy Code To Clipboard
« Reply #1 on: March 17, 2008, 10:52:06 AM »
i'd second this. the AHK forums have a similar feature to copy code and it is very helpful, especially for long lines of code..

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 8,858
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Donate to Member
Re: Request: Copy Code To Clipboard
« Reply #2 on: March 17, 2008, 11:26:45 AM »
What, you actually mind stripping the linenumbers and fixing tabs manually? ;P
- carpe noctem

tinjaw

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Request: Copy Code To Clipboard
« Reply #3 on: March 17, 2008, 11:35:00 AM »
I forget where I saw it, but one forum had a neat bit of code that switched between code formatted for reading and code formatted for C&Ping. You would view it for reading, with line numbers, and clicking a button would change it to copyable code and select all so you could just <Ctrl> + C for the copy.