* * *

Author Topic: What does these colors mean?  (Read 722 times)

majid.ebru

  • Sr. Member
  • ****
  • Posts: 352
What does these colors mean?
« on: January 24, 2018, 10:22:07 am »
Hi

What does these colors mean?

thankyou

Handoko

  • Hero Member
  • *****
  • Posts: 2322
  • My goal: build my own game engine using Lazarus
Re: What does these colors mean?
« Reply #1 on: January 24, 2018, 10:35:01 am »
Hints tell that you may be able to improve the code although sometimes nothing you can do for it. For example the Parameter sender not used.

Warning is something that can cause bug in your code. Sometimes the code just run correctly. No matter it can cause problem or not, warning can be fixed.

Those are what I know.

I usually make my code warning-free but it still has hints.
« Last Edit: January 24, 2018, 10:38:08 am by Handoko »

majid.ebru

  • Sr. Member
  • ****
  • Posts: 352
Re: What does these colors mean?
« Reply #2 on: January 24, 2018, 10:53:34 am »
thank you

does any list or linke about these hints?

howardpc

  • Hero Member
  • *****
  • Posts: 2684
Re: What does these colors mean?
« Reply #3 on: January 24, 2018, 10:59:43 am »
from the wiki:
Message Marks For each compiler message listed in the Messages window the Source Editor shows  an icon in the left gutter, a line in the right gutter and the offending token is given a wavey underline. Right-clicking on the left gutter icon shows a context menu with a list of quick fixes.
The wavey underlines and other marks are only updated after compilation. This differs from the real-time syntax check in new Delphi versions where the wavey underline comes and goes while typing.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus