#if Daniel Naber > On Tuesday 09 October 2001 23:17, Christoph Cullmann wrote: > > > my first draft of the new lib is in the CVS > > (yes gis, with cursor ;) > > > > look at kdelibs/interfaces/ktexteditor > > As some functions take line/col, what about a function that calculates the > line/col for an absolute position (not just the current one)? Like this: > > virtual void position ( int absolute, int *line, int *col ) = 0; Or: QPoint cursorPosition(unsigned long absoluteCursorPosition) = 0; Rik