PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: ? on highlighting after a ;  (Read 654 times)

Paul D. Elliott

  • Guest
? on highlighting after a ;
« on: June 02, 2005, 06:45:33 PM »

This may have been asked & answered elsewhere but I can't find it.

All source after a semi-colon shows up green, like in a comment. I saw
this mentioned in the JF forums and it was supposed to have been fixed
a rev or 2 ago ( but hasn't been ). Is this a limitation in the current
version of the editing tool? Would it be possible to turn it off? Just speaking
personally, I don't do any ASM coding withing PB so it wouldn't bother me
in the least not to be able to tell at a glance that there is a comment on the
end of an ASM line. But it is very confusing when I'm trying to figure out
what I've typed wrong on a line when most of it is green.
Logged

Paul D. Elliott

  • Guest
? on highlighting after a ;
« Reply #1 on: June 04, 2005, 03:16:25 PM »

Okay, I'm guessing that most everybody likes it this way. It's been 2 days
and not a single peep of a response. I'll shut up now.   :cry:
Logged

TechSupport

  • Guest
? on highlighting after a ;
« Reply #2 on: June 04, 2005, 04:10:29 PM »

Hi Paul,

Just curious - in what situations do you use the semi-colon? I suspect that it is in Console programs where you use semi-colons in a FF_PRINT statement?

I can't remember 100% why I left the semi-colon functioning the way it does. Maybe because the majority of FireFly users create GUI based rather than Console based projects and there probably only the ASM comments coloring is relevant.

You are also correct in stating that this is a limitation of the current editing component.

Sorry for not responding sooner. I haven't been around much the last few days, and next week it looks like I will be gone a bit more as well.
Logged

Paul D. Elliott

  • Guest
? on highlighting after a ;
« Reply #3 on: June 04, 2005, 04:57:09 PM »

On Vacation at last? Awwwwwwwwwwwwwwwwwwwwwwwwwwwwww!


I use them a lot when creating plain text output files or printed reports
( when I can avoid using a GDI printer ). Stringing half-a-dozen variables
and literals together on a line  then accidentily hitting a shift and getting a colon
instead of a semi-colon. At high resolution ( and increasingly tired
eyes ) they can be hard to tell apart ( especially when it's all green ).

And all so that the ASM programmers can see that they have a comment
on the end of their code.  sheesh.  :?:
Logged

Steve Dunn

  • Guest
Semi Colons as REMark indicators
« Reply #4 on: June 04, 2005, 05:49:26 PM »

- My two cents worth:
- I'd like to see the semi colon color code made user-configurable.  This is probably not such a big deal to Firefly users (not too many folks use this for console apps would be my guess), but it is to JellyFish users who have PBCC as their default compiler....
Logged

Paul D. Elliott

  • Guest
? on highlighting after a ;
« Reply #5 on: June 04, 2005, 06:59:13 PM »

I don't see what this has to do with which version of the compiler is in
use. If I've got to string a bunch of variables together for output to a
file then I can do it just as easily in either. So far the only reason given
seems to be solely for those ASM programmers.  Am I the only programmer not doing ASM programming?
Logged

Steve Dunn

  • Guest
Semi Colon Color Coding
« Reply #6 on: June 04, 2005, 09:08:43 PM »

Paul -
- Not, you are not.  I do not do any ASM programming either.  Maybe we should ask the general user community to respond on this issue so as to provide some clearer guidance...?
Logged

TechSupport

  • Guest
? on highlighting after a ;
« Reply #7 on: June 04, 2005, 11:04:51 PM »

I'll see what I can do to make this user configurable. That would certainly be the best choice.  :)

I won't be able to upload any new version for about a week.... I have to go on a little business trip tomorrow.
Logged

Paul D. Elliott

  • Guest
? on highlighting after a ;
« Reply #8 on: July 17, 2005, 10:08:24 AM »

Is the "week" up yet?  I saw in another thread that you were planning on
putting out a new build soon. Will this change be in it?

Thanks.
Logged

TechSupport

  • Guest
? on highlighting after a ;
« Reply #9 on: July 17, 2005, 11:50:38 AM »

:)

You never forget do you, Paul?  :lol:

I have the request in the bug tracker. There are only two bugs left that I need to deal with. Your semi colon issue (which is not that bad), and the GPF problem when removing and adding images from Toolbar button in the Toolbar Editor.
Logged

Paul D. Elliott

  • Guest
? on highlighting after a ;
« Reply #10 on: July 17, 2005, 12:04:17 PM »

Yes, I do forget at times. Or at least I think I do. Sometimes it's hard to
remember if I forgot something or not.

No big rush. Just thought it'd be a nice thing to have changed.
Logged

TechSupport

  • Guest
? on highlighting after a ;
« Reply #11 on: July 17, 2005, 01:54:52 PM »

Hey Paul, this has now been implemented. Once the update is posted, you have no trouble changing the semi-colon character from being a comment indicator.
Logged

Steve Dunn

  • Guest
Semi Colon as REM marker
« Reply #12 on: July 17, 2005, 02:08:25 PM »

Thanks Paul!  Greatly appreciated!
Logged

Paul D. Elliott

  • Guest
? on highlighting after a ;
« Reply #13 on: July 26, 2005, 06:01:06 PM »

Thanks, Paul !!!!

Now at least my tired old eyes can see where I type a ":" instead of a ";".
I don't know how many times I've had to retype the whole line when it
looked fine to me, only to figure out later that I hit a shift-key somewhere
in the middle.


Please, Sir, may we have just a wee bit more?   :wink:

No, not another FF change.  Would it be possible to put the same fix
into JellyFish? I've still do a lot of plain programming outside of FF
and the same fix there would be appreciated.  If not then I'll wait on
the new version ( later this year ? ).

Thanks.
Logged

TechSupport

  • Guest
? on highlighting after a ;
« Reply #14 on: July 26, 2005, 06:13:58 PM »

Hi Paul,

Yeah, the old JellyFish is a little harder to modify because a lot of language specific stuff is hard coded in the EXE. I removed the ";" as a comment character and re-compiled the EXE for you.

You can get the EXE from the following zip file:

http://www.planetsquires.com/files/elliott.zip

Hope it works for you!
Logged
Pages: [1] 2