MainWindow.OpenTab

Opens a tab by a filename

public 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, 2019 • Updated: 01/06/19
Comment or report problem with topic