public void SetInsertModeTest()
        {
            IStatusBarService target = CreateIStatusBarService(); // TODO: Initialize to an appropriate value
            bool insertMode          = false;                     // TODO: Initialize to an appropriate value

            target.SetInsertMode(insertMode);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
Esempio n. 2
0
        void CaretModeChanged(object sender, EventArgs e)
        {
            IStatusBarService statusBarService = (IStatusBarService)NetFocus.DataStructure.Services.ServiceManager.Services.GetService(typeof(IStatusBarService));

            statusBarService.SetInsertMode(((TextEditorControl)this.Control).ActiveTextAreaControl.Caret.CaretMode == CaretMode.InsertMode);
        }