Special formatting in IDE?

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
miskox
User
User
Posts: 95
Joined: Sun Aug 27, 2017 7:37 pm
Location: Slovenia

Special formatting in IDE?

Post by miskox »

It might be very nice to have some special formatting of the text in comments in IDE (this info could be stored in source file of course):
- bold
- italics
- underlined
- other?

I want some comments to stand out. See pictures:

Image

(well italics should be in blue but you know...using word etc...)

You know what I mean.

For your consideration.

Thanks.
Saso
ozzie
Enthusiast
Enthusiast
Posts: 429
Joined: Sun Apr 06, 2008 12:54 pm
Location: Brisbane, Qld, Australia
Contact:

Re: Special formatting in IDE?

Post by ozzie »

The 'Issues' item under 'preferences' may help. You can add your own entries. I have added Note (\bNOTE\b.*) and Info (\bINFO\b.*). For Note I have the background color set to yellow, and for Info the background color is set to white. Any comment line that starts with ; NOTE will display with a yellow background, and any comment line that starts with ; INFO will display with a white background.
miskox
User
User
Posts: 95
Joined: Sun Aug 27, 2017 7:37 pm
Location: Slovenia

Re: Special formatting in IDE?

Post by miskox »

Thanks. Will try that. As it looks like this applies for the entire row.

Saso
Post Reply