[yunqa.de] Re: Pre-sale questions about DIHtmlParser

  • From: Delphi Inspiration <delphi@xxxxxxxx>
  • To: yunqa@xxxxxxxxxxxxx
  • Date: Mon, 31 Oct 2011 08:56:38 +0100

On 31.10.2011 07:53, Edwin Yip wrote:

> Just one suggestion, add two properties:
> 
> TDIHtmlParser.EndLine and TDIHtmlParser.EndCol

Yes, I took note of this.

Are you aware of the TDIUnicodeReader.CharLine, CharCol and CharPos
properties? They record the parser's current reading position and should
be _close_ to what your are looking for. I deliberately write "close"
because sometimes TDIHtmlParser needs to look ahead of the current HTML
piece to determine its proper ending. Because of this, the parser's
current character position might actually be beyond the end of the
current HTML piece

Ralf
_______________________________________________
Delphi Inspiration mailing list
yunqa@xxxxxxxxxxxxx
//www.freelists.org/list/yunqa



Other related posts: