1. Windows Editor

Hi, this is the first time I have posted a message here

I have written a windows editor which can be downloaded from the Official
Euphoria home page.

It's freeware and is a multi-file notepad replacement which can call ex to
run euphoria programs, Drag and drop is built-in with each file being
opened in its own window.

no syntax highlighting as its based on the windows edit control, I have
written a file viewer which does syntax highlighting but this is a long way
from becoming an editor - if ever.

I have also converted the euphoria 'Libary.doc' into a help file to provide
keyword help, pressing F1 with the cursor on a keyword calls up the
helpfile  with that topic opened, related topics can be called up, topics
are also listed in function groups or you can step through them with browse
buttons.

Its worth a look just for the helpfile.

Mike Carroll

new topic     » topic index » view message » categorize

2. Windows Editor

Hello everyone,
I'm back on the list after a break of about 6 months due to moving to new
city, getting new (& different) job & ISP & email address etc..
I have an idea for a windows euphoria editor - my design, natch. Already
some of the base code has been written for storing an open/new file in
memory. Instead of a 2-d sequence which has each charactyer stored as an
integer (occupying 4 bytes) there would be a 1-d sequence with encoded(see
below for definition) and packed data. Of course the editor would be able to
have as many files "open" as the user wanted - the only limit would being
Euphoria's use of memory.
"Encoded" refers to my idea of analysing each line (as typed or read from
file) into a form which is almost identical to the output of the
BuildColorLine() routine in EX12.exw
The size of the encoded packed data (in BYTES) roughly equates to the size
of the raw text file, ie 1 byte per character.From memory, i think
Win32lib.ew was able to be stored at 98% ( or was it 103%) of actual size
using my system.

I have a crude demo program to show the design of the editor and it was
influenced somewhat by Mike Carroll's editor. Most of the controls in the
demo program don't work or work very poorly/incompletely.
I have posted the zipped demo files to the newsgroup.
The finished product would (in addition to the basic editor):

Run *any* Euphoria code *.e, *.ex, *.exw etc..
Be able to time any routine/s with just a few mouse clicks
Have a quick comment function, ie 1) select line/s 2) click COMMENT button
.. that also uncomments just as quickly
Have fast text creation abilities - check out HELP button in demo
Be an excellent opportunity for preprocessing buffs
NOT be cluttered with duplicate processes
Possibly/eventually have a variable name list that could be in a popup
window to assist input if not recollection

Now, your probably thinking : Do we really need yet another editor? Well,
why can't we have an editor that does everything it should. I use Mike
Carroll's editor but it's limited to file size, sometimes confuses the
colour coding and doesn't properly handle the colour of lines like:

include gets.e

But, to make this proposed high performance beast I need help. Are there any
programmers who are fluent enough to take control of a part of this project
and have time available? I suppose the areas of responsibilities would be:

1. The actual editor/screen manipulation and oversight of subsidiary
processes(including allocating work as below)
2. Data storage/retrieval - virtually done by me
3. a.processes like selecting another (already open) data file - similar to
Carrolls but at top of screen
3. b.processes like generating the timing code
3. c.processes like managing the variable name list
4. Well designed OPTIONS window - see demo
5. Possibly have pre-processing facilities

I personally do not feel confident to have oversight of this project, but at
the same time I would prefer my ideas to be fulfilled - Can't win, eh?

Even if no-one on the list volunteers to help I am sure that the 1-d encoded
packed data idea is worthwhile for any new editor. Incidentally, the
existence of a variable name list would reduce the data file still more as
each name/label (over a certain size) could be replaced by an index integer.


Yours Truly
Mike

vulcan at win.co.nz

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

3. Re: Windows Editor

Mike wrote:

> I have an idea for a windows euphoria editor -
> my design, natch.

I've got a program that shows off the rudiments of a Windows editor posted
on the recent contributions page; it shows off most of the key and cursor
handling routines.

The next release of Win32Lib will include an editor in the IDE (previously
called Design) that supports most of the cursor keys and has rudimentary
mouse support. No text selection or scrollbar support, though.

Feel free to borrow anything useful from either example.

-- David Cuny

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

4. Re: Windows Editor

>I have an idea for a windows euphoria editor - my design, natch

Oops, I forgot to note that its been posted to the newsgroup, sorry smile

Yours Truly
Mike

vulcan at win.co.nz

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

5. Windows Editor

Hi,
If anyones interested I've posted an update to my 16 bit windows editor t=
o
Robert.
This is a complete re-write as a tabbed notebook and features drag and dr=
op
capability, number of files open only limited by system resources, right
click edit menu, euphoria keyword help and best of all it's free.

The win95 version is already available from the oficial euphoria site

Mike Carroll =

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

6. Re: Windows Editor

Michael Carroll wrote:

> The win95 version is already available from the oficial euphoria site
>
> Mike Carroll =

Hi Mike, I use your win95 editor. It's great! Only one lack: color
syntax (I guess it's hard to code that). One suggestion: maybe you
could add a "project" feature so you can handle all the .ex and .e from
one project file and use your "notebook tabs" to access each component.
It may also let you "bind" the project from the editor.

--
Regards,
        Daniel Berstein
        architek at geocities.com
        http://www.geocities.com/SiliconValley/Heights/9316

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

7. Re: Windows Editor

> I use your win95 editor. It's great! Only one lack: color
> syntax (I guess it's hard to code that). One suggestion: maybe you
> could add a "project" feature so you can handle all the .ex and .e from=

> one project file and use your "notebook tabs" to access each component.=

> It may also let you "bind" the project from the editor.


Hi Daniel,
I've done some work on creating an edit control with syntax highlighting
but still have a long way to go and not enough spare time, so it's unlike=
ly
to be anytime soon.

A project feature and bind ability sounds easier to do so I'll look into
it.

Mike Carroll

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

Search



Quick Links

User menu

Not signed in.

Misc Menu