when i copy then paste text from mozilla it all appears without spacing
example:
using System.Collections; using UnityEngine; using UnityEngine.UI; public class QuestBegin_001 : MonoBehaviour { public GameObject QuestUpdate; public Text PlayerText; public GameObject TextDisplay; public int TimerCounter = 0; // Use this for
Where as it should look like this: using System.Collections; using UnityEngine; using UnityEngine.UI;
public class QuestBegin_001 : MonoBehaviour
{
public GameObject QuestUpdate; public Text PlayerText; public GameObject TextDisplay; public int TimerCounter = 0;
// Use this for
this happens only when using firefox and not with internet explorer when i try copy and paste text into any kind of document
All Replies (4)
Many have had trouble with copy/paste between programs, Copy from the original. Paste to a 'word' type program. Now copy from 'word' to where you want to go.
thanks for that, im guessing theres no way to fix this in firefox?
Some of us believe that the different formats don't work together. By using the 'Word' program as a translator, it works out.
This varies depending on the formatting of the source text and where you paste.
I assume you do not have an issue with paragraph breaks. When it comes to line breaks, Windows uses a different kind of line break (carriage return + line feed) than other operating systems. Simple programs like Notepad cannot handle the other form (the breaks disappear), but many programs can.
If you select the area you want to copy and right-click > View Selection Source, you could try copying from the source view and see whether that works any better in the destination program.
Alternately, there might be an add-on to transparently preformat the text when copying (dedicated right-click context menu item).