Groups | Search | Server Info | Login | Register


Groups > alt.os.linux > #80237

Re: Linux Program

From Newyana2 <newyana@invalid.nospam>
Newsgroups alt.comp.os.windows-10, alt.os.linux
Subject Re: Linux Program
Date 2024-07-30 12:40 -0400
Organization A noiseless patient Spider
Message-ID <v8b52c$1439r$1@dont-email.me> (permalink)
References (1 earlier) <v85ffp$3uip2$1@dont-email.me> <bmulnkxjcv.ln2@Telcontar.valinor> <v89po8$soit$1@dont-email.me> <v8an4k$11id8$1@dont-email.me> <xn0ooxopu1m0x6m004@news.individual.net>

Cross-posted to 2 groups.

Show all headers | View raw


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.)


Back to alt.os.linux | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Linux Program Murray <noreply@hhhhh.com> - 2024-07-28 05:45 +0000
  Re: Linux Program VanguardLH <V@nguard.LH> - 2024-07-28 02:35 -0500
  Re: Linux Program Richard Kettlewell <invalid@invalid.invalid> - 2024-07-28 10:59 +0100
  Re: Linux Program "Carlos E.R." <robin_listas@es.invalid> - 2024-07-28 14:07 +0200
    Re: Linux Program Newyana2 <newyana@invalid.nospam> - 2024-07-28 08:34 -0400
      Re: Linux Program Big Al <alan@invalid.com> - 2024-07-28 08:41 -0400
        Re: Linux Program Newyana2 <newyana@invalid.nospam> - 2024-07-28 12:42 -0400
          Re: Linux Program Jasen Betts <usenet@revmaps.no-ip.org> - 2024-08-03 13:39 +0000
          Re: Linux Program Paul <nospam@needed.invalid> - 2024-08-03 15:05 -0400
      Re: Linux Program Paul <nospam@needed.invalid> - 2024-07-28 13:20 -0400
        Re: Linux Program Newyana2 <newyana@invalid.nospam> - 2024-07-28 15:33 -0400
          Re: Linux Program Paul <nospam@needed.invalid> - 2024-07-28 17:18 -0400
  Re: Linux Program Paul <nospam@needed.invalid> - 2024-07-28 09:01 -0400
    Re: Linux Program Richard Kettlewell <invalid@invalid.invalid> - 2024-07-28 17:06 +0100
    Re: Linux Program "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2024-07-28 12:37 -0400
    Re: Linux Program "Carlos E.R." <robin_listas@es.invalid> - 2024-07-30 04:10 +0200
      Re: Linux Program Paul <nospam@needed.invalid> - 2024-07-30 00:21 -0400
        Re: Linux Program "Carlos E.R." <robin_listas@es.invalid> - 2024-07-30 13:51 +0200
        Re: Linux Program Newyana2 <newyana@invalid.nospam> - 2024-07-30 08:43 -0400
          Re: Linux Program "Jeff Gaines" <jgnewsid@outlook.com> - 2024-07-30 13:27 +0000
            Re: Linux Program Newyana2 <newyana@invalid.nospam> - 2024-07-30 12:40 -0400
              Re: Linux Program "Jeff Gaines" <jgnewsid@outlook.com> - 2024-07-30 18:41 +0000
                Re: Linux Program Newyana2 <newyana@invalid.nospam> - 2024-07-30 17:28 -0400
                Re: Linux Program "Jeff Gaines" <jgnewsid@outlook.com> - 2024-07-31 07:12 +0000
          Re: Linux Program "Carlos E.R." <robin_listas@es.invalid> - 2024-08-29 14:42 +0200
  Re: Linux Program MR <MR@invalid.invalid> - 2024-07-29 01:20 +0100
    Re: Linux Program vallor <vallor@cultnix.org> - 2024-08-03 18:24 +0000
      Re: Linux Program Paul <nospam@needed.invalid> - 2024-08-03 14:40 -0400
      Re: Linux Program John G <ghyhg@hyws.gfrd> - 2024-08-04 04:55 +0000
        Re: Linux Program danmin@danminart-dot-com.no-spam.invalid (Danart) - 2024-08-29 10:57 +0000

csiph-web