mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-23 22:29:36 +02:00
IDE: debugger hint: convert to html
git-svn-id: trunk@32576 -
This commit is contained in:
parent
e9e9d97ea2
commit
55a583102f
@ -16300,7 +16300,9 @@ begin
|
|||||||
if SmartHintStr<>'' then begin
|
if SmartHintStr<>'' then begin
|
||||||
p:=System.Pos('<body>',lowercase(SmartHintStr));
|
p:=System.Pos('<body>',lowercase(SmartHintStr));
|
||||||
if p>0 then begin
|
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
|
end else begin
|
||||||
SmartHintStr:=Expression+LineEnding+LineEnding+SmartHintStr;
|
SmartHintStr:=Expression+LineEnding+LineEnding+SmartHintStr;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user