1. Peter EBERLEIN's windows editor wee

Great, great, great!
God, the editor is great!

Just what I was needing to understand the whole windows programming
process...

I like the ability to run the program, and with 2.0 beta everything is
windows!.

I've tried to select, drag and drop pieces of text to a second copy of
itself, and it works fine!.

But when I try to paste to another (a different one) editor I get some
bizarre results, end-of-lines get lost and a funny square-character does
appear instead. No way to paste to Win95 notepad.

Anyway, is a great progress towards a real Windows integration.

I've noticed the print and print setup options missing (disabled).
Why not to activate Print and executing from it the nice Euphoria pretty
print program?.
Coud be enough in the meantime there is a real windows print feature...

Wish list:

- Coloured syntax
- Matching braces highlight
- Ability to select background and text colours
- Ability to change the awful default Courier font (I always use Lucida
Console 9 for everything)

Congratulations for a good work Pete.

Jesus.

new topic     » topic index » view message » categorize

2. Re: Peter EBERLEIN's windows editor wee

> I've tried to select, drag and drop pieces of text to a second copy of
> itself, and it works fine!.

I never tried that.  Wow!  I had no idea that it could drag and drop text.

> But when I try to paste to another (a different one) editor I get some
> bizarre results, end-of-lines get lost and a funny square-character does
> appear instead. No way to paste to Win95 notepad.

I don't know how to fix this.  It might have something to do with how the
rich edit control handles line-break chars.  I've noticed that saved files
edited with wee have music notes at the end of some lines.  There are
control messages that change soft-breaks and hard-breaks but I can't
figure them out.  The edit control might need the two-char linebreaks (CR
& LF) in order to work correctly.  I'm reading in the file with gets(),
which I'm guessing only has a single CR char at the end, so perhaps that's
where the problem is.

> Wish list:
>
> - Coloured syntax
> - Matching braces highlight
> - Ability to select background and text colours
> - Ability to change the awful default Courier font (I always use Lucida
> Console 9 for everything)

This is my wish list too.  Except I'm not sure how to do that stuff.  I
know the rich edit control supports color and any font... but I haven't
figured out how to do it.  The editor is pretty much limited to the
abilities of the rich edit control.  I released the editor with the hopes
that someone else would know how to make it better.  This is why I changed
the name to Wimpy EE instead of Windows EE.

> Congratulations for a good work Pete.

Thanks, Jesus.

Later,
--
                   _____         _____        _____
    ________      /\    \       /\    \      /\    \
   /   \    \    /  \____\     /  \____\    /  \____\
  /  _  \____\  /   / ___/_   /   /____/   /   / ___/_
 /  / \  |____|/   / /\____\ /    \    \  /   / /\____\
 \  \_/ /    / \   \/ / ___/_\     \    \ \   \/ / ___/_
  \    /____/   \    / /\    \\/\   \    \ \    / /\    \
   \   \    \    \   \/  \____\  \   \    \ \   \/  \____\
    \   \    \    \      /    /   \   \____\ \      /    /
     \   \____\    \    /    /     \  /    /  \    /    /
      \  /    /     \  /    /       \/____/    \  /    /
       \/____/       \/____/xseal at harborside.com\/____/

new topic     » goto parent     » topic index » view message » categorize

3. Re: Peter EBERLEIN's windows editor wee

------ =_NextPart_000_01BD478F.D1AB45C0
Content-Transfer-Encoding: quoted-printable

Nice work, Pete!

> Coloured syntax and other wishes

There are only two ways I can think of handling the colored syntax. The =
first is a horrible kludge: write the colored text on top of the text =
displayed in the MLE by trapping events sent to it, and writing over it =
after it changes.

The only advantage it has is that it's not the second approach: writing =
your own text editor. If you have the Petzold book, take a look at the =
TYPER program in Chapter 5. It's a very rudimentary text editor. I'm not =
sure how to specify text colour, though.

You should be able to combine that with Robert's SYNCOLOR.E routine to =
get the appropriate syntax coloring.

I'm going to take a stab at a Win32 editor with the requested features, =
but probably not this month. :)

* David Cuny

------ =_NextPart_000_01BD478F.D1AB45C0

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu