mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 09:49:22 +02:00
IDE: messages window: fixed adding $warn off
git-svn-id: trunk@57765 -
This commit is contained in:
parent
9fae8f17bf
commit
71c85ca2f3
@ -346,7 +346,7 @@ begin
|
|||||||
LazarusIDE.OpenEditorsOnCodeToolChange:=true;
|
LazarusIDE.OpenEditorsOnCodeToolChange:=true;
|
||||||
try
|
try
|
||||||
Comment:=' : '+TIDEFPCParser.GetFPCMsgPattern(Msg);
|
Comment:=' : '+TIDEFPCParser.GetFPCMsgPattern(Msg);
|
||||||
if not CodeToolBoss.AddUnitWarnDirective(Code,IntToStr(MsgID),Comment,true) then
|
if not CodeToolBoss.AddUnitWarnDirective(Code,IntToStr(MsgID),Comment,false) then
|
||||||
begin
|
begin
|
||||||
DebugLn(['TQuickFix_HideWithCompilerDirective CodeToolBoss.AddUnitWarnDirective failed']);
|
DebugLn(['TQuickFix_HideWithCompilerDirective CodeToolBoss.AddUnitWarnDirective failed']);
|
||||||
LazarusIDE.DoJumpToCodeToolBossError;
|
LazarusIDE.DoJumpToCodeToolBossError;
|
||||||
|
Loading…
Reference in New Issue
Block a user