Re: Problem using aspell on PHP Files

"Jay Rajput" <[email protected]>
Newsgroups gmane.comp.gnu.aspell.user
Message-ID <[email protected]>
I have got the answer for the first question:

I can simply use

aspell --mode=tex -c <filename>

Now the problem is how to spell check only the comments in the code.
I desperately needs to find the answer of this.

Thanks in advance,
Jay


On 9/13/06, Jay Rajput <[email protected]> wrote:
>
>  I have a PHP file with code comments something like this:
>
> <?php
>
> ///////////////////////////////////////////////////////////////////////////////
> //
> //  INFORMATION
> //
>
> ///////////////////////////////////////////////////////////////////////////////
> //
> // Module : *asdasdf
> *//
> // Purpose: *asdfasdfasd
> *//
> //
> //
> // Revision History:
> //
> // 13-Sep-2006    Jay Rajput    Initial Creation.
> //
> ///////////////////////////////////////////////////////////////////////////////
>
> ?>
>
>
> If I run aspell on above file aspell tells that there are no spelling
> mistakes.
>
> But if remove tags <?php and ?> from the file it tells that there are
> spelling mistakes.
> I need to how I use aspell to spell check the words inside the php tags.
>
> Also is there a way  by which aspell spell check the comments and not the
> php code in my php file.
>
> Thanks IN Advace,
>  Jay.
>

_______________________________________________
Aspell-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/aspell-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.