C# Класс NppSharp.OutputView

A class used to access to the output window.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

Clear() публичный Метод

Clears all text from the output window.
public Clear ( ) : void
Результат void

GoToBottom() публичный Метод

Scrolls the output window to the bottom position.
public GoToBottom ( ) : void
Результат void

GoToTop() публичный Метод

Scrolls the output window to the top position.
public GoToTop ( ) : void
Результат void

Hide() публичный Метод

Hides the output window.
public Hide ( ) : void
Результат void

Show() публичный Метод

Shows the output window.
public Show ( ) : void
Результат void

Write() публичный Метод

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.
Результат void

Write() публичный Метод

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.
Результат void

Write() публичный Метод

Writes text to the output window using the current style.
public Write ( string text ) : void
text string The text to be written.
Результат void

WriteLine() публичный Метод

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.
Результат void

WriteLine() публичный Метод

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.
Результат void