Win32-GUI-Scintilla
view release on metacpan or search on metacpan
Include/Scintilla.iface view on Meta::CPAN
# Are there any undoable actions in the undo history?
fun bool CanUndo=2174(,)
# Delete the undo history.
fun void EmptyUndoBuffer=2175(,)
# Undo one action in the undo history.
fun void Undo=2176(,)
# Cut the selection to the clipboard.
fun void Cut=2177(,)
# Copy the selection to the clipboard.
fun void Copy=2178(,)
# Paste the contents of the clipboard into the document replacing the selection.
fun void Paste=2179(,)
# Clear the selection.
fun void Clear=2180(,)
# Replace the contents of the document with the argument text.
fun void SetText=2181(, string text)
# Retrieve all the text in the document.
# Returns number of characters retrieved.
Include/Scintilla.iface view on Meta::CPAN
fun void ParaUpExtend=2416(,)
# Given a valid document position, return the previous position taking code
# page into account. Returns 0 if passed 0.
fun position PositionBefore=2417(position 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.
fun position PositionAfter=2418(position pos,)
# Copy a range of text to the clipboard. Positions are clipped into the document.
fun void CopyRange=2419(position start, position end)
# Copy argument text to the clipboard.
fun void CopyText=2420(int length, string text)
enu SelectionMode=SC_SEL_
val SC_SEL_STREAM=0
val SC_SEL_RECTANGLE=1
val SC_SEL_LINES=2
# Set the selection mode to stream (SC_SEL_STREAM) or rectangular (SC_SEL_RECTANGLE) or
# by lines (SC_SEL_LINES).
set void SetSelectionMode=2422(int mode,)
Scintilla.pm view on Meta::CPAN
# Delete the undo history.
sub EmptyUndoBuffer {
my $self = shift;
return $self->SendMessage (2175, 0, 0);
}
# Undo one action in the undo history.
sub Undo {
my $self = shift;
return $self->SendMessage (2176, 0, 0);
}
# Cut the selection to the clipboard.
sub Cut {
my $self = shift;
return $self->SendMessage (2177, 0, 0);
}
# Copy the selection to the clipboard.
sub Copy {
my $self = shift;
return $self->SendMessage (2178, 0, 0);
}
# Paste the contents of the clipboard into the document replacing the selection.
sub Paste {
my $self = shift;
return $self->SendMessage (2179, 0, 0);
}
# Clear the selection.
sub Clear {
my $self = shift;
return $self->SendMessage (2180, 0, 0);
}
# Replace the contents of the document with the argument text.
Scintilla.pm view on Meta::CPAN
sub PositionBefore {
my ($self, $pos) = @_;
return $self->SendMessage (2417, $pos, 0);
}
# Given a valid document position, return the next position taking code
# page into account. Maximum value returned is the last position in the document.
sub PositionAfter {
my ($self, $pos) = @_;
return $self->SendMessage (2418, $pos, 0);
}
# Copy a range of text to the clipboard. Positions are clipped into the document.
sub CopyRange {
my ($self, $start, $end) = @_;
return $self->SendMessage (2419, $start, $end);
}
# Copy argument text to the clipboard.
# CopyText(text)
sub CopyText {
my ($self, $text) = @_;
my $length = length $text;
return $self->SendMessageNP (2420, $length, $text);
}
use constant SC_SEL_STREAM => 0 ;
use constant SC_SEL_RECTANGLE => 1 ;
use constant SC_SEL_LINES => 2 ;
# Set the selection mode to stream (SC_SEL_STREAM) or rectangular (SC_SEL_RECTANGLE) or
Scintilla.pm view on Meta::CPAN
=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>
Scintilla.pm view on Meta::CPAN
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)
Scintilla.pm.end view on Meta::CPAN
=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>
Scintilla.pm.end view on Meta::CPAN
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)
( run in 1.702 second using v1.01-cache-2.11-cpan-84e82930d8c )