C# Class NppSharp.OutputView

A class used to access to the output window.
Mostrar archivo Open project: cmrazek/NppSharp Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Clear ( ) : void

Clears all text from the output window.

GoToBottom ( ) : void

Scrolls the output window to the bottom position.

GoToTop ( ) : void

Scrolls the output window to the top position.

Hide ( ) : void

Hides the output window.

Show ( ) : void

Shows the output window.

Write ( OutputStyle style, string text ) : void

Writes text to the output window using the specified style.

After this function ends, the style will be remain what it was before this function was called.

Write ( OutputStyle style, string format, object args ) : void

Writes formatted text to the output window using the specified style.

After this function ends, the style will be remain what it was before this function was called.

Write ( string text ) : void

Writes text to the output window using the current style.

WriteLine ( OutputStyle style, string text ) : void

Writes text to the output window followed by a end-of-line, using the specified style.

After this function ends, the style will be remain what it was before this function was called.

WriteLine ( string text ) : void

Writes text to the output window followed by a end-of-line, using the current style.

Method Details

Clear() public method

Clears all text from the output window.
public Clear ( ) : void
return void

GoToBottom() public method

Scrolls the output window to the bottom position.
public GoToBottom ( ) : void
return void

GoToTop() public method

Scrolls the output window to the top position.
public GoToTop ( ) : void
return void

Hide() public method

Hides the output window.
public Hide ( ) : void
return void

Show() public method

Shows the output window.
public Show ( ) : void
return void

Write() public method

Writes text to the output window using the specified style.
After this function ends, the style will be remain what it was before this function was called.
public Write ( OutputStyle style, string text ) : void
style OutputStyle The style for the text written.
text string The text to be written.
return void

Write() public method

Writes formatted text to the output window using the specified style.
After this function ends, the style will be remain what it was before this function was called.
public Write ( OutputStyle style, string format, object args ) : void
style OutputStyle The style for the text written.
format string The text format string. See string.Format documentation for details.
args object Arguments to be used in the string formatting.
return void

Write() public method

Writes text to the output window using the current style.
public Write ( string text ) : void
text string The text to be written.
return void

WriteLine() public method

Writes text to the output window followed by a end-of-line, using the specified style.
After this function ends, the style will be remain what it was before this function was called.
public WriteLine ( OutputStyle style, string text ) : void
style OutputStyle The style for the text written.
text string The text to be written.
return void

WriteLine() public method

Writes text to the output window followed by a end-of-line, using the current style.
public WriteLine ( string text ) : void
text string The text to be written.
return void