David Fishburn wrote: > I am writing an indent script for Flex which has similar HTML and Javascript. > > So the indent script is pretty simple. > > If inside a <mx:Script> tag" > return cindent(a:lnum) > else > " indent like XML > endif > > In my other indent scripts I have never used cindent() before. > > In my sample app, I have: > cinoptions= > > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> > <mx:Script> > <