• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

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.
 
Here:
errorwhenpastingcode.gif


You can see I'm using incognito so that no extension (expect AdBlock that I have enabled in incognito) could interfere.
 
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!
 
This forum might reparse it to look modern, so here's a text file.
 

Attachments

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:
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.
Back
Top