Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.

New to the forum? Say hello in this topic! Also make sure to read the rules.

Image pasted in script editor as a result of a screenshot

All reported bugs that's actually by design.
Forum rules
By using the forum you agree to the following rules. For this forum you also need to follow these additional rules.
Post Reply
User avatar
JakSparro98
Superfighter
Superfighter
Posts: 375
Joined: Fri Jul 15, 2016 7:56 pm
Started SFD: PreAlpha 1.0.5
Location: Rome, Italy
Gender:
Age: 20

Image pasted in script editor as a result of a screenshot

Post by JakSparro98 » Wed Apr 19, 2017 8:57 pm

When you hit the print button for a screenshot and then you paste the result in the script editor you will see the screenshot in it, since there aren't any practical uses for it I think is not a wanted behaviour.

Now I take this oportunity to ask, if the script editor can handle images, will there be a possibility to use this as a sort of aid for comprehending scripts? (like the map editor tutorial already do)
0 x

User avatar
Gurt
Lead Programmer
Lead Programmer
Posts: 1279
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 28

Post by Gurt » Thu Apr 20, 2017 10:05 pm

The script editor is actually a rich text edit field (RTF) for simplicity when it comes to multiline, indent and scrolling.
Images or any other formatting in this textbox is never actually saved. So closing it and opening the editor again and the image is gone.

I will not do anything about this as it doesn't affect anything :D - but please, don't try to feed the compiler images (especially not images of cats).

If you want a fully IDE (like Visual Studio) to develop your scripts in check out this topic: viewtopic.php?f=15&t=1588
0 x
Gurt

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest