Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux    |    Getting to be as bloated as Windows!    |    107,822 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 106,343 of 107,822    |
|    Newyana2 to Jeff Gaines    |
|    Re: Linux Program    |
|    30 Jul 24 12:40:59    |
      XPost: alt.comp.os.windows-10       From: newyana@invalid.nospam              On 7/30/2024 9:27 AM, Jeff Gaines wrote:              > Although I have one Linux box I tend to live in Windows, specifically in       > Visual Studio and C#. I have my own RTF editor and asked in a Windows       > forum if anybody could tell me what key functions were standard in a       > RichTextBox and the only answer I got was "it differs between versions".       >       > Did you ever find any definitive documentation for the differences       > between versions?       >               That's a tough one. And the versions are all over the place.       At one time there were 3 completely different richedits, all with       the same version, that could be distinguished only by file size!               I have docs somewhere that I've downloaded that detail updates,       such as find backward being added in RE 2, if I remember right.       VB6 RichTextBox is actually based on RE1, but I'm using msftedit.dll,       which is richedit50w. Then there are separate versions involved with       MSO. It's very nutty. I've also read that some people think RE2       is faster/better than RE5. I haven't found that to be true. In tests       of RE2 and RE5 on the same computer, I've found that RE5 is generally       about twice as fast, but that the two were comparable in some cases.       As near as I can tell, RE2 is slower processing complex richtext encoding,       but as it gets simpler the two show less difference.               Last week I was dealing with an odd problem that's typical. I have       a Find function that selects the found word. In RE2 the word       stays selected with focus on my Find window. With RE5 the selection       disappeared. Not goo. But I finally found a simple solution: I use the       EM_HIDESELECTION message just after selecting the found word. But       looking up the MS docs it said hiding the selection was the default action.       They don't mention that it's only a recent change.               Another glitch in RE5: When pasting text, the caret gets moved willy       nilly after all operations are ceased. That doesn't happen in RE2. The       solution I found was to track EN_SELCHANGE and put the caret back       after the RE is done screwing around.               So I might be able to offer help on specific things but I don't have       any exhaustive list of issues. I also don't use .Net, so I don't know which       RE you're using. I'm creating it directly from msftedit.dll       and subclassing it. Interestingly, it produces RTF files that say       richedit20 in the header. But spy++ recognizes it as richedit50w. (There's       no A version in richedit50, as I understand it, so I've had to rework       string functions.)              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca