RE: IDE

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

You are correct. The syntax parser looks for word matches and highlights 
without looking at complete words. It does this so that user may key 
'create(' or 'create (' and 'create' be highlighted. I believe I can 
trap this particular case where '.' follows the word and not highlight 
in that situation.
--judith

g.haberek at comcast.net wrote:
> This is a teenie tiny bug in the syntax highlighting!  see, get() is a
> function, and also an include file, so the editor highlights it, 
> thinking it
> is a routine name.  try creating a file called create.e and include it, 
> then
> see what color it changes!
> 
> ~Greg
> g.haberek at comcast.net
> 
> ----- Original Message -----
> From: <sixs at ida.net>
> To: "EUforum" <EUforum at topica.com>
> Sent: Thursday, December 12, 2002 4:31 PM
> Subject: Re: IDE
> 
> 
> > Thanks for advice. I saw the "get.e" file was displayed in yellow color. 
> > I
> > changed to "Get.e" and it was not highlighted in yellow.  Was the yellow
> > color used to indicate that it was an error? I deleted the items in the
> > window and finally deleted the project file. I then started new and it
> > seemed to be ok. Perhaps the problem was that I developed the project on
> > Win98 and then moved it to winXP Pro. Was there a file that mispointed 
> > ???
> > ----- Original Message -----
> > From: "Martin Stachon" <martin.stachon at worldonline.cz>
> > To: "EUforum" <EUforum at topica.com>
> > Sent: Thursday, December 12, 2002 10:14 AM
> > Subject: Re: IDE
> >
> >
> > > Derek,
> > > perhaps you should add a crash_message("I am crashing intentionally,
> > because ...")
> > > just before the ?1/0
> > >
> > >     Martin
> > >
> > > ----- Original Message -----
> > > From: "Derek Parnell" <ddparnell at bigpond.com>
> > > To: "EUforum" <EUforum at topica.com>
> > > Sent: Wednesday, December 11, 2002 9:13 PM
> > > Subject: Re: IDE
> > >
> > >
> > > > Hi,
> > > > unfortunately, RDS has not given us programmers a way to produce an
> > EX.ERR
> > > > file unless we deliberately force an abnormal fault. In win32lib, I
> > choose
> > > > to do this by dividing by zero. This means that the error message that
> > comes
> > > > up - "divide by zero" - is misleading as this is NOT the real error.
> Its
> > > > just a way to force Euphoria to produce a debugging file.
> > > >
> > > > You should have also seen a message box pop up with the real error
> > message.
> > > > If you can let us know what that was, we might be able to be of more
> use
> > to
> > > > you. However, as I can see it was from the createEx() routine, it
> could
> > be
> > > > that you were using the wrong flags for the control you were creating.
> > Try
> > > > running the program with the trace facility until you get to the
> control
> > > > causing the problem.
> > > >
> > > > ----------------
> > > > cheers,
> > > > Derek Parnell
> > > > ----- Original Message -----
> > > > From: <sixs at ida.net>
> > > > To: "EUforum" <EUforum at topica.com>
> > > > Sent: Thursday, December 12, 2002 5:48 AM
> > > > Subject: Fw: IDE
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: jimmy
> > > > To: EUforum at topica.com
> > > > Sent: Wednesday, December 11, 2002 11:46 AM
> > > > Subject: IDE
> > > >
> > > >
> > > > How do I identify the problem I get when I try to execute a program
> from
> > > > Judith Evans IDe and it says I am try to devide by zero
> > > >
> > > > Jim Smiley
> > > > code area problem
> > > >
> > > > D:\Euphoria\include\Win32lib.ew:598 in procedure fShowError()
> > > > attempt to divide by 0
> > > > ... called from D:\Euphoria\include\Win32lib.ew:634 in procedure
> > abortErr()
<snip>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu