• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Error when pasting code

Status
Not open for further replies.

Deleted member 219079

D

Deleted member 219079

I use Google Chrome Version 52.0.2743.116 m (64-bit)

This appears in console:
upload_2016-9-7_15-40-22.png


Edit: As a consequent the text is not pasted, fyi.
 

Deleted member 219079

D

Deleted member 219079

Here:
errorwhenpastingcode.gif


You can see I'm using incognito so that no extension (expect AdBlock that I have enabled in incognito) could interfere.
 

Deleted member 219079

D

Deleted member 219079

For now you can switch to "bb code editor" instead of using "rich text editor".
This solves my other issue about the text editing being cancer as well, thanks!
 

Deleted member 219079

D

Deleted member 219079

This forum might reparse it to look modern, so here's a text file.
 

Attachments

  • MyLibrary.j
    205 bytes · Views: 79

Deleted member 219079

D

Deleted member 219079

Yes I can reproduce it by copying from SublimeText and Windows Notepad.

IIRC you use iOS so to have better chances at reproducing it use Windows 7 machine.

Edit: I am able to reproduce it on SRWare Iron as well, another Chromium based browser.

Edit2: I am able to reproduce it on Windows 10 laptop.
 
Last edited by a moderator:

Deleted member 219079

D

Deleted member 219079

Well that was quick, thanks.
 
Hey, when copying from browser console(f12) it doesn't seem to work properly:

Code:
var data = new Array(8192).fill("empty"); for (var i = 1; i <= 481; i += 1) {     for (var j = 1; j <= 16; j += 1) {         data[(i-1) * 17 + j] = i;     } } for (var i = 1; i < data.length; i += 1) {     console.log("index:" + i.toString() + " ; instance: " + data[i].toString() + " ; member: " + (i%17).toString()); }

originaly it looks like:

Code:
var data = new Array(8192).fill("empty");

for (var i = 1; i <= 481; i += 1) {
    for (var j = 1; j <= 16; j += 1) {
        data[(i-1) * 17 + j] = i;
    }
}

for (var i = 1; i < data.length; i += 1) {
    console.log("index:" + i.toString() + " ; instance: " + data[i].toString() + " ; member: " + (i%17).toString());
}
 
Status
Not open for further replies.
Top