|
From: Alan E. <ala...@gm...> - 2011-10-12 15:46:43
|
Submit a the edit mode and a sample file for testing it, to the jedit-patches tracker when it is ready for submission, and we will incorporate it in the next version of jEdit. https://sourceforge.net/tracker/?limit=100&func=&group_id=588&atid=300588 --alan On Wed, Oct 12, 2011 at 2:04 AM, Chris Sullins <the...@gm...>wrote: > Hi, > > I've created a Google Dart edit mode (*.dart). How can I get feedback on it > and submit it for inclusion? Here is the file: > > http://azureabstraction.com/vault/longterm/dev/jedit/dart.xml > > I read pretty carefully through the Dart language spec, and used the > javascript.xml mode as a starting point. I also referenced java.xml, and > php.xml for variable interpolation. > > I am not convinced that my number handling is correct (HIGHLIGHT_DIGITS). > I'd also appreciate review in terms of which terms can be in expressions > versus in the main body. Additionally, I didn't spend any time verifying the > wordBreakChars or indentNextLine properties, though I assume the > unindentThisLine property is consistent with JavaScript. I haven't checked > operator precedence. > > This handles literal strings (prefixed by @), nested string interpolation > ("${v + "yar"}"), multiline strings, the various library and script > declarations, all the operators and literals. I only added the "base" types > (the uncapitalized ones: int, double, num, and bool), forgoing other > built-in classes such as Collection and Isolate. The Dart language reference > says that comments can be nested, but their current interpreter does not > allow this; I excluded it from the mode. > > How does it look? > > - Chris > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > -- > ----------------------------------------------- > jEdit Developers' List > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-devel > > |