| | |
Code line numbers - causing paste problems
![]() |
•
•
•
•
Click on the link "toggle plain text" which appears below the code snippet and then try copy-pasting. It works out to be fine.

http://www.daniweb.com/techtalkforum...tml#post311482
Dani implemented this after I complained about it - it's all good now.
"Technological progress is like an axe in the hands of a pathological criminal."
All my posts may be freely redistributed under the terms of the MIT license.
All my posts may be freely redistributed under the terms of the MIT license.
I guess this is what I get for jumping at conclusions.
Btw the currently revamped system (toggle between plain text adopted from devshed) is good. Now its the RPG's turn....
Btw the currently revamped system (toggle between plain text adopted from devshed) is good. Now its the RPG's turn....
I don't accept change; I don't deserve to live.
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
I had this problem elsewhere. The problem was the way I grabbed the code from the editor to put it on the website.
The editor had a single code which says "line number goes here" The actual number displayed for the line depended on where it was in the file.
When you copy from the editor screen with the Windows drag-and-copy method, it picks up the line number codes, instead of the actual line numbers. Then when you paste, you get a mess, because it's an unprintable character.
If instead, I exported the portion of text from the editor, then the numbers stayed put.
The editor had a single code which says "line number goes here" The actual number displayed for the line depended on where it was in the file.
When you copy from the editor screen with the Windows drag-and-copy method, it picks up the line number codes, instead of the actual line numbers. Then when you paste, you get a mess, because it's an unprintable character.
If instead, I exported the portion of text from the editor, then the numbers stayed put.
Last edited by MidiMagic; Feb 9th, 2007 at 4:22 pm.
Daylight-saving time uses more gasoline
![]() |
Other Threads in the DaniWeb Community Feedback Forum
- Previous Thread: User Control Panel not working
- Next Thread: formatting playing up
Views: 4381 | Replies: 22
| Thread Tools | Search this Thread |
Tag cloud for DaniWeb Community Feedback
+ abuse beginners bookmark bored box bug bugs calamity code codebox codesnippets codetags code_snippet comments complaining cpuintensive daniweb design editcodesnippet end-of-the-world favouriteforums feedback ff3 flamewar glitch ie6 itsatag! kids layout login lulz negative newfeature pm poll post preview privatemessaging problem profanitytest profile quality quick rash-bot rashakil-fol reply reputation reputation-power sandwich score search snippet so-what socialgroups solvedthreads spam sub-forum suggestion tagcloud tagging tags theactualrulerofthetag-cloud:3 therulerofthetag-cloud:[ thread threadtagging today's-posts unansweredposts upgrade user voting whining who-cares yada-yada






