Opens a tab by a filename
public Task<TabItem> OpenTab(string mdFile, MarkdownDocumentEditor editor, bool showPreviewIfActive, string syntax, bool selectTab, bool rebindTabHeaders, bool batchOpen, int initialLineNumber, bool readOnly, bool noFocus, bool isPreview)
Parameters
mdFile
editor
showPreviewIfActive
syntax
selectTab
rebindTabHeaders
Rebinds the headers which should be done whenever a new Tab is
manually opened and added but not when opening in batch.
Checks to see if multiple tabs have the same filename open and
if so displays partial path.
New Tabs are opened at the front of the tab list at index 0
batchOpen
initialLineNumber
readOnly
noFocus
isPreview
See also:
Class MainWindow© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic