SapphireSteel Forum
Welcome, Guest. Please login or register.
May 18, 2013, 05:30:45 PM

Login with username, password and session length
Search:     Advanced search
Welcome to the SapphireSteel forum - for discussion of the Ruby In Steel and Amethyst IDEs
3883 Posts in 799 Topics by 669 Members
Latest Member: m
* Home Help Search Login Register
+  SapphireSteel Forum
|-+  General
| |-+  Amethyst
| | |-+  What does the [Amethyst(designer)] tag do, exactly?
« previous next »
Pages: [1] Print
Author Topic: What does the [Amethyst(designer)] tag do, exactly?  (Read 624 times)
russ
Newbie
*
Posts: 22


« on: June 07, 2011, 08:54:06 AM »

I'm sure it is innocuous, but I'm debugging some strange problems in an application and my eyes keep dragging towards the "[Amethyst(designer)]" tags...

What is does it do, exactly?  What is it's purpose?  It shows up on auto-generated handlers (via double-clicking controls), but the function name will match so it doesn't seem like it would be needed to link control to handler... I don't think, anyway.

Logged
Dermot
Administrator
Hero Member
*****
Posts: 1005


« Reply #1 on: June 07, 2011, 09:23:35 AM »

The answer is 'nothing'.

We put it in to visually mark Designer generated code - sort of a flag saying 'be careful if you mess with this code'. You can of course edit the code all you want, but it's just a visual marker really. We could have used a comment, but sort of had the idea that metadata might be more useful in the future.

Dermot
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!