From kde-core-devel Sat Oct 06 18:43:46 2001 From: Michael =?iso-8859-1?q?H=E4ckel?= Date: Sat, 06 Oct 2001 18:43:46 +0000 To: kde-core-devel Subject: The KEdit class in KDE3 (Re: kdenetwork/kmail) X-MARC-Message: https://marc.info/?l=kde-core-devel&m=100239368706792 On Saturday 06 October 2001 17:07, Ingo Klöcker wrote: > On Saturday 06 October 2001 11:07, CVS by haeckel wrote: > > Switch only from the first line of the first paragraph to the subject > > and not from the whole paragragh, when pressing the up key. > > Nice fix. I didn't look at lineOfChar(). But I don't think it's wise to > use KEdit::currentColumn() to get the index of the cursor in the > current paragraph because this will hopefully be fixed somewhere soon, > so that it again returns the correct column value (i.e. the column on > the screen and not the offset in the current paragraph). You should > instead use QTextEdit::getCursorPosition(para,index) to get the current > cursor position. > Maybe two new functions currentParagraph() and currentParagraphOffset() > should be added to kdeui/kedit Well, I don't know. Are there any plans to make KEdit again able to operate on lines instead of paragraphs or shall we do that in KMail? Regards, Michael Häckel