Search found 12 matches

by David.Brenner
Sun Dec 11, 2011 1:10 pm
Forum: Support
Topic: fastest way to "fill" a RichViewEdit
Replies: 10
Views: 8328

Yes, this could work faster :) Thank you. I will test. PS: I just noticed that Format is not the slowest but SaveRVFToStream and LoadRVFFromStream are (over 90%). How did I noticed: in editor I erased half of the text and tried the function. Same time. With the previous text size I erased again half...
by David.Brenner
Sat Dec 10, 2011 3:39 pm
Forum: Support
Topic: fastest way to "fill" a RichViewEdit
Replies: 10
Views: 8328

Unfortunately they don't.
by David.Brenner
Sat Dec 10, 2011 3:03 pm
Forum: Support
Topic: fastest way to "fill" a RichViewEdit
Replies: 10
Views: 8328

With TRVMemoryStream is only 13% faster. And I don't load and save the same document in Rve1 because Item1, Offs1, Item2, Offs2 are changing inside the cycle so it's a different text every time. More, they are changing when another document is loaded or when the user is choosing another "portion" of...
by David.Brenner
Sat Dec 10, 2011 1:43 pm
Forum: Support
Topic: fastest way to "fill" a RichViewEdit
Replies: 10
Views: 8328

Thank you for your suggestion but the document is from the user's computer so I can't generate them and store them without making him wait a very long time. Or do you talk about something else...? I just noticed something: if I use CopyRVF and PasteRVF instead of SaveRVFToStream and LoadRVFFromStrea...
by David.Brenner
Sat Dec 10, 2011 12:16 pm
Forum: Support
Topic: fastest way to "fill" a RichViewEdit
Replies: 10
Views: 8328

fastest way to "fill" a RichViewEdit

Hi. I want to "fill" a RichViewEdit with text from another RichViewEdit until it has maximum height but without exceeding the height of the window (of the first RichViewEdit). I do this: var Stream: TStream; i: Integer; begin Rve1.BeginUpdate; Rve1.UndoLimit := 0; Rve2.BeginUpdate; while True do beg...
by David.Brenner
Thu Nov 17, 2011 3:28 pm
Forum: Support
Topic: replace List Markers with text
Replies: 10
Views: 10618

I understand :(
Thanks anyway.
by David.Brenner
Thu Nov 17, 2011 9:57 am
Forum: Support
Topic: replace List Markers with text
Replies: 10
Views: 10618

A problem: I have found some list markers which are displayed well only in Word: http://thumbnails66.imagebam.com/15977/f47c53159765641.jpg They look like '*' in RichViewEdit (and the code extract '*' in the widestring s): http://thumbnails63.imagebam.com/15977/a78e79159765643.jpg You can download a...
by David.Brenner
Wed Nov 16, 2011 10:48 am
Forum: Support
Topic: replace List Markers with text
Replies: 10
Views: 10618

Yes, it works fine with this code.
Thank you very much.

Best regards, David Brenner
by David.Brenner
Mon Nov 14, 2011 9:00 pm
Forum: Support
Topic: replace List Markers with text
Replies: 10
Views: 10618

Ok, thank you.
Here is an example of what should I replace and into what: http://www.mediafire.com/download.php?eyywy5dtd609mp8
by David.Brenner
Mon Nov 14, 2011 6:01 pm
Forum: Support
Topic: replace List Markers with text
Replies: 10
Views: 10618

Delphi 7.
Like I said DisplayString for rvsListMarker's from my documents are always empty.
by David.Brenner
Mon Nov 14, 2011 5:35 pm
Forum: Support
Topic: replace List Markers with text
Replies: 10
Views: 10618

Also I tried with RemoveListMarker but my application shows "list index out of bounds" errors even when scrolling the document. In another topic I found "TRVMarkerItemInfo(RVData.GetItem(i)).DisplayString" but it does not have any string in it. I'm starting to think that maybe there is no solution f...
by David.Brenner
Sat Nov 05, 2011 6:26 pm
Forum: Support
Topic: replace List Markers with text
Replies: 10
Views: 10618

replace List Markers with text

Hi. I want to replace in RichViewEdit some List Markers (that have a certain Unicode character in them) with a Unicode text character (so with a text item). I tried getting the Unicode character from them with GetListMarkerInfo but no luck. Oh, and I don't wanna use DeleteItem function (I want Undo)...