[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    The KEdit class in KDE3 (Re: kdenetwork/kmail)
From:       Michael =?iso-8859-1?q?H=E4ckel?= <Michael () Haeckel ! Net>
Date:       2001-10-06 18:43:46
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic