[yunqa.de] Re: TDIHtmlParser.StartPos returns wrong value if a copyright symbol ((c)) is included

  • From: Delphi Inspiration <delphi@xxxxxxxx>
  • To: yunqa@xxxxxxxxxxxxx
  • Date: Mon, 30 Apr 2012 22:08:57 +0200

On 30.04.2012 15:57, Edwin Yip wrote:

> Are StartPos, EndPos 0-based or 1-based? 
> 
> And StartLine and EndLine ?

A simple test reveals that they are all 1-based, just like in text editors.

I will add this to the docs.

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



Other related posts: