Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-10

Hiding Code Hints

5 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Thompson

G'day,

According to the wiki, code comments starting with $ or % will be hidden from the code hint.

http://wiki.freepascal.org/Lazarus_IDE_Tools#Comments_shown_in_the_hint "Comments starting with *$* and *%* are ignored."

Testing with trunk shows that the only form of this that actually works is: sHint3: String; (*$ This is successfully hidden *)

  (*$ This is successfully hidden *)
  sHint9: String;

All other forms are shown, including all forms starting with %. (Obviously, I didn't test {$...})

See also
http://forum.lazarus.freepascal.org/index.php/topic,26090.msg159626.html#msg159626

Should I report this as an issue, or should I just update the wiki?

Many thanks

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20141009/eccfb168/attachment.html>

Reply by email

Mattias Gaertner
to Michael Thompson
Show quoted text 21 lines
G'day, According to the wiki, code comments starting with $ or % will be hidden from the code hint. http://wiki.freepascal.org/Lazarus_IDE_Tools#Comments_shown_in_the_hint "Comments starting with *$* and *%* are ignored." Testing with trunk shows that the only form of this that actually works is: sHint3: String; (*$ This is successfully hidden *) (*$ This is successfully hidden *) sHint9: String; All other forms are shown, including all forms starting with %. (Obviously, I didn't test {$...}) See also http://forum.lazarus.freepascal.org/index.php/topic,26090.msg159626.html#msg159626 Should I report this as an issue, or should I just update the wiki?

Fixed in trunk.
Please test.

Mattias

Reply by email

Michael Thompson
to Mattias Gaertner

Fast work, many thanks :-)

Most forms now work as per the wiki. There is one form still not working: sHint4: String; (*% This hint is shown *)

  (*% This hint is shown *)
  sHint10: String;

Mike

Mattias Gaertner wrote 39 lines
On Thu, 9 Oct 2014 21:09:04 +0200 Michael Thompson wrote: > G'day, > > According to the wiki, code comments starting with $ or % will be hidden > from the code hint. > > http://wiki.freepascal.org/Lazarus_IDE_Tools#Comments_shown_in_the_hint > "Comments starting with *$* and *%* are ignored." > > Testing with trunk shows that the only form of this that actually works is: > sHint3: String; (*$ This is successfully hidden *) > > (*$ This is successfully hidden *) > sHint9: String; > > All other forms are shown, including all forms starting with %. (Obviously, > I didn't test {$...}) > > See also > http://forum.lazarus.freepascal.org/index.php/topic,26090.msg159626.html#msg159626 > > Should I report this as an issue, or should I just update the wiki? Fixed in trunk. Please test. Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20141009/e6f978b0/attachment.html>

Reply by email

Mattias Gaertner
to Michael Thompson
Show quoted text 7 lines
Fast work, many thanks :-) Most forms now work as per the wiki. There is one form still not working: sHint4: String; (*% This hint is shown *) (*% This hint is shown *) sHint10: String;

Fixed.

Mattias

Reply by email