[Implemented] Syntax coloring wish

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

[Implemented] Syntax coloring wish

Post by BackupUser »

Restored from previous forum. Originally posted by Justin.

Different color for quotes and strings, basically differenciate between what the editor considers a string and what not, i think that is the point of syntax coloring, quotes should have normal text color in my opinion.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.
Different color for quotes and strings, basically differenciate between what the editor considers a string and what not, i think that is the point of syntax coloring, quotes should have normal text color in my opinion.
Huh? It already does colour quotes differently... for example, the string in
this code is a different colour to the rest:

Code: Select all

For a=1 To 10
  a$=a$+"yep" ; The word yep (and quotes) are coloured.
Next

PB - Registered PureBasic Coder
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Franco.

Maybe he want's

a$=a$+"yep" ; The word yep is coloured.

instead of

a$=a$+"yep" ; The word yep (and quotes) are coloured.






Have a nice day...
Franco

Sometimes you have to go a lonely way to accomplish genius things.

Edited by - franco on 08 June 2002 00:22:00
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Justin.

Yes, that is what i wanted to say, don't you think that is more logical?, look at this:

q$=Chr(34)

str="');"+q$+">"

str="');"+q$+">"

it is more easier for me to differenciate the strings in the first case.






Edited by - Justin on 08 June 2002 14:38:18
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

> Yes, that is what i wanted to say, don't you think that is more logical?

I see; I thought you meant something else, like having string$ coloured.


PB - Registered PureBasic Coder
Post Reply