• WordPress Version: 3.0.1
    Syntax Highlighter Evolved Version: 2.3.8

    I was just wondering if there was a way to alter the code such a way that when I select the code without viewing the source I can copy and paste it without getting the annoying line numbers to paste as well.

    1 package {
    2 import flash.display.MovieClip;
    3 public class Main extends MovieClip {
    4 public function Main() {
    5 }
    6 }
    7 }

    That is the code I get when I copy and paste. It’s perfect just without the line numbers. Unfortunately, I need the line numbers to describe what is happening in the code and where.

    http://wordpress.org/extend/plugins/syntaxhighlighter/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Alex Mills

    (@viper007bond)

    The next major release of my plugin will feature version 3.x of Alex G’s SyntaxHighlighter script which doesn’t highlight the line numbers when you highlight the code.

    But meanwhile there’s a toolbar in the upper-right of the code box when you hover over it. The second button is a copy to clipboard button.

    Thread Starter picaboy

    (@picaboy)

    I look forward to the release keep up the good work 😀

    Looking forward to this release – thanks for your great work so far!

    eagerly waiting!

    Plugin Contributor Alex Mills

    (@viper007bond)

    Just use the button in the toolbar that will copy the code to your clipboard. 😉

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: SyntaxHighlighter Evolved] Make code copyable without getting line numbers?’ is closed to new replies.