+// Get cursor type.
+int wxStyledTextCtrl::GetSTCCursor() const
+{
+ return SendMsg(2387, 0, 0);
+}
+
+// Change the way control characters are displayed:
+// If symbol is < 32, keep the drawn way, else, use the given character.
+void wxStyledTextCtrl::SetControlCharSymbol(int symbol)
+{
+ SendMsg(2388, symbol, 0);
+}
+
+// Get the way control characters are displayed.
+int wxStyledTextCtrl::GetControlCharSymbol() const
+{
+ return SendMsg(2389, 0, 0);
+}
+
+// Move to the previous change in capitalisation.
+void wxStyledTextCtrl::WordPartLeft()
+{
+ SendMsg(2390, 0, 0);
+}
+
+// Move to the previous change in capitalisation extending selection
+// to new caret position.
+void wxStyledTextCtrl::WordPartLeftExtend()
+{
+ SendMsg(2391, 0, 0);
+}
+
+// Move to the change next in capitalisation.
+void wxStyledTextCtrl::WordPartRight()
+{
+ SendMsg(2392, 0, 0);
+}
+
+// Move to the next change in capitalisation extending selection
+// to new caret position.
+void wxStyledTextCtrl::WordPartRightExtend()
+{
+ SendMsg(2393, 0, 0);
+}
+
+// Set the way the display area is determined when a particular line
+// is to be moved to by Find, FindNext, GotoLine, etc.
+void wxStyledTextCtrl::SetVisiblePolicy(int visiblePolicy, int visibleSlop)
+{
+ SendMsg(2394, visiblePolicy, visibleSlop);
+}
+
+// Delete back from the current position to the start of the line.
+void wxStyledTextCtrl::DelLineLeft()
+{
+ SendMsg(2395, 0, 0);
+}
+
+// Delete forwards from the current position to the end of the line.
+void wxStyledTextCtrl::DelLineRight()
+{
+ SendMsg(2396, 0, 0);
+}
+
+// Get and Set the xOffset (ie, horizonal scroll position).
+void wxStyledTextCtrl::SetXOffset(int newOffset)
+{
+ SendMsg(2397, newOffset, 0);
+}
+int wxStyledTextCtrl::GetXOffset() const
+{
+ return SendMsg(2398, 0, 0);
+}
+
+// Set the last x chosen value to be the caret x position.
+void wxStyledTextCtrl::ChooseCaretX()
+{
+ SendMsg(2399, 0, 0);
+}
+
+// Set the way the caret is kept visible when going sideway.
+// The exclusion zone is given in pixels.
+void wxStyledTextCtrl::SetXCaretPolicy(int caretPolicy, int caretSlop)
+{
+ SendMsg(2402, caretPolicy, caretSlop);
+}
+
+// Set the way the line the caret is on is kept visible.
+// The exclusion zone is given in lines.
+void wxStyledTextCtrl::SetYCaretPolicy(int caretPolicy, int caretSlop)
+{
+ SendMsg(2403, caretPolicy, caretSlop);
+}
+
+// Set printing to line wrapped (SC_WRAP_WORD) or not line wrapped (SC_WRAP_NONE).
+void wxStyledTextCtrl::SetPrintWrapMode(int mode)
+{
+ SendMsg(2406, mode, 0);
+}
+
+// Is printing line wrapped?
+int wxStyledTextCtrl::GetPrintWrapMode() const
+{
+ return SendMsg(2407, 0, 0);
+}
+
+// Set a fore colour for active hotspots.
+void wxStyledTextCtrl::SetHotspotActiveForeground(bool useSetting, const wxColour& fore)
+{
+ SendMsg(2410, useSetting, wxColourAsLong(fore));
+}
+
+// Get the fore colour for active hotspots.
+wxColour wxStyledTextCtrl::GetHotspotActiveForeground() const
+{
+ long c = SendMsg(2494, 0, 0);
+ return wxColourFromLong(c);
+}
+
+// Set a back colour for active hotspots.
+void wxStyledTextCtrl::SetHotspotActiveBackground(bool useSetting, const wxColour& back)
+{
+ SendMsg(2411, useSetting, wxColourAsLong(back));
+}
+
+// Get the back colour for active hotspots.
+wxColour wxStyledTextCtrl::GetHotspotActiveBackground() const
+{
+ long c = SendMsg(2495, 0, 0);
+ return wxColourFromLong(c);
+}
+
+// Enable / Disable underlining active hotspots.
+void wxStyledTextCtrl::SetHotspotActiveUnderline(bool underline)
+{
+ SendMsg(2412, underline, 0);
+}
+
+// Get whether underlining for active hotspots.
+bool wxStyledTextCtrl::GetHotspotActiveUnderline() const
+{
+ return SendMsg(2496, 0, 0) != 0;
+}
+
+// Limit hotspots to single line so hotspots on two lines don't merge.
+void wxStyledTextCtrl::SetHotspotSingleLine(bool singleLine)
+{
+ SendMsg(2421, singleLine, 0);
+}
+
+// Get the HotspotSingleLine property
+bool wxStyledTextCtrl::GetHotspotSingleLine() const
+{
+ return SendMsg(2497, 0, 0) != 0;
+}
+
+// Move caret between paragraphs (delimited by empty lines).
+void wxStyledTextCtrl::ParaDown()
+{
+ SendMsg(2413, 0, 0);
+}
+void wxStyledTextCtrl::ParaDownExtend()
+{
+ SendMsg(2414, 0, 0);
+}
+void wxStyledTextCtrl::ParaUp()
+{
+ SendMsg(2415, 0, 0);
+}
+void wxStyledTextCtrl::ParaUpExtend()
+{
+ SendMsg(2416, 0, 0);
+}
+
+// Given a valid document position, return the previous position taking code
+// page into account. Returns 0 if passed 0.
+int wxStyledTextCtrl::PositionBefore(int pos)
+{
+ 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 wxStyledTextCtrl::PositionAfter(int pos)
+{
+ return SendMsg(2418, pos, 0);
+}
+
+// Copy a range of text to the clipboard. Positions are clipped into the document.
+void wxStyledTextCtrl::CopyRange(int start, int end)
+{
+ SendMsg(2419, start, end);
+}
+
+// Copy argument text to the clipboard.
+void wxStyledTextCtrl::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) or
+// by lines (SC_SEL_LINES).
+void wxStyledTextCtrl::SetSelectionMode(int mode)
+{
+ SendMsg(2422, mode, 0);
+}
+
+// Get the mode of the current selection.
+int wxStyledTextCtrl::GetSelectionMode() const
+{
+ return SendMsg(2423, 0, 0);
+}
+
+// Retrieve the position of the start of the selection at the given line (INVALID_POSITION if no selection on this line).
+int wxStyledTextCtrl::GetLineSelStartPosition(int line)
+{
+ return SendMsg(2424, line, 0);
+}
+
+// Retrieve the position of the end of the selection at the given line (INVALID_POSITION if no selection on this line).
+int wxStyledTextCtrl::GetLineSelEndPosition(int line)
+{
+ return SendMsg(2425, line, 0);
+}
+
+// Move caret down one line, extending rectangular selection to new caret position.
+void wxStyledTextCtrl::LineDownRectExtend()
+{
+ SendMsg(2426, 0, 0);
+}
+
+// Move caret up one line, extending rectangular selection to new caret position.
+void wxStyledTextCtrl::LineUpRectExtend()
+{
+ SendMsg(2427, 0, 0);
+}
+
+// Move caret left one character, extending rectangular selection to new caret position.
+void wxStyledTextCtrl::CharLeftRectExtend()
+{
+ SendMsg(2428, 0, 0);
+}
+
+// Move caret right one character, extending rectangular selection to new caret position.
+void wxStyledTextCtrl::CharRightRectExtend()
+{
+ SendMsg(2429, 0, 0);
+}
+
+// Move caret to first position on line, extending rectangular selection to new caret position.
+void wxStyledTextCtrl::HomeRectExtend()
+{
+ SendMsg(2430, 0, 0);
+}
+
+// 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.
+void wxStyledTextCtrl::VCHomeRectExtend()
+{
+ SendMsg(2431, 0, 0);
+}
+
+// Move caret to last position on line, extending rectangular selection to new caret position.
+void wxStyledTextCtrl::LineEndRectExtend()
+{
+ SendMsg(2432, 0, 0);
+}
+
+// Move caret one page up, extending rectangular selection to new caret position.
+void wxStyledTextCtrl::PageUpRectExtend()
+{
+ SendMsg(2433, 0, 0);
+}
+
+// Move caret one page down, extending rectangular selection to new caret position.
+void wxStyledTextCtrl::PageDownRectExtend()
+{
+ SendMsg(2434, 0, 0);
+}
+
+// Move caret to top of page, or one page up if already at top of page.
+void wxStyledTextCtrl::StutteredPageUp()
+{
+ SendMsg(2435, 0, 0);
+}
+
+// Move caret to top of page, or one page up if already at top of page, extending selection to new caret position.
+void wxStyledTextCtrl::StutteredPageUpExtend()
+{
+ SendMsg(2436, 0, 0);
+}
+
+// Move caret to bottom of page, or one page down if already at bottom of page.
+void wxStyledTextCtrl::StutteredPageDown()
+{
+ SendMsg(2437, 0, 0);
+}
+
+// Move caret to bottom of page, or one page down if already at bottom of page, extending selection to new caret position.
+void wxStyledTextCtrl::StutteredPageDownExtend()
+{
+ SendMsg(2438, 0, 0);