topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday December 13, 2024, 10:45 pm
  • Proudly celebrating 15+ 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: Feature Request: Copy Code  (Read 9690 times)

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Feature Request: Copy Code
« on: April 29, 2009, 04:20 AM »
Maybe it's been here around, this question but still:
Maybe at this code input thing, there could be a thing when you click it it selects all the code inside it?

test

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: Feature Request: Copy Code
« Reply #1 on: April 30, 2009, 12:23 PM »
+1 to this feature, useful if can select and copy the code as well..

nogojoe

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 169
    • View Profile
    • Donate to Member
Re: Feature Request: Copy Code Mouser please
« Reply #2 on: May 01, 2009, 05:44 PM »
I guess you Coeluh are after something like they have at the AHK forums where they have the option to expand the code input window to show the full text of a multilined code.
I actually thought they did have an option at one stage to copy that code to the clipboard at AHK but it may have been on another sites forum.

I don't think it would be impossible just to have an input window that has code to include the options to (a) expand-collapse (b)copy to clipboard

The initial posting would only show one or two lines of code to save message space.
The benefit would be when there are updates amendments to the code with repetitive showing the original then the amended it will not obtrusive to the non interested.

nogojoe
Often the most convincing people are those who have lost the plot so much they don't recognize the difference between fact and fantasy
« Last Edit: May 01, 2009, 05:47 PM by nogojoe »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Feature Request: Copy Code
« Reply #3 on: May 01, 2009, 08:51 PM »
good ideas.  how about 2 buttons at top of highlighted code.
1. copy all code to clipboard
2. expand code box to show entire code

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: Feature Request: Copy Code
« Reply #4 on: May 01, 2009, 09:14 PM »
good ideas.  how about 2 buttons at top of highlighted code.
1. copy all code to clipboard
2. expand code box to show entire code
Those would be a nice convenience!

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: Feature Request: Copy Code
« Reply #5 on: May 01, 2009, 10:05 PM »
I guess you Coeluh are after something like they have at the AHK forums where they have the option to expand the code input window to show the full text of a multilined code.
I actually thought they did have an option at one stage to copy that code to the clipboard at AHK but it may have been on another sites forum.

it seems like they did had the 'copy code' feature but it wasn't working on all browsers (such as Firefox) and the idea is pretty useful. :up:

nogojoe

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 169
    • View Profile
    • Donate to Member
Re: Feature Request: Copy Code
« Reply #6 on: May 01, 2009, 10:19 PM »
I guess you Coeluh are after something like they have at the AHK forums where they have the option to expand the code input window to show the full text of a multilined code.
I actually thought they did have an option at one stage to copy that code to the clipboard at AHK but it may have been on another sites forum.

it seems like they did had the 'copy code' feature but it wasn't working on all browsers (such as Firefox) and the idea is pretty useful. :up:

I had the feeling it used to be there but I did a quick check before my original posting and to my surprise it wasn't there.

Thanks Mouser if you can implement those improvements I don't think the copy code feature will be much trouble here between browsers here as the AHK site is full on copy and re-posting code .
As long as you can implement it for Chrome I'll be happy :Thmbsup:
Often the most convincing people are those who have lost the plot so much they don't recognize the difference between fact and fantasy

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: Feature Request: Copy Code
« Reply #7 on: May 02, 2009, 05:07 AM »
good ideas.  how about 2 buttons at top of highlighted code.
1. copy all code to clipboard
2. expand code box to show entire code
Sure that's cool. I bet there are tons of scripts for SMF, sure you can find one :)

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: Feature Request: Copy Code
« Reply #8 on: May 02, 2009, 05:25 AM »
it seems like they did had the 'copy code' feature but it wasn't working on all browsers (such as Firefox) and the idea is pretty useful. :up:

Actually, it's not the browser type...the copy-to-clipboard feature on the AHK forums doesn't work with Flash 10.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: Feature Request: Copy Code
« Reply #9 on: May 12, 2009, 12:10 AM »
this request is quite beneficial and it enhances the the forums' usefulness if it was to be implemented.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Feature Request: Copy Code
« Reply #10 on: May 24, 2009, 10:57 PM »