Search found 193 matches

by Marsianin
Wed Apr 26, 2006 5:46 pm
Forum: Support
Topic: List index out of bounds when in table
Replies: 16
Views: 47898

I found the place of this problem. It appears here (only when cursor set inside table) in GetLineNo function: procedure TMainForm.RichViewEdit1CaretMove(Sender: TObject); var line,linescount,col:Integer; begin RichViewEdit1.GetCurrentLineCol(line,col); With RichViewEdit1 do linescount:=GetLineNo(Ite...
by Marsianin
Sun Apr 23, 2006 8:02 pm
Forum: Support
Topic: Pressing Tab scrolls down all text until the end of window
Replies: 11
Views: 28809

I don't really know the nature of this problem but my application compiled in Delphi 7 never has this bug. Just tryed again. Your RVActionsDemo project compiled under Delphi 2006 (on WinXP and on WinXP x64) has this bug only on WinXP x64. But my application compiled in D2006 WinXP x64 shows this bug...
by Marsianin
Sat Apr 22, 2006 5:27 pm
Forum: Support
Topic: Pressing Tab scrolls down all text until the end of window
Replies: 11
Views: 28809

I never sent it yet :wink: Just asked.
But now it's done. Check your email at svt@...
by Marsianin
Sat Apr 22, 2006 7:53 am
Forum: Support
Topic: Pressing Tab scrolls down all text until the end of window
Replies: 11
Views: 28809

It's not my events.

Default RichView Actions project has the same bug if compiled under BDS2006.

Before I tested only downloaded exe. Now I've tryed to compile it under BDS2006 SP1 and got the same bug.

:?

I can send you compiled exe of RVAction Demo.
by Marsianin
Thu Apr 20, 2006 3:12 am
Forum: Support
Topic: How to set cursor at the end of document ?
Replies: 8
Views: 21704

But another one question.
Is there a way to perform search in all document without changing position of the caret ?
by Marsianin
Thu Apr 20, 2006 2:35 am
Forum: Support
Topic: How to set cursor at the end of document ?
Replies: 8
Views: 21704

Just read the help :)

Code: Select all

var
  ItemNo, Offs: Integer;
...
ItemNo := MyRichViewEdit.ItemCount-1;
Offs   := MyRichViewEdit.GetOffsAfterItem(ItemNo);
MyRichViewEdit.SetSelectionBounds(ItemNo,Offs,ItemNo,Offs);
Same code as you posted above. Thanks.
by Marsianin
Wed Apr 19, 2006 8:20 pm
Forum: Support
Topic: How to set cursor at the end of document ?
Replies: 8
Views: 21704

And how to use it ?

And how to get the last character number in the text ? Will it be rve.ItemCount-1 ?
by Marsianin
Wed Apr 19, 2006 8:18 pm
Forum: Support
Topic: Pressing Tab scrolls down all text until the end of window
Replies: 11
Views: 28809

I don't really know why this happens but ActionTest works fine here. I tryed to disable onkeypress and onkeydown events in my app's RichViewEdit - wasn't helped. When pressing Tab in the middle of the text it flickers and scrolls it. Can't imagine why this happens. But with the previous versions of ...
by Marsianin
Wed Apr 19, 2006 12:05 am
Forum: Support
Topic: How to set cursor at the end of document ?
Replies: 8
Views: 21704

How to set cursor at the end of document ?

I want to implement 'entire scope' search (which is not implemented for RichViewEdit) and need to set cursor to the end of the document when direction is UP.

I'm using RVSetLinearCaretPos but don't know how to get the last symbol position number.
by Marsianin
Tue Apr 18, 2006 2:13 pm
Forum: Support
Topic: Pressing Tab scrolls down all text until the end of window
Replies: 11
Views: 28809

Pressing Tab scrolls down all text until the end of window

I have enought text which not fit the window so I have vertical scrollbar. When this text is scrolled up and cursor set somewhere in the middle of the window pressing TAB scrolls down text until the line with cursor set at the last visible line. As I can remember some old version of TRichView had th...
by Marsianin
Mon Apr 10, 2006 8:53 pm
Forum: Support
Topic: List index out of bounds when in table
Replies: 16
Views: 47898

Seems it happens only with some non-default options. I'm not sure. Here is my options for TRichViewEdit hope this helps: object RichViewEdit1: TRichViewEdit Left = 0 Top = 23 Width = 348 Height = 202 AcceptDragDropFormats = [rvddRVF, rvddRTF, rvddText, rvddUnicodeText, rvddBitmap, rvddMetafile, rvdd...
by Marsianin
Mon Apr 10, 2006 7:42 am
Forum: Support
Topic: Table stole focus
Replies: 5
Views: 18236

The problem is still here in 1.9.24. Have you ever tryed to fix it ? Just asking :wink:
by Marsianin
Mon Apr 10, 2006 7:33 am
Forum: Support
Topic: List index out of bounds when in table
Replies: 16
Views: 47898

The problem still remains. Delphi 7 SP1, TRichView 1.9.24, TRichViewActions 1.51.1 Clear TRichViewEdit. Inserting empty table for example 3x3. Set cursor to the center cell, pressed Toolbak2k button with assigned rvActionShowSpecialCharacters. Got EListError: List index out of bounds (0), every time...
by Marsianin
Wed Jan 25, 2006 6:41 am
Forum: Support
Topic: List index out of bounds when in table
Replies: 16
Views: 47898

The last one I think - 1.9.8
I'll try to reproduce it one more time...
by Marsianin
Tue Jan 24, 2006 7:03 am
Forum: Support
Topic: List index out of bounds when in table
Replies: 16
Views: 47898

List index out of bounds when in table

When cursor cet in the table and "nonprinted characters" button pressed (RVActions) "List Index out of bounds (18)" appears with infinite loop.
So only Ctrl+Alt+Del helps :?