position after inserting TAB

General TRichView support forum. Please post your questions here
Post Reply
erikvdw
Posts: 40
Joined: Tue Feb 28, 2006 8:27 am

position after inserting TAB

Post by erikvdw »

When a document is loaded in the richvieweditor and the document is greater than 1 page inserting TAB results in changing top of the document.
After TAB-Key was typed the document scrolled and the position of the caret is moved to the end of the inputscreen.

It's difficult to explain, so I would try to make is visible:

Document looks like:

a
b
c
d
e
f
g
h
i
j

The input window is not very big so lines a to e is shown. Scroll down till line h is last line in window. Now insert a tab at line f. You will line f is scrolled to the last line in window.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

I cannot reproduce this problem.

Do you have some TRichViewEdit events assigned?
erikvdw
Posts: 40
Joined: Tue Feb 28, 2006 8:27 am

reformat

Post by erikvdw »

After reformat the editor seem to scroll.
I started with the actiontest demo source and i can't reproduce it either in the actiontest.exe.
As events is a keydown implemented:

Code: Select all

  if Key in [VK_SPACE, VK_RETURN, VK_TAB] then begin
    {
      // uncomment if you use Addict3
      RVA_Addict3AutoCorrect(RichViewEdit1);
    }
    rvActionInsertHyperlink.DetectURL(rvEditor);
    rvActionInsertHyperlink.TerminateHyperlink(rvEditor);
  end;
If I grayed out this function it still happened in our program.
erikvdw
Posts: 40
Joined: Tue Feb 28, 2006 8:27 am

inserting picture same effect

Post by erikvdw »

By inserting a picture or some other insert action the same effect is shown.
erikvdw
Posts: 40
Joined: Tue Feb 28, 2006 8:27 am

problem fixed

Post by erikvdw »

We had upgraded the richview, but didn't update the richviewactions. After update richviewactions package troubles are gone.
erikvdw
Posts: 40
Joined: Tue Feb 28, 2006 8:27 am

version info

Post by erikvdw »

We used 1.48 of the richviewactions and now 1.53
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Probably that was because of TRVRuler
Post Reply