Wx-Scintilla
view release on metacpan or search on metacpan
wx-scintilla/include/WxScintilla.h view on Meta::CPAN
// Are there any undoable actions in the undo history?
bool CanUndo();
// Delete the undo history.
void EmptyUndoBuffer();
// Undo one action in the undo history.
void Undo();
// Cut the selection to the clipboard.
void Cut();
// Copy the selection to the clipboard.
void Copy();
// Paste the contents of the clipboard into the document replacing the selection.
void Paste();
// Clear the selection.
void Clear();
// Replace the contents of the document with the argument text.
void SetText(const wxString& text);
// Retrieve all the text in the document.
wxString GetText();
wx-scintilla/include/WxScintilla.h view on Meta::CPAN
void ParaUpExtend();
// Given a valid document position, return the previous position taking code
// page into account. Returns 0 if passed 0.
int PositionBefore(int 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.
int PositionAfter(int pos);
// Copy a range of text to the clipboard. Positions are clipped into the document.
void CopyRange(int start, int end);
// Copy argument text to the clipboard.
void CopyText(int length, const wxString& text);
// Set the selection mode to stream (SC_SEL_STREAM) or rectangular (SC_SEL_RECTANGLE/SC_SEL_THIN) or
// by lines (SC_SEL_LINES).
void SetSelectionMode(int mode);
// Get the mode of the current selection.
int GetSelectionMode();
// Retrieve the position of the start of the selection at the given line (INVALID_POSITION if no selection on this line).
wx-scintilla/src/scintilla.cpp view on Meta::CPAN
{
SendMsg(2175, 0, 0);
}
// Undo one action in the undo history.
void wxScintillaTextCtrl::Undo()
{
SendMsg(2176, 0, 0);
}
// Cut the selection to the clipboard.
void wxScintillaTextCtrl::Cut()
{
SendMsg(2177, 0, 0);
}
// Copy the selection to the clipboard.
void wxScintillaTextCtrl::Copy()
{
SendMsg(2178, 0, 0);
}
// Paste the contents of the clipboard into the document replacing the selection.
void wxScintillaTextCtrl::Paste()
{
SendMsg(2179, 0, 0);
}
// Clear the selection.
void wxScintillaTextCtrl::Clear()
{
SendMsg(2180, 0, 0);
}
wx-scintilla/src/scintilla.cpp view on Meta::CPAN
return SendMsg(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.
int wxScintillaTextCtrl::PositionAfter(int pos)
{
return SendMsg(2418, pos, 0);
}
// Copy a range of text to the clipboard. Positions are clipped into the document.
void wxScintillaTextCtrl::CopyRange(int start, int end)
{
SendMsg(2419, start, end);
}
// Copy argument text to the clipboard.
void wxScintillaTextCtrl::CopyText(int length, const wxString& text)
{
SendMsg(2420, length, (sptr_t)(const char*)wx2stc(text));
}
// Set the selection mode to stream (SC_SEL_STREAM) or rectangular (SC_SEL_RECTANGLE/SC_SEL_THIN) or
// by lines (SC_SEL_LINES).
void wxScintillaTextCtrl::SetSelectionMode(int mode)
{
SendMsg(2422, mode, 0);
wx-scintilla/src/scintilla/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.
wx-scintilla/src/scintilla/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
val SC_SEL_THIN=3
# Set the selection mode to stream (SC_SEL_STREAM) or rectangular (SC_SEL_RECTANGLE/SC_SEL_THIN) or
# by lines (SC_SEL_LINES).
( run in 0.611 second using v1.01-cache-2.11-cpan-81fc1098f69 )