Search found 193 matches

by Marsianin
Wed Sep 07, 2011 7:16 am
Forum: Support
Topic: Delphi XE2
Replies: 17
Views: 73433

Wow. Waiting for MacOS support too :roll:
by Marsianin
Mon Aug 29, 2011 5:49 am
Forum: Support
Topic: Empty RVE and Addict Autospell = 100% CPU
Replies: 18
Views: 67314

You're right. Changed LiveSpellingMode to rvlspManualStart and everything works fine without CPU consumption. Anyway I start auto spell checking manually.

But I think it's a bug...
by Marsianin
Fri Aug 26, 2011 6:59 pm
Forum: Support
Topic: Empty RVE and Addict Autospell = 100% CPU
Replies: 18
Views: 67314

Looks like something happens just after RichViewEdit1.ApplyStyleConversion(TEXT_APPLYSTYLE) which applies default style to an empty RVE.
Because disabling this code does not consumes CPU.
Anyway I'll try to play more with this...
by Marsianin
Wed Aug 24, 2011 9:47 pm
Forum: Support
Topic: Empty RVE and Addict Autospell = 100% CPU
Replies: 18
Views: 67314

It happens just after this code (ClearRVE): RichViewEdit1.Clear; RVStyle1.TextStyles.Clear; with RVStyle1.TextStyles.Add do begin FontName:=EditorFontName; Size:=EditorFontSize; Color:=DefTextColor; end; RVStyle1.ParaStyles.Clear; RVStyle1.ParaStyles.Add; RVStyle1.ListStyles.Clear; RichViewEdit1 ...
by Marsianin
Wed Aug 24, 2011 5:40 pm
Forum: Support
Topic: Empty RVE and Addict Autospell = 100% CPU
Replies: 18
Views: 67314

It's not for long document, it's for empty one. I'm calling StartLiveSpelling (if enabled in my program's options) every time I clear or load new document into RVE. And calling it just after creating a new document (clearing previous one) consumes CPU. Empty document, maybe 1 default style, no items ...
by Marsianin
Tue Aug 23, 2011 10:27 pm
Forum: Support
Topic: Empty RVE and Addict Autospell = 100% CPU
Replies: 18
Views: 67314

This is why I'm writing it here and not in addict forums.
I'm using RichViewEdit1.StartLiveSpelling; and running this on empty document produces high CPU usage.
Typing something brings CPU back to normal.
by Marsianin
Tue Aug 23, 2011 10:18 pm
Forum: Support
Topic: Too much addict suggestions in rvAddict
Replies: 3
Views: 17229

Yes I know I can limit them with MaxSuggestions but it's not good - there is a chance to lose real suggestions.
Anyway disabling PhoneticSuggestions did the trick.
by Marsianin
Tue Aug 23, 2011 8:19 am
Forum: Support
Topic: Too much addict suggestions in rvAddict
Replies: 3
Views: 17229

Looks like disabling PhoneticSuggestions in RVAddictSpell helped.
by Marsianin
Tue Aug 23, 2011 8:07 am
Forum: Support
Topic: Too much addict suggestions in rvAddict
Replies: 3
Views: 17229

Too much addict suggestions in rvAddict

I've got a bug when rvAddict generates too much suggestions (more than 100 with almost endless list) and it seems not an Addict bug (I'm using latest version 4.2). Posted same question in Addict forum and they can't reproduce this error but it can be easily reproduced in your rvAddict simple demo ...
by Marsianin
Mon Aug 22, 2011 8:27 pm
Forum: Support
Topic: Empty RVE and Addict Autospell = 100% CPU
Replies: 18
Views: 67314

Empty RVE and Addict Autospell = 100% CPU

When Addict4 spell checker is set to autocheck while typing with empty RichViewEdit CPU usage is almost 100%
Typing 1-2 letters in RVE and it became normal.
Is there a way to fix it?
by Marsianin
Fri Aug 12, 2011 9:31 pm
Forum: Support
Topic: Set RVStyle.DefCodePage runtime
Replies: 11
Views: 34428

Can you tell me when do you plan to implement it?
by Marsianin
Fri Aug 12, 2011 9:30 pm
Forum: Support
Topic: Clear RichViewEdit completely
Replies: 7
Views: 28161

Ok, set rvoClientTextWidth and it helped.

But new document still inherits boundaries from ruler from previous document.
by Marsianin
Fri Aug 12, 2011 2:09 am
Forum: Support
Topic: Clear RichViewEdit completely
Replies: 7
Views: 28161

And when you have RVE with Align=AtClient with RVRuler resizing main window moves right page boundary in the ruler according window size. But once moved by the user (right page bound in the ruler) it fixes and even if you make window smaller than page width it will not resize. How can I bring back ...
by Marsianin
Fri Aug 12, 2011 2:03 am
Forum: Support
Topic: Clear RichViewEdit completely
Replies: 7
Views: 28161

Tried:

Code: Select all

  RVRuler1.UpdateRulerIndents;
  RVRuler1.UpdateRulerMargins;
Did not help :x
by Marsianin
Wed Aug 10, 2011 11:19 pm
Forum: Support
Topic: Clear RichViewEdit completely
Replies: 7
Views: 28161

Ok, after this code everything clears and works fine but if the ruler set to some fixed document width (21cm for example) new document in this RVE will use this width too :shock: So how can I reset RVRuler? Once you change document width via ruler it became fixed and if form is smaller than this ...