The syntaxes of my code lose their colors when I run the program! Why?

Hello,

When I run my gams code, its syntaxes lose their colors and each time, I have to close and open the file again to recover the colors. Note that it seems there is no error in this code.

I would be grateful if you could tell me what the problem is.

Regards,

Morteza
http://mortezash.blogfa.com/





\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

Morteza,

The listing file (with the line numbers) is not syntax colored; only the .GMS files.

Does that explain what you observe?

–Paul

On Fri, Feb 12, 2016 at 1:03 PM, ‘.::Morteza Shabanzadeh::.’ via gamsworld wrote:

Hello,

When I run my gams code, its syntaxes lose their colors and each time, I have to close and open the file again to recover the colors. Note that it seems there is no error in this code.

I would be grateful if you could tell me what the problem is.

Regards,

Morteza
http://mortezash.blogfa.com/





\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.



\

Paul van der Eijk
GAMS Development Corporation
Tel : (202) 342-0180 Fax : (202) 342-0181
Email: pvandereijk@gams.com
Web : http://www.gams.com


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

Paul,

I did not talk about .lis file (list file)!
But I said that the color of codes in .gms file is vanished when I run this file. Hope my question is clear enough.

Morteza

On Sat, Feb 13, 2016 at 12:15 AM, Paul Van der Eijk wrote:

Morteza,

The listing file (with the line numbers) is not syntax colored; only the .GMS files.

Does that explain what you observe?

–Paul

On Fri, Feb 12, 2016 at 1:03 PM, ‘.::Morteza Shabanzadeh::.’ via gamsworld wrote:

Hello,

When I run my gams code, its syntaxes lose their colors and each time, I have to close and open the file again to recover the colors. Note that it seems there is no error in this code.

I would be grateful if you could tell me what the problem is.

Regards,

Morteza
http://mortezash.blogfa.com/





\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.



\

Paul van der Eijk
GAMS Development Corporation
Tel : (202) 342-0180 Fax : (202) 342-0181
Email: pvandereijk@gams.com
Web : http://www.gams.com


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.



\


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

Morteza,

Please check the value

File | Options | Editor | Maximum lines for syntax colors

The default value may be too low; mine is set at 100000

–Paul

On Mon, Feb 15, 2016 at 1:40 AM, .::Morteza Shabanzadeh::. wrote:

Paul,

I did not talk about .lis file (list file)!
But I said that the color of codes in .gms file is vanished when I run this file. Hope my question is clear enough.

Morteza

On Sat, Feb 13, 2016 at 12:15 AM, Paul Van der Eijk wrote:

Morteza,

The listing file (with the line numbers) is not syntax colored; only the .GMS files.

Does that explain what you observe?

–Paul

On Fri, Feb 12, 2016 at 1:03 PM, ‘.::Morteza Shabanzadeh::.’ via gamsworld wrote:

Hello,

When I run my gams code, its syntaxes lose their colors and each time, I have to close and open the file again to recover the colors. Note that it seems there is no error in this code.

I would be grateful if you could tell me what the problem is.

Regards,

Morteza
http://mortezash.blogfa.com/





\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.



\

Paul van der Eijk
GAMS Development Corporation
Tel : (202) 342-0180 Fax : (202) 342-0181
Email: pvandereijk@gams.com
Web : http://www.gams.com


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.



\


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.



\

Paul van der Eijk
GAMS Development Corporation
Tel : (202) 342-0180 Fax : (202) 342-0181
Email: pvandereijk@gams.com
Web : http://www.gams.com


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

Hi Paul,

Many thanks for your point. I found the answer of my question .

Regards,

Morteza








From: Paul Van der Eijk
To: gamsworld@googlegroups.com
Sent: Tuesday, February 16, 2016 8:05 PM
Subject: Re: The syntaxes of my code lose their colors when I run the program! Why?

Morteza,

Please check the value

File | Options | Editor | Maximum lines for syntax colors

The default value may be too low; mine is set at 100000

–Paul

On Mon, Feb 15, 2016 at 1:40 AM, .::Morteza Shabanzadeh::. wrote:

Paul,

I did not talk about .lis file (list file)!
But I said that the color of codes in .gms file is vanished when I run this file. Hope my question is clear enough.

Morteza

On Sat, Feb 13, 2016 at 12:15 AM, Paul Van der Eijk wrote:

Morteza,

The listing file (with the line numbers) is not syntax colored; only the .GMS files.

Does that explain what you observe?

–Paul

On Fri, Feb 12, 2016 at 1:03 PM, ‘.::Morteza Shabanzadeh::.’ via gamsworld wrote:

Hello,

When I run my gams code, its syntaxes lose their colors and each time, I have to close and open the file again to recover the colors. Note that it seems there is no error in this code.

I would be grateful if you could tell me what the problem is.

Regards,

Morteza
http://mortezash.blogfa.com/




\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.



\

Paul van der Eijk
GAMS Development Corporation
Tel : (202) 342-0180 Fax : (202) 342-0181
Email: pvandereijk@gams.com
Web : http://www.gams.com

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.



\


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.



\

Paul van der Eijk
GAMS Development Corporation
Tel : (202) 342-0180 Fax : (202) 342-0181
Email: pvandereijk@gams.com
Web : http://www.gams.com

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.