[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aspell-user
Subject:    [Aspell-user] Problem using aspell on PHP Files
From:       "Jay Rajput" <jayrajput () gmail ! com>
Date:       2006-09-13 14:13:37
Message-ID: d765bc270609130701g639f5f8co164605e44dbecba8 () mail ! gmail ! com
[Download RAW message or body]

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.

[Attachment #3 (text/html)]

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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic