AppModel.SelectedEditor

The selected editor that is set by Tab Navigation.

This is a low level routine that just retrieves the editor.

Use ActiveEditor which calls this property, for most common operations as that also ensures a file watcher is attached and other setup occurs.

This property exists solely to avoid UI thread access to TabControl.Tag property and avoid thread locking issues with the mmApp.Configuration.ActiveEditor property

public MarkdownDocumentEditor SelectedEditor

See also:

Class AppModel

© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic