IDE: codebuffer to synedit: using add instead of temporary stringlist

git-svn-id: trunk@25715 -
This commit is contained in:
mattias 2010-05-27 21:49:06 +00:00
parent e4f319754a
commit 7420ab3ba0
2 changed files with 2 additions and 2 deletions

View File

@ -2196,7 +2196,7 @@ begin
'72%','130','170','60%',NonModalIDEWindowNames[nmiwSourceNoteBookName],alRight);
IDEWindowCreators.Add(NonModalIDEWindowNames[nmiwMessagesViewName],
@CreateIDEWindow,
'230','65%','70%','100',NonModalIDEWindowNames[nmiwSourceNoteBookName],alBottom);
'230','75%','70%','100',NonModalIDEWindowNames[nmiwSourceNoteBookName],alBottom);
IDEWindowCreators.Add(NonModalIDEWindowNames[nmiwUnitDependenciesName],
@CreateIDEWindow,'200','200','','');

View File

@ -2025,7 +2025,7 @@ begin
if assigned(SharedEditors[i].FEditPlugin) then
SharedEditors[i].FEditPlugin.Enabled := False;
SynEditor.BeginUpdate;
FCodeBuffer.AssignTo(SynEditor.Lines, True);
FCodeBuffer.AssignTo(SynEditor.Lines, false);
FEditorStampCommitedToCodetools:=(SynEditor.Lines as TSynEditLines).TextChangeStamp;
SynEditor.EndUpdate;
for i := 0 to FSharedEditorList.Count - 1 do