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

Reply via email to