Click or drag to resize

ITextDocumentView Interface

Defines the view used to display and edit a text document.

Namespace: Altaxo.Gui.Text.Viewing
Assembly: AltaxoDom (in AltaxoDom.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public interface ITextDocumentView

The ITextDocumentView type exposes the following members.

Properties
 NameDescription
Public propertyController Sets the controller that manages this view.
Public propertyDocumentCulture Sets the culture for this document. This is important for instance for spell checking.
Public propertyFractionOfEditorWindow Gets or sets the fraction of the window used by the editor.
Public propertyHighlightingStyle Sets the highlighting style.
Public propertyIsFoldingEnabled Sets a value indicating whether code folding is enabled.
Public propertyIsHyphenationEnabled Sets a value indicating whether hyphenation is enabled.
Public propertyIsInInitializationMode Flag that is set if the view is in initialization mode. If in initialization mode, it should not fire events etc, not render the document.
Public propertyIsLineNumberingEnabled Sets a value indicating whether line numbering is enabled.
Public propertyIsOutlineWindowVisible Sets a value indicating whether this the outline window is visible.
Public propertyIsSpellCheckingEnabled Sets a value indicating whether spell checking is enabled.
Public propertyIsViewerSelected Gets or sets a value indicating whether the viewer pane is selected.
Public propertyIsWordWrappingEnabled Sets a value indicating whether word wrapping is enabled.
Public propertyOutlineWindowRelativeWidth Sets the width of the outline window. A value of NaN indicates that the width is determined automatically by the contents of the outline window.
Public propertySourceText Gets or sets the source text shown in the editor.
Public propertyStyleName Sets the name of the active style.
Public propertyWindowConfiguration Gets or sets the viewer window configuration.
Top
Methods
 NameDescription
Public methodInsertSourceTextAtCaretPosition Inserts the provided markdown source text at the current caret position.
Public methodPrintShowDialog Shows a print dialog and prints the current document if confirmed.
Public methodSetDocumentNameAndLocalImages Sets the name of the document, and the local images. This function must be called every time the document name has changed.
Top
Events
 NameDescription
Public eventSourceTextChanged Occurs when the source text changes.
Top
See Also