From: SourceForge.net <no...@so...> - 2012-02-07 10:49:15
|
Patches item #3485263, was opened at 2012-02-07 01:54 Message generated for change (Comment added) made by kambi You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=304213&aid=3485263&group_id=4213 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: VCejka (vcejka) Assigned to: Michalis Kamburelis (kambi) Summary: Added support for HelpInsight style comments Initial Comment: Support for Delphi /MS VS style somments in form /// <tag> comment </tag> added. Internally they are translated to pasdoc tags. Tags supported in this version (see TParser.ExpandHelpInsightDescriptions): summary ->@abstract param -> @param returns -> returns exception -> @raises permission -> @permission c -> @code code -> @preformatted b -> @bold i -> @italic u -> @underline br -> @br ul -> @unorderedList ol -> @orderedList li -> @item remark -> plain text remarks -> plain text comment -> plain text New token type TOK_COMMENT_HELPINSIGHT added to PasDoc_Tokeniker.TTokenType, and also corresponding TOKEN_TYPE_NAMES string and TokenCommentTypes set member. Detection of new comment style is added to TTokenizer.ReadCommentType3, translation is launched from TParser.GetLastComment. ---------------------------------------------------------------------- >Comment By: Michalis Kamburelis (kambi) Date: 2012-02-07 02:49 Message: I forgot to add: I will actually test it and adjust to FPC and apply tomorrow. ---------------------------------------------------------------------- Comment By: Michalis Kamburelis (kambi) Date: 2012-02-07 02:47 Message: Thank you. I quickly looked at the patch, looks very clean and should apply without any problems. The only small thing that will have to be fixed is to replace RegularExpressions unit and class with FPC equivalent under {$ifdef FPC}, I can take care of it. I understand the official docs about this feature are here: http://delphi.wikia.com/wiki/Help_insight . I'm not sure do I like implementing this using regular expressions, but it's certainly much shorter and simpler than anything I can otherwise propose now :) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=304213&aid=3485263&group_id=4213 |