mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 05:40:24 +02:00
IDE: fpdoc editor: reduced debugging
git-svn-id: trunk@23677 -
This commit is contained in:
parent
0464afa852
commit
4910b94206
@ -1088,16 +1088,21 @@ begin
|
||||
end;
|
||||
end;
|
||||
if (fChain=nil) or (fChain.Count=0) then begin
|
||||
if (FCurrentTopic <> '') and (DFile <> nil) then CodeHelpBoss.SaveFPDocFile(DFile)
|
||||
else DebugLn(['TFPDocEditor.Save failed: no chain']);
|
||||
if (FCurrentTopic <> '') and (DFile <> nil) then
|
||||
CodeHelpBoss.SaveFPDocFile(DFile)
|
||||
else if Visible then
|
||||
DebugLn(['TFPDocEditor.Save failed: no chain']);
|
||||
exit;
|
||||
end;
|
||||
if not fChain.IsValid then begin
|
||||
if (FCurrentTopic <> '') and (DFile <> nil) then CodeHelpBoss.SaveFPDocFile(DFile)
|
||||
else DebugLn(['TFPDocEditor.Save failed: chain not valid']);
|
||||
if (FCurrentTopic <> '') and (DFile <> nil) then
|
||||
CodeHelpBoss.SaveFPDocFile(DFile)
|
||||
else if Visible then
|
||||
DebugLn(['TFPDocEditor.Save failed: chain not valid']);
|
||||
exit;
|
||||
end;
|
||||
if (fChain[0].FPDocFile = nil) and (DFile <> nil) then CodeHelpBoss.SaveFPDocFile(DFile)
|
||||
if (fChain[0].FPDocFile = nil) and (DFile <> nil) then
|
||||
CodeHelpBoss.SaveFPDocFile(DFile)
|
||||
else begin
|
||||
Values:=GetGUIValues;
|
||||
if not WriteNode(fChain[0],Values,true) then begin
|
||||
|
Loading…
Reference in New Issue
Block a user