trichview.support
Re: line number of the cursor position |
Author |
Message |
Sergey Tkachenko |
Posted: 07/19/2002 21:57:11 By the way, this code must not be called when caret is in table. In this case, rve.GetLineNo works with cell, but rve.ItemCount return a number of items in the root editor, not in cell). Use GetCurrentLineCol method. > StatusBar1.Panels[3].Text := InttoStr (rve.GetLineNo(rve.ItemCount-1, rve.GetOffsAfterItem(rve.ItemCount-1))); > this instruction give the line number of the cursor position, except in justify > text. > what can i do? > thanks. > > rve =TRichviewEdit > |
Powered by ABC Amber Outlook Express Converter