The MASM Forum Archive 2004 to 2012

Project Support Forums => The GeneSys Development System => Topic started by: grofaz on September 06, 2008, 03:50:57 AM

Title: GeneSys Editor Request
Post by: grofaz on September 06, 2008, 03:50:57 AM
Syntax highlighting doesn't stick between sessions. Sure would be nice if it stuck.  :wink

Looks great, thanks!
Title: Re: GeneSys Editor Request
Post by: Vortex on September 06, 2008, 08:57:49 AM
Hi dEbUgGeR,

Thanks for your interest in GeneSys editor. Could you give more information about the issue you are experiencing?
Title: Re: GeneSys Editor Request
Post by: grofaz on September 06, 2008, 06:25:17 PM
Yeah sure.

When I customize the syntax highlighting preferences they don't stick between sessions. If I close the Editor and open a new instance of the Editor I'm back to yellow background etc.

It would be nice if custom preferences stuck between sessions. That way I wouldn't have to redo them each time or else have to accept the defaults.

Regards
Title: Re: GeneSys Editor Request
Post by: grofaz on September 06, 2008, 07:22:20 PM
There are also some spelling errors I'm seeing. This one is from the Build menu. The template.asm file has some errors as well.



[attachment deleted by admin]
Title: Re: GeneSys Editor Request
Post by: grofaz on September 06, 2008, 08:17:04 PM
How do you use Pelle's tools from the Build menu ? They're greyed out !  :dazzled:
Title: Re: GeneSys Editor Request
Post by: Vortex on September 07, 2008, 09:53:23 AM
Hi dEbUgGeR ,

QuoteWhen I customize the syntax highlighting preferences they don't stick between sessions.

Thanks for your feedback. It looks like that the editor does not save correctly some preferences. I will talk to Paul about the issues you reported.
Title: Re: GeneSys Editor Request
Post by: grofaz on September 07, 2008, 06:40:22 PM
Cool!  :U

I was thinking about it and I should be more specific. It's not the syntax highlighting I'm actually on about. It's background, foreground, and font selection that don't stick between sessions. I was referring to all of that generically as syntax highlighting, but that's not really correct. Syntax highlighting actually works fine.

Sorry for any misunderstanding. Mea culpa.

Regards
Title: Re: GeneSys Editor Request
Post by: PBrennick on September 08, 2008, 06:57:59 AM
dEbUgGeR,
Yes, there is a problem setting ther background color and having it stay that way. Thank you for the report. I will fix it in the morning.

-- Paul
Title: Re: GeneSys Editor Request
Post by: PBrennick on September 08, 2008, 11:11:04 PM
Setting the background color persists session to session, now. Get the new version from the GeneSys Editor Update topic.

-- Paul
Title: Re: GeneSys Editor Request
Post by: grofaz on September 09, 2008, 01:28:49 AM
Thanks Paul !  :U
Title: Re: GeneSys Editor Request
Post by: grofaz on September 10, 2008, 05:15:43 AM
Paul,

I think I may have broken your latest editor update!

I set font to Courier New 11 pt
...... Text color to Green
...... Background color to Black


Everything worked great.

However, I then tried to customize the syntax highlight color for comments from the default value to:

Red 38
Green 140
Blue 254

using the color picker popup when clicking on change button.

And everything went bonky. The editor got real sluggish and would not link my program properly.

I had to reinstall the sdk.

If you need more info, just shout.

greg
Title: Re: GeneSys Editor Request
Post by: PBrennick on September 10, 2008, 03:50:39 PM
Greg,
there are twelve boxes that can be modified. Please tell me which ones by the c?? number or was it all of them?

-- Paul
Title: Re: GeneSys Editor Request
Post by: grofaz on September 10, 2008, 04:51:10 PM
I believe C11 for Comments.

Got to go to work...I'm late...

greg
Title: Re: GeneSys Editor Request
Post by: PBrennick on September 10, 2008, 10:24:24 PM
I'll work on it later tonight. Right now, I have someone hanging on my arm in a VERY insistent way. Must handle the priorities, you know.  :U

