From b76c5cf01999728b2682697aecc7660e0e1e6454 Mon Sep 17 00:00:00 2001 From: mattias Date: Sat, 26 Nov 2011 11:19:08 +0000 Subject: [PATCH] IDE: code help hint: show elements pre, table, tr, th, td git-svn-id: trunk@33796 - --- components/codetools/ide/codyidentifiersdlg.pas | 2 +- ide/codehelp.pas | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/components/codetools/ide/codyidentifiersdlg.pas b/components/codetools/ide/codyidentifiersdlg.pas index c1f4e1c6e4..812f5f5adf 100644 --- a/components/codetools/ide/codyidentifiersdlg.pas +++ b/components/codetools/ide/codyidentifiersdlg.pas @@ -30,7 +30,7 @@ -check if identifier still exists -check if unit conflicts with another unit in path -buttons: add unit to interface, add unit to implementation - -add unit to uses + -button: jump to identifier -add dependency to owner -clean up old entries -When, How? diff --git a/ide/codehelp.pas b/ide/codehelp.pas index 4592627735..f106f92a33 100644 --- a/ide/codehelp.pas +++ b/ide/codehelp.pas @@ -2657,7 +2657,14 @@ function TCodeHelpManager.GetFPDocNodeAsHTML(FPDocFile: TLazFPDocFile; else if Node.NodeName='seealso' then Result:=Result+'
'+'See also'+'
'; Result:=Result+'
'+s+'
'+LineEnding; - end else if (Node.NodeName='p') or (Node.NodeName='b') + end else if (Node.NodeName='p') + or (Node.NodeName='b') + or (Node.NodeName='pre') + or (Node.NodeName='table') + or (Node.NodeName='th') + or (Node.NodeName='tr') + or (Node.NodeName='td') + or (Node.NodeName='hr') then begin Result:=Result+'<'+Node.NodeName+'>'+AddChilds(Node)+''; end else if (Node.NodeName='var') then begin