IDE: debugger hint: convert to html

git-svn-id: trunk@32576 -
This commit is contained in:
mattias 2011-09-30 20:19:34 +00:00
parent e9e9d97ea2
commit 55a583102f

View File

@ -16300,7 +16300,9 @@ begin
if SmartHintStr<>'' then begin
p:=System.Pos('<body>',lowercase(SmartHintStr));
if p>0 then begin
Insert('<div class="debuggerhint">'+Expression+'</div><br>',SmartHintStr,p+length('<body>'));
Insert('<div class="debuggerhint">'
+CodeHelpBoss.TextToHTML(Expression)+'</div><br>',
SmartHintStr,p+length('<body>'));
end else begin
SmartHintStr:=Expression+LineEnding+LineEnding+SmartHintStr;
end;