trichview.com

trichview.support




Re: Problem moving caret to next paragraph


Return to index


Author

Message

Sergey Tkachenko

Posted: 05/14/2004 17:27:33


As I can see, Ctrl+Down moves to the begining of the next paragraph.

Ctrl+Up moves to the beginning of current paragraph, or (if already there)

to the beginning of the previous one.

Is this what you want?

I think I can add this to TRichViewEdit as a standard functionality.



>

> TDropFileEdit is a free component which allows DragnDrop of Filenames from

> Explorer. You can ignore this component (sorry)

>

> Strg means the Control-Key (sorry it's short name in german, i should

better

> use "ctrl").

>

> Zhank you

>

> Michael Exel

>

>

>

> "Sergey Tkachenko" <svt@trichview.com> wrote:

> >Your demo uses TDropFileEdit component. What's it?

> >

> >Sorry for stupid question - what is "strg" key?

> >

> >

> >> Hello,

> >>

> >> I want to move caret to next paragraph with shortcut "strg+downarrow"

> like

> >> in Microsoft Word.

> >> Now i have the following problem: (look at example project):

> >> Press Button "Load Sample File" to load sample file to editor

> >>

> >> Pressing Button "Move Cursor to Next Para" the caret moves correctly to

> >next

> >> paragraph

> >>

> >> Now use shortcut "strg+DownArrow". You can see that caret moves but not

> at

> >> the correct position.

> >>

> >> Debugging the procedure which moves the caret shows the same parameters

> in

> >> "SetSelectionBounds" in both cases.

> >>

> >> Any idea?

> >>

> >> Thank you

> >>

> >> Michael Exel

> >>

> >>

> >>

> >>

> >>

> >

> >

>





Powered by ABC Amber Outlook Express Converter