On Tue, Jun 2, 2009 at 3:15 AM, ALAN GAULD <alan.ga...@btinternet.com>wrote:
> > > From: "wormina...@gmail.com" <wormina...@gmail.com> > > To: Alan Gauld <alan.ga...@btinternet.com> > > Sent: Tuesday, 2 June, 2009 1:09:39 AM > > Subject: Re: [Tutor] Spell checking source code? > > > > In vim, > > > > :set spell > > :set nospell > > :help spell > > > But that will check the whole file. The OP only wanted to spell > check the comments. Unless I'm missing something? Shouldn't be too difficult to write a vim script to check only # to EOL, ' to ', " to ", ''' to ''' and "" to """. I think that's the only non-code available? -Wayne
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor