Comments inline, On 9/2/14 8:31 PM, "Justin Mclean" <jus...@classsoftware.com> wrote: > > >Hi, > > > >In the Radii8 donation I just saw that there's some code formatting code > >that formats AS/MXML code. This seems a good fit for Tour De Flex > >examples and this JIRA issue: > >https://issues.apache.org/jira/browse/FLEX-34481 > > > >Looks like the code [1] is based on and/or extends this [2] which is > >Apache licensed. Can we get confirmation on this?\ >
The class [1] uses code from the MXML examples in the source or zip at [2]. In other words, I put some of the example code in the provided MXML examples used to call the SyntaxHighlighter into an AS class and simplified it's usage. So that is my class. Then I added support for Spark TextArea using suggestion on the Google help page of the project at [2]. I had to decipher what was suggested here [3]. 1. https://git-wip-us.apache.org/repos/asf?p=flex-radii8.git;a=blob;f=Radii8Library/src/com/flexcapacitor/utils/SyntaxHighlighter.as 2. https://code.google.com/p/as3syntaxhighlight/ 3. https://code.google.com/p/as3syntaxhighlight/issues/detail?id=1#c4 Justin, you wrote: >> The author assumed he had permission because it was on my blog and the >> intent of the blog was to share code with the community. > Given it's actually found in quite a few places, and Adobe doesn't seem to mind, it may be considered public domain, but definitely better to get permission. That's a good question. There might be a law somewhere, and if there isn't there should be (?), that states that if code is on a web page with no license more than a certain number of years it goes into the public domain. With trademark law if you don't protect your trademark then you are implying that it is not something you care if someone else uses. We've all seen the cases where company A goes after company B for using their name. For example, Apple went after companies and individuals using "Pod" in the names of their products or apps. They did that because if they didn't try and protect it then the court would throw out cases if they tried to pursue it later. Statue of limitations or something. Why are we all becoming lawyers instead of coding?