Win32-GUI

 view release on metacpan or  search on metacpan

Win32-GUI_Scintilla/Scintilla.pod  view on Meta::CPAN

Retrieve a range of text.

=item C<HideSelection> (normal)

Draw the selection in normal style or with selection highlighted.

=item C<PointXFromPosition> (position)

Retrieve the x value of the point in the window where a position is displayed.

=item C<PointYFromPosition> (position)

Retrieve the y value of the point in the window where a position is displayed.

=item C<LineFromPosition> (position)

Retrieve the line containing a position.

=item C<PositionFromLine> (line)

Retrieve the position at the start of a line.

=item C<LineScroll> (columns, lines)

Scroll horizontally and vertically.

=item C<ScrollCaret>

Ensure the caret is visible.

=item C<ReplaceSel> (text)

Replace the selected text with the argument text.

=item C<SetReadOnly> (bool)

Set to read only or read write.

=item C<Null>

Null operation.

=item C<CanPaste>

Will a paste succeed?

=item C<CanUndo>

Are there any undoable actions in the undo history?

=item C<EmptyUndoBuffer>

Delete the undo history.

=item C<Undo>

Undo one action in the undo history.

=item C<Cut>

Cut the selection to the clipboard.

=item C<Copy>

Copy the selection to the clipboard.

=item C<Paste>

Paste the contents of the clipboard into the document replacing the selection.

=item C<Clear>

Clear the selection.

=item C<SetText> (text)

Replace the contents of the document with the argument text.

=item C<GetText>

Retrieve all the text in the document.

=item C<GetTextLength>

Retrieve the number of characters in the document.

=item C<GetDirectFunction>

Retrieve a pointer to a function that processes messages for this Scintilla.

=item C<GetDirectPointer>

Retrieve a pointer to a function that processes messages for this Scintilla.

=item C<SetOvertype> (overtype)

Set to overtype (true) or insert mode.

=item C<GetOvertype>

Returns true if overtype mode is active otherwise false is returned.

=item C<SetCaretWidth> (pixelWidth)

Set the width of the insert mode caret.

=item C<GetCaretWidth>

Returns the width of the insert mode caret.

=item C<SetTargetStart> (position)

Sets the position that starts the target which is used for updating the
document without affecting the scroll position.

=item C<GetTargetStart>

Get the position that starts the target.

=item C<SetTargetEnd> (position)

Sets the position that ends the target which is used for updating the
document without affecting the scroll position.

=item C<GetTargetEnd>

Get the position that ends the target.

=item C<ReplaceTarget> (text)

Win32-GUI_Scintilla/Scintilla.pod  view on Meta::CPAN

Set the way the caret is kept visible when going sideway.
The exclusion zone is given in pixels.

=item C<SetYCaretPolicy> (caretPolicy, caretSlop)

Set the way the line the caret is on is kept visible.
The exclusion zone is given in lines.

=item C<SetPrintWrapMode> (mode)

Set printing to line wrapped (SC_WRAP_WORD) or not line wrapped (SC_WRAP_NONE).

=item C<GetPrintWrapMode>

Is printing line wrapped?

=item C<SetHotspotActiveFore> (useSetting, color)

Set a fore colour for active hotspots.

=item C<SetHotspotActiveBack> (useSetting, color)

Set a back colour for active hotspots.

=item C<SetHotspotActiveUnderline> (underline)

Enable / Disable underlining active hotspots.

=item C<SetHotspotSingleLine> (singleLine)

Limit hotspots to single line so hotspots on two lines don't merge.

=item C<ParaDown>

Move caret between paragraphs (delimited by empty lines).

=item C<ParaDownExtend>

Move caret between paragraphs (delimited by empty lines).

=item C<ParaUp>

Move caret between paragraphs (delimited by empty lines).

=item C<ParaUpExtend>

Move caret between paragraphs (delimited by empty lines).

=item C<PositionBefore> (pos)

Given a valid document position, return the previous position taking code
page into account. Returns 0 if passed 0.

=item C<PositionAfter>(pos)

Given a valid document position, return the next position taking code
page into account. Maximum value returned is the last position in the document.

=item C<CopyRange>(start, end)

Copy a range of text to the clipboard. Positions are clipped into the document.

=item C<CopyText> (length, text)

Copy argument text to the clipboard.

=item C<SetSelectionMode> (mode)

Set the selection mode to stream (SC_SEL_STREAM) or rectangular (SC_SEL_RECTANGLE) or by lines (SC_SEL_LINES).

=item C<GetSelectionMode>

Get the mode of the current selection.

=item C<GetLineSelStartPosition> (line)

Retrieve the position of the start of the selection at the given line (INVALID_POSITION if no selection on this line).

=item C<GetLineSelEndPosition> (line)

Retrieve the position of the end of the selection at the given line (INVALID_POSITION if no selection on this line).

=item C<LineDownRectExtend>

Move caret down one line, extending rectangular selection to new caret position.

=item C<LineUpRectExtend>

Move caret up one line, extending rectangular selection to new caret position.

=item C<CharLeftRectExtend>

Move caret left one character, extending rectangular selection to new caret position.

=item C<CharRightRectExtend>

Move caret right one character, extending rectangular selection to new caret position.

=item C<HomeRectExtend>

Move caret to first position on line, extending rectangular selection to new caret position.

=item C<VCHomeRectExtend>

Move caret to before first visible character on line.
If already there move to first character on line.
In either case, extend rectangular selection to new caret position.

=item C<LineEndRectExtend>

Move caret to last position on line, extending rectangular selection to new caret position.

=item C<PageUpRectExtend>

Move caret one page up, extending rectangular selection to new caret position.

=item C<PageDownRectExtend>

Move caret one page down, extending rectangular selection to new caret position.

=item C<StutteredPageUp>

Move caret to top of page, or one page up if already at top of page.

=item C<StutteredPageUpExtend>



( run in 0.965 second using v1.01-cache-2.11-cpan-81fc1098f69 )