Автозавершение кода - во всех окнах теперь
This commit is contained in:
parent
882109efa0
commit
7e3c869d0d
|
|
@ -374,7 +374,7 @@ namespace VisualPascalABC
|
|||
tsAutoInsertCode.Checked = true;
|
||||
mAUTOINSERTToolStripMenuItem.Checked = true;
|
||||
|
||||
CurrentCodeFileDocument.TextEditor.ActiveTextAreaControl.TextArea.KeyEventHandler += TextArea_KeyEventHandler;
|
||||
//CurrentCodeFileDocument.TextEditor.ActiveTextAreaControl.TextArea.KeyEventHandler += TextArea_KeyEventHandler;
|
||||
|
||||
init = true;
|
||||
foreach (string FileName in VisualPascalABCProgram.CommandLineArgs)
|
||||
|
|
|
|||
|
|
@ -246,7 +246,7 @@ namespace VisualPascalABC
|
|||
private CodeFileDocumentControl AddNewProgramToTab(DockPanel tabControl, string FileName)
|
||||
{
|
||||
CodeFileDocumentControl edit = AddNewTab(tabControl);
|
||||
|
||||
|
||||
edit.FileName = FileName;
|
||||
SetTabPageText(edit);
|
||||
edit.SetHighlightingStrategyForFile(FileName);
|
||||
|
|
@ -262,6 +262,8 @@ namespace VisualPascalABC
|
|||
AddEditorHandlers(edit);
|
||||
}
|
||||
CodeCompletionKeyHandler.Attach(edit.TextEditor);
|
||||
edit.TextEditor.ActiveTextAreaControl.TextArea.KeyEventHandler += TextArea_KeyEventHandler;
|
||||
|
||||
//HostCallbackImplementation.Register(this);
|
||||
|
||||
//\ivan
|
||||
|
|
|
|||
Loading…
Reference in a new issue