mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 20:49:30 +02:00
IDE: Add '.' to tooltip help if missing. Issue #39004, patch by CudaText man.
git-svn-id: trunk@65252 -
This commit is contained in:
parent
a312cf8723
commit
caf1ee88ad
@ -2939,7 +2939,14 @@ function TCodeHelpManager.GetFPDocNodeAsHTML(FPDocFile: TLazFPDocFile;
|
||||
if Node.NodeName='errors' then
|
||||
Result:=Result+'<div class="title">'+'Errors'+'</div>'
|
||||
else if Node.NodeName='seealso' then
|
||||
Result:=Result+'<div class="title">'+'See also'+'</div>';
|
||||
Result:=Result+'<div class="title">'+'See also'+'</div>'
|
||||
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+'<div class="'+Node.NodeName+'">'+s+'</div>'+LineEnding;
|
||||
end else
|
||||
if (Node.NodeName='p')
|
||||
|
Loading…
Reference in New Issue
Block a user