-- Paul
Title: Re: GeneSys Editor Request
Post by: grofaz on September 11, 2008, 02:23:21 AM
 :wink
Title: Re: GeneSys Editor Request
Post by: PBrennick on September 13, 2008, 10:04:45 PM
Reboot your machine and keep me posted. It works fine on my end.

-- Paul
Title: Re: GeneSys Editor Request
Post by: grofaz on September 14, 2008, 03:20:53 AM
OK Paul,

Here's what I'm getting. If you change c11 it wipes out the text color to black so if you have a black background text disappears. If you reset font color all is well. So I guess it works but not as robustly perhaps as desired??

regards,
greg
Title: Re: GeneSys Editor Request
Post by: PBrennick on September 14, 2008, 10:34:37 PM
Greg,
I feel it is robust enough, hours went into developing this editor. I have just added a mini-FileManager and now the line count is close to 8800 lines for the asm file and close to 900 lines for the RC file so a lot of effort was made to not just take shortcuts. My advice to you is simple, if you chose a black background then the TextColor or C11 should never be set to black.  :U

Also, there is a program called HCP.EXE that was written in asm on this board by someone that would be perfect for you. I have a copy and will find it for you. It has 3 sliders and a viewing window so you can see the colors change as you slide. The values are reported to you. The reason you need this is because there are an incredible amount of RGB values that will yield a color so close to black you will not be able to tell the difference. Watch this topic.

-- Paul
Title: Re: GeneSys Editor Request
Post by: grofaz on September 14, 2008, 11:41:26 PM
Paul,

I don't think you understand what I'm saying. I set font to Green, background to Black, default syntax highlight colors. All is well.

However, if I then customize the syntax highlight color for Comments, which is C11 I believe, it will indeed change the color to that requested but will wipe out my previous selection of Green for font and make it Black. Since I have a Black backgrond font disappears!

I like your editor, don't mean to imply it's not robust, just think it should not wipe out user preferences once set.
I can reselect Green for font and all is well again.

regards,
greg
Title: Re: GeneSys Editor Request
Post by: PBrennick on September 15, 2008, 01:34:34 PM
Greg,

Indeed, many times I mistake what someone is saying. I promise to take your request seriously as I try to do with all requests. I will test again now that I have more specifics. I can assure you, however, that the default text color is set using a call to the RichEdit control whereas the comments are painted so the two processes really should not be able to interfere each other (except for the comment, itself).

The bottom line is that I realize that you have in your minds eye what you want your programming environment to look like and I want it to happen.

By the way, I could not find hcp.exe so I wrote my own version. I believe it could be useful to you and others whether it has anything to do with the problem or not. Give it a play with the slides and observe the painting of the box. You will see what I was talking about before.

Also, are you using an LCD screen?

EDIT: I just tried it. I really like that green on black look, but you are right about something being screwy with C11. Give me a day, please.

EDIT: Greg, as a temporary (and I mean temporary) work-around, set the C11 value BEFORE you set the TextColor and it will work.
1. Set background color.
2. Make any changes to syntax highlighting.
3. Set TextColor.

It is a temporary fix and the problem still needs to be addressed but, at least, in the meantime, you should be able to get that environment that you want.

-- Paul




[attachment deleted by admin]
Title: Re: GeneSys Editor Request
Post by: grofaz on September 15, 2008, 04:54:31 PM
Quote from: PBrennick on September 15, 2008, 01:34:34 PM

Also, are you using an LCD screen?

EDIT: I just tried it. I really like that green on black look, but you are right about something being screwy with C11. Give me a day, please.

EDIT: Greg, as a temporary (and I mean temporary) work-around, set the C11 value BEFORE you set the TextColor and it will work.
1. Set background color.
2. Make any changes to syntax highlighting.
3. Set TextColor.

It is a temporary fix and the problem still needs to be addressed but, at least, in the meantime, you should be able to get that environment that you want.

-- Paul




Paul,

The work around is exactly what I'm doing. And yes I do have an LCD. Thanks for checking it out!

Regards,
greg