[Lazarus] "(Source)" in hint boxes
Mark Morgan Lloyd
markMLl.lazarus at telemetry.co.uk
Wed Jan 8 08:58:56 CET 2014
Mark Morgan Lloyd wrote:
> Possibly
>
> CommentStr:=ExtractCommentContent(CommentCode.Source,CommentStart,
> NestedComments,true,true,true);
> if CommentStr <> '' then
> Result:=Result+'<span class="comment">'+TextToHTML(CommentStr)
> +' ('+SourcePosToFPDocHint(CodeXYPos^,'Source')+')'
> +'</span><br>'+LineEnding;
>
> etc. in ide/codehelp.pas. If so that gives me something to get my teeth
> into.
>
> (* The irritating thing is when a comment has *)
> (* been boxed in like this, which results in *)
> (* spurious (Source) markers in the hint. *)
Patch at http://bugs.freepascal.org/view.php?id=25506
I don't think it's possible to replace the (Source) marker with a
callout glyph.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the Lazarus
mailing list