Greetings Sergey,
Is there a new feature that merges items in RV later than 17.6.2 especially RV22.
Working on upgrading and somehow my items are merging. Theyhave the same font, etc but they have different tags.
For example: |The item1| cat item2| ate item3|
Has become: |The cat ate item1|
Edit ...
Search found 304 matches
- Tue Mar 26, 2024 5:02 pm
- Forum: Support
- Topic: merge items in RV17.6.2--RV22
- Replies: 16
- Views: 107857
- Tue Mar 19, 2024 6:30 pm
- Forum: Examples, Demos
- Topic: [Demo] Editors in editors
- Replies: 18
- Views: 617997
Re: [Demo] Editors in editors
I am going to try to updated to RV22 (this project is Delphi7.1 with RV17) and see if the problem still exists. If so then I will try though it is very complex unfortunately.
I am afraid there are so many possibilities.
1. We load data converting into RTF then load that into RichView (no format yet ...
I am afraid there are so many possibilities.
1. We load data converting into RTF then load that into RichView (no format yet ...
- Sat Mar 16, 2024 11:41 pm
- Forum: Examples, Demos
- Topic: [Demo] Editors in editors
- Replies: 18
- Views: 617997
Re: [Demo] Editors in editors
I seem to get some 0 and other the subEditors height unless I set it like 200; The below is just letting it use
intRVE.Height := intRVE.RVData.DocumentHeight;
intRVE.Height := intRVE.RVData.DocumentHeight;
- Sat Mar 16, 2024 10:34 pm
- Forum: Examples, Demos
- Topic: [Demo] Editors in editors
- Replies: 18
- Views: 617997
Re: [Demo] Editors in editors
Getting there on the resize but I am running into something odd:
This seems to do pretty good except for: intRVE.Height := intRVE.RVData.DocumentHeight;
Even though DocumentHeight is the right size intRVE.Height always stays at 0???
right now I am trying this right before the main rve.format; I ...
This seems to do pretty good except for: intRVE.Height := intRVE.RVData.DocumentHeight;
Even though DocumentHeight is the right size intRVE.Height always stays at 0???
right now I am trying this right before the main rve.format; I ...
- Sat Mar 16, 2024 9:59 pm
- Forum: Examples, Demos
- Topic: [Demo] Editors in editors
- Replies: 18
- Views: 617997
Re: [Demo] Editors in editors
It seems if I take away the subEditor format that almost halfs the time to 5-6 seconds.
Now I need to get back into the items and solve how to edit a control. I named them 'subEditor...' so if I can do this that helps. Now if there was a way to improve the speed of AddControlEx
Now I need to get back into the items and solve how to edit a control. I named them 'subEditor...' so if I can do this that helps. Now if there was a way to improve the speed of AddControlEx
- Sat Mar 16, 2024 9:15 pm
- Forum: Examples, Demos
- Topic: [Demo] Editors in editors
- Replies: 18
- Views: 617997
Re: [Demo] Editors in editors
//Special for Interlinear
ReadOnly := True;
HScrollVisible := False;
VScrollVisible := False;
BorderStyle := bsNone;
WordWrap := False;
TopMargin := 0;
BottomMargin := 0;
LeftMargin := 0;
RightMargin := 0;
WordWrap should be set to False hmms...
As to efficiency here is the process.
1 ...
ReadOnly := True;
HScrollVisible := False;
VScrollVisible := False;
BorderStyle := bsNone;
WordWrap := False;
TopMargin := 0;
BottomMargin := 0;
LeftMargin := 0;
RightMargin := 0;
WordWrap should be set to False hmms...
As to efficiency here is the process.
1 ...
- Sat Mar 16, 2024 6:58 pm
- Forum: Support
- Topic: Best way to handle using TRichView
- Replies: 5
- Views: 38507
Re: Best way to handle using TRichView
I have tried this but it slows things down about 11 seconds to render the data. What work around could I do to make Tables side by side? Is it complex?
- Sat Mar 16, 2024 6:05 pm
- Forum: Examples, Demos
- Topic: [Demo] Editors in editors
- Replies: 18
- Views: 617997
Re: [Demo] Editors in editors
If you could help me to get the leanest/quickest version of:
rvS.FormatTail;
rvPd.AddControlEx('subEditor|row:' + IntToStr(rowIdx) + '|grp:' + IntToStr(i),rvS, -1, rvvaAbsTop);
As in do I need to clean up styles, what options, for TRichViewEdit. etc can I use to get it there the fastest.
I have a ...
rvS.FormatTail;
rvPd.AddControlEx('subEditor|row:' + IntToStr(rowIdx) + '|grp:' + IntToStr(i),rvS, -1, rvvaAbsTop);
As in do I need to clean up styles, what options, for TRichViewEdit. etc can I use to get it there the fastest.
I have a ...
- Fri Mar 15, 2024 5:18 pm
- Forum: Examples, Demos
- Topic: [Demo] Editors in editors
- Replies: 18
- Views: 617997
Re: [Demo] Editors in editors
I am working with these subEditors and it is going quite well. (I am needing to speed them up there can be a lot.)
I am having trouble with DocmentWidth (note I am on rvf17 on this project)
rvS.Width := rvS.RVData.DocumentWidth;
It is resizing but not fully always.
I've tried ...
I am having trouble with DocmentWidth (note I am on rvf17 on this project)
rvS.Width := rvS.RVData.DocumentWidth;
It is resizing but not fully always.
I've tried ...
- Fri Mar 08, 2024 4:03 pm
- Forum: Support
- Topic: Plain Text Bullets on Copy
- Replies: 21
- Views: 461080
Re: Plain Text Bullets on Copy
laino.antonello -- I built my own work around. It took a bit to replace the GetSelText with this but it seems to work ok. (Not as nice as Sergey's code by far but a work around.)
//Duplicate the GetSelText from RichView in our own way but without list items!
class function ConvBk.GetSelText(rve ...
//Duplicate the GetSelText from RichView in our own way but without list items!
class function ConvBk.GetSelText(rve ...
- Fri Nov 17, 2023 8:51 pm
- Forum: Support
- Topic: Barebones text editor with RichViewEdit
- Replies: 1
- Views: 32274
Barebones text editor with RichViewEdit
I know this is not the normal use but is there a way to make RichViewEdit almost work like a TMemo? (Some formatting may be nice but intially none) the goal is speed.
- Thu Nov 02, 2023 8:26 pm
- Forum: Support
- Topic: Plain Text Bullets on Copy
- Replies: 21
- Views: 461080
Re: Plain Text Bullets on Copy
Ah ok, any ideas on how I can make it so that if a bullet/list is at the start of my selected text when it is copied to a string. Where I can remove it if I like? I figure it may be complex to figure out all the unicode that could potentioally represent a bullet since they can be even letters like ...
- Wed Nov 01, 2023 4:49 pm
- Forum: Support
- Topic: Plain Text Bullets on Copy
- Replies: 21
- Views: 461080
Re: Plain Text Bullets on Copy
Perhaps what I have said originally needs modified.
GetSelText is not getting the "selected" text when on a bullet line. The bullet is not selected and is still gotten. It is almost acting more like GetCurrentLine
GetSelText is not getting the "selected" text when on a bullet line. The bullet is not selected and is still gotten. It is almost acting more like GetCurrentLine
- Thu Oct 19, 2023 12:57 am
- Forum: Support
- Topic: Speeding up
- Replies: 5
- Views: 43911
Re: Speeding up
I see that I needed to do a few things differently
function TConvertBook.GetTextFromNosOffs(rve: TRichViewEdit; startNo, startOffs, endNo, endOffs:Integer; CharsPerLineBreak: Integer = 2): String;
var
ItemNo, OldItemNo, hsNo, hsOffs, heNo, heOffs : Integer;
LineBreak, NewLine, AddText: String ...
function TConvertBook.GetTextFromNosOffs(rve: TRichViewEdit; startNo, startOffs, endNo, endOffs:Integer; CharsPerLineBreak: Integer = 2): String;
var
ItemNo, OldItemNo, hsNo, hsOffs, heNo, heOffs : Integer;
LineBreak, NewLine, AddText: String ...
- Wed Oct 18, 2023 10:39 pm
- Forum: Support
- Topic: Speeding up
- Replies: 5
- Views: 43911
Re: Speeding up
I tried but I am having trouble with the startOffs, and endOffs: Are these AnsiString? UTF-16, UTF8 ? Character count?
function TConvertBook.GetTextFromNosOffs(rve: TRichViewEdit; startNo, startOffs, endNo, endOffs:Integer; CharsPerLineBreak: Integer = 2): String;
var
ItemNo, OldItemNo: Integer ...
function TConvertBook.GetTextFromNosOffs(rve: TRichViewEdit; startNo, startOffs, endNo, endOffs:Integer; CharsPerLineBreak: Integer = 2): String;
var
ItemNo, OldItemNo: Integer ...