Re: David Cuny's Editor

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Wed, 9 Apr 1997 15:16:15 PST "Cuny, David" <ATB.DCUNY at HW1.CAHWNET.GOV>
writes:

>Lucius wrote:
>> I have to be able to load and edit multiple files.
>
>I got most of it coded last night. I hope to have this ready by
>monday.

Sounds great !!!

>> I can't stand the fact that ed.ex windows aren't scalable.
>
>I don't intend to add scalable windows to my editor either. At least,
>not in
>the near future.

Scalabality isn't really that important, just handy sometimes.

>> Just a few minutes ago I had Four files open and was editing at
>> least Two of them.
>
>I'll allow up to 10 different files open, like DOS 7's EDIT.COM.

Good.

>> I have been using quick editor for quite some time.
>> Once I got use to it I refused to use DOS's Edit.com.
>
>I modeled my editor after  the DOS 7 editor. Oh, well.

DOS's Edit didn't allow mulitiple files is the MAIN reason I
abandoned it.  I rarely have only one file open.
EXAMPLE:
  How much good is Autoexec.bat without Config.sys?

>> I still prefer Robert's Editor because of the colored keywords and
>> brackets.  Of course I have made a few modifications that I would
>> like to become permanent.
>
>I'm using Robert's colored keyword routines, so I assume you could
>insert
>your circular bracket coloring code in my editor.

I did the circular bracket in syncolor.e. If that is what you are using
then I should have no problem porting it.  I could even send the
code so you could make it part of your editor.
When I said code I meant; CODE SNIP for that routine &
placement of it.  I feel that you would not have much trouble
figureing out how it worked and how and where to place it.

>> My latest attempt has been to show (row, coloumn) at all times.
>
>My editor's got that.

Great !!!

> -- David Cuny


FEATURE IDEAS:

Idea 1:
        Multiple files open with only the number of windows
desired displayed.  You would toggle between which files were
displayed.
EXAMPLE:  Four files open with only Two displayed in windows.
        press a certain key or combo of keys and you toggle
        your present window to display one of the other opened
        files.

Idea 2:
        Being able to display the ASCII value of the character that
the cursor is on.  OR the simple work around is an ASCII Chart.
        I hate those ASCII Charts though... To much work involved.
You have to actually look-up the values on those things.

Thanks.    You are doing a wonderful job.

OH, and about the intensity.
Euphoria doesn't support intensity.
Euphoria does support blinking.
Blinking is considered a foreground attribute.
  after all it is the foreground that blinks NOT the background.
white = 7
text_color(7)
bright_white = 15
--7 + 8 = 15
bright = 8
text_color(15)-- or text_color(7 + 8)
blinking = 16
--7 + 16 = 23
blinking_white = 23
text_color(23)-- or text_color(7 + 16)

Do you know get the Idea?

The only trick required that Euphoria does not handle is
flipping the blinking to intensity.
After that the user of this has to remember that
bk_color() only takes 0-7
AND
text_color() takes 0-16 for foreground
AND
add 16 to foreground to get background
Intensity.

So
text_color() takes a value from 0 to 31
        AND
bk_color() takes a value from 0 to 7

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu