From 91e1a5a7411e1fddc5165a1f35724a45685db620 Mon Sep 17 00:00:00 2001 From: maxim Date: Fri, 18 Jun 2021 20:39:19 +0000 Subject: [PATCH] Reverted r65252 #caf1ee88ad: IDE: Add '.' to tooltip help if missing. Issue #39004, patch by CudaText man. This caused a regression (bug #39011), and descriptions themselves had been corrected instead in order to have correct punctuation in all help output formats (CHM, HTML etc.) git-svn-id: trunk@65276 - --- ide/codehelp.pas | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/ide/codehelp.pas b/ide/codehelp.pas index 6f8f60aba0..9c7df17468 100644 --- a/ide/codehelp.pas +++ b/ide/codehelp.pas @@ -2939,14 +2939,7 @@ function TCodeHelpManager.GetFPDocNodeAsHTML(FPDocFile: TLazFPDocFile; if Node.NodeName='errors' then Result:=Result+'
'+'Errors'+'
' else if Node.NodeName='seealso' then - Result:=Result+'
'+'See also'+'
' - else if Node.NodeName='short' then - begin - //fix Mantis issue #39004 - s:=Trim(s); - if (s<>'') and (s[Length(s)]<>'.') then - s:=s+'.'; - end; + Result:=Result+'
'+'See also'+'
'; Result:=Result+'
'+s+'
'+LineEnding; end else if (Node.NodeName='p')