[Gtk-sharp-list] [Another Request] gdk/Key.cs modification

Miguel de Icaza miguel@ximian.com
16 Apr 2003 20:19:04 -0400


> This can't be automated there are several irregularities. You will
> probably have to modify each member of the Key enum by hand, being
> careful not to destroy the original meaning of the key. For example,
> "Greek_OMEGA" and "Greek_omega" are for upper and lowercase Omega
> symbols respectively.
> Keep in mind that if you take away the underscore in Greek_OMEGA, you're
> left with "GreekOMEGA" and "Greekomega"  which is arguably less
> beautiful than the original form.
> There are 1335 entries, so beautifying the entire enum should take about
> 4 hours if you can correct and verify one entry every 10 seconds. Quite
> possible, but not entertaining. There is definitely a case for not
> deviating too much from the original names.

Another issue to consider is that those names are not CLS compliant. 
That means that other languages will not be able to tell the difference
between Greek_OMEGA and Greek_omega at all.  

Or Key_A and Key_a.  I think we just uncovered a nasty problem.