** what kind of problems **
I was expecting this to come back at me. Both 1.8.4 and 2.0.10 (on my Win10 computer with either 32 or 64bit compiler) will not install the 2020 RichMemo package ... nor any RichMemo version.
But 1.6.4 (using the 32bit compiler) will install both the 2017 and 2020 RichMemo packages. With the other compiler versions it seems to be a registration problem.
** it should be in the richmemo repository **
Yes, I found the file and installed it ... subject to the above scenario.
Maybe I don't know how to click a button, but the above is what happens to me no matter how many times I try to do it.
================
That said ... I have another problem. I have found that when a text contains mixed superscript and style formats, and I try to change the style, scripting or colors, it will change the scripting to vpNormal. But this does not happen with Subscript formatting.
Every other attribute is always retained unless it is the subject of the change. There also is not a problem with a change to Superscript. It does that as it should, but it will not be retained if it is in the selection for changing everything to a different attribute.
I looked through all of my code, and I cannot find anything that would cause this. I have also looked through "RichMemo.pas" and can't find an issue.
I was able to run the 2020 richmemo package, even though it was not registered, on the 2.0.10 compiler ... and this problem did not occur. But when I turned the compiler off, and then launched it again, richmemo would not function because it was not registered. The compiler would say that it could not find an "lfm" file nor the richmemo file, and it was not registered.
I downloaded the compiler twice (reinstalling it several times), and your install package a few times. Each instance had always given the same results.
But I do wonder about the RichMemo unit ... I have never understood how a procedure or function can have double entries, even though they have different parameter fields. It is obviously OK, because you do that everywhere, but I wouldn't think that the parameter list would be included as its name. Here is an example ...
procedure TCustomRichMemo.SetTextAttributes(TextStart, TextLen: Integer;
AFont: TFont);
begin
if not Assigned(AFont) then Exit;
SetTextAttributes(TextStart, TextLen, GetFontParams(AFont));
end;
procedure TCustomRichMemo.SetTextAttributes(TextStart, TextLen: Integer;
{SetMask: TTextStyleMask;} const TextParams: TFontParams);
begin
if not HandleAllocated then HandleNeeded;
if HandleAllocated then
TWSCustomRichMemoClass(WidgetSetClass).SetTextAttributes(Self, TextStart, TextLen, {SetMask,} TextParams);
end;
Nevertheless, the first procedure has GetFontParams(AFont) instead of the TextParams that the second has. Could that be generating a vpNormal parameter?
Rick