C# Class ARCed.Scintilla.LineWrapping

ファイルを表示 Open project: borisblizzard/arcreator

Private Properties

Property Type Description
ShouldSerialize bool

Public Methods

Method Description
GetWrapCount ( int lineIndex ) : int

The number of lines displayed when a line of text is wrapped.

WrapLines ( int startLine, int endLine, int width ) : void

Forces the line range specified to wrap at the given pixel width. This operates independently of the current Scintilla line wrapping Mode property.

Protected Methods

Method Description
LineWrapping ( Scintilla scintilla ) : System

Initializes a new instance of the LineWrapping class.

Private Methods

Method Description
ShouldSerialize ( ) : bool

Method Details

GetWrapCount() public method

The number of lines displayed when a line of text is wrapped.
///// is less than 0 or greater than the line count. /////
public GetWrapCount ( int lineIndex ) : int
lineIndex int The zero-based index of the line to count.
return int

LineWrapping() protected method

Initializes a new instance of the LineWrapping class.
protected LineWrapping ( Scintilla scintilla ) : System
scintilla Scintilla The control that created this object.
return System

WrapLines() public method

Forces the line range specified to wrap at the given pixel width. This operates independently of the current Scintilla line wrapping Mode property.
///// and do not specify a valid ///// range of lines within the document. /////
public WrapLines ( int startLine, int endLine, int width ) : void
startLine int The zero-based line index to start wrapping.
endLine int The zero-based line index to stop wrapping.
width int /// The maximum width in pixels of the lines to wrap. A value of zero resets forced line wrapping. ///
return void