+// Move caret one page up extending selection to new caret position.
+void wxStyledTextCtrl::PageUpExtend()
+{
+ SendMsg(2321, 0, 0);
+}
+
+// Move caret one page down.
+void wxStyledTextCtrl::PageDown()
+{
+ SendMsg(2322, 0, 0);
+}
+
+// Move caret one page down extending selection to new caret position.
+void wxStyledTextCtrl::PageDownExtend()
+{
+ SendMsg(2323, 0, 0);
+}
+
+// Switch from insert to overtype mode or the reverse.
+void wxStyledTextCtrl::EditToggleOvertype()
+{
+ SendMsg(2324, 0, 0);
+}
+
+// Cancel any modes such as call tip or auto-completion list display.
+void wxStyledTextCtrl::Cancel()
+{
+ SendMsg(2325, 0, 0);
+}
+
+// Delete the selection or if no selection, the character before the caret.
+void wxStyledTextCtrl::DeleteBack()
+{
+ SendMsg(2326, 0, 0);
+}
+
+// If selection is empty or all on one line replace the selection with a tab character.
+// If more than one line selected, indent the lines.
+void wxStyledTextCtrl::Tab()
+{
+ SendMsg(2327, 0, 0);
+}
+
+// Dedent the selected lines.
+void wxStyledTextCtrl::BackTab()
+{
+ SendMsg(2328, 0, 0);
+}
+
+// Insert a new line, may use a CRLF, CR or LF depending on EOL mode.
+void wxStyledTextCtrl::NewLine()
+{
+ SendMsg(2329, 0, 0);
+}
+
+// Insert a Form Feed character.
+void wxStyledTextCtrl::FormFeed()
+{
+ SendMsg(2330, 0, 0);
+}
+
+// Move caret to before first visible character on line.
+// If already there move to first character on line.
+void wxStyledTextCtrl::VCHome()
+{
+ SendMsg(2331, 0, 0);
+}
+
+// Like VCHome but extending selection to new caret position.
+void wxStyledTextCtrl::VCHomeExtend()
+{
+ SendMsg(2332, 0, 0);
+}
+
+// Magnify the displayed text by increasing the sizes by 1 point.
+void wxStyledTextCtrl::ZoomIn()
+{
+ SendMsg(2333, 0, 0);
+}
+
+// Make the displayed text smaller by decreasing the sizes by 1 point.
+void wxStyledTextCtrl::ZoomOut()
+{
+ SendMsg(2334, 0, 0);
+}
+
+// Delete the word to the left of the caret.
+void wxStyledTextCtrl::DelWordLeft()
+{
+ SendMsg(2335, 0, 0);
+}
+
+// Delete the word to the right of the caret.
+void wxStyledTextCtrl::DelWordRight()
+{
+ SendMsg(2336, 0, 0);
+}
+
+// Delete the word to the right of the caret, but not the trailing non-word characters.
+void wxStyledTextCtrl::DelWordRightEnd()
+{
+ SendMsg(2518, 0, 0);
+}
+
+// Cut the line containing the caret.
+void wxStyledTextCtrl::LineCut()
+{
+ SendMsg(2337, 0, 0);
+}
+
+// Delete the line containing the caret.
+void wxStyledTextCtrl::LineDelete()
+{
+ SendMsg(2338, 0, 0);
+}
+
+// Switch the current line with the previous.
+void wxStyledTextCtrl::LineTranspose()
+{
+ SendMsg(2339, 0, 0);
+}
+
+// Duplicate the current line.
+void wxStyledTextCtrl::LineDuplicate()
+{
+ SendMsg(2404, 0, 0);
+}
+
+// Transform the selection to lower case.
+void wxStyledTextCtrl::LowerCase()
+{
+ SendMsg(2340, 0, 0);
+}
+
+// Transform the selection to upper case.
+void wxStyledTextCtrl::UpperCase()
+{
+ SendMsg(2341, 0, 0);
+}
+
+// Scroll the document down, keeping the caret visible.
+void wxStyledTextCtrl::LineScrollDown()
+{
+ SendMsg(2342, 0, 0);
+}
+
+// Scroll the document up, keeping the caret visible.
+void wxStyledTextCtrl::LineScrollUp()
+{
+ SendMsg(2343, 0, 0);
+}
+
+// Delete the selection or if no selection, the character before the caret.
+// Will not delete the character before at the start of a line.
+void wxStyledTextCtrl::DeleteBackNotLine()
+{
+ SendMsg(2344, 0, 0);
+}
+
+// Move caret to first position on display line.
+void wxStyledTextCtrl::HomeDisplay()
+{
+ SendMsg(2345, 0, 0);
+}
+
+// Move caret to first position on display line extending selection to
+// new caret position.
+void wxStyledTextCtrl::HomeDisplayExtend()
+{
+ SendMsg(2346, 0, 0);
+}
+
+// Move caret to last position on display line.
+void wxStyledTextCtrl::LineEndDisplay()
+{
+ SendMsg(2347, 0, 0);
+}
+
+// Move caret to last position on display line extending selection to new
+// caret position.
+void wxStyledTextCtrl::LineEndDisplayExtend()
+{
+ SendMsg(2348, 0, 0);
+}
+
+// These are like their namesakes Home(Extend)?, LineEnd(Extend)?, VCHome(Extend)?
+// except they behave differently when word-wrap is enabled:
+// They go first to the start / end of the display line, like (Home|LineEnd)Display
+// The difference is that, the cursor is already at the point, it goes on to the start
+// or end of the document line, as appropriate for (Home|LineEnd|VCHome)(Extend)?.
+void wxStyledTextCtrl::HomeWrap()
+{
+ SendMsg(2349, 0, 0);
+}
+void wxStyledTextCtrl::HomeWrapExtend()
+{
+ SendMsg(2450, 0, 0);
+}
+void wxStyledTextCtrl::LineEndWrap()
+{
+ SendMsg(2451, 0, 0);
+}
+void wxStyledTextCtrl::LineEndWrapExtend()
+{
+ SendMsg(2452, 0, 0);
+}
+void wxStyledTextCtrl::VCHomeWrap()
+{
+ SendMsg(2453, 0, 0);
+}
+void wxStyledTextCtrl::VCHomeWrapExtend()
+{
+ SendMsg(2454, 0, 0);
+}
+
+// Copy the line containing the caret.
+void wxStyledTextCtrl::LineCopy()
+{
+ SendMsg(2455, 0, 0);
+}
+
+// Move the caret inside current view if it's not there already.
+void wxStyledTextCtrl::MoveCaretInsideView()
+{
+ SendMsg(2401, 0, 0);
+}
+
+// How many characters are on a line, not including end of line characters?
+int wxStyledTextCtrl::LineLength(int line) const
+{
+ return SendMsg(2350, line, 0);
+}
+
+// Highlight the characters at two positions.
+void wxStyledTextCtrl::BraceHighlight(int pos1, int pos2)
+{
+ SendMsg(2351, pos1, pos2);
+}
+
+// Highlight the character at a position indicating there is no matching brace.
+void wxStyledTextCtrl::BraceBadLight(int pos)
+{
+ SendMsg(2352, pos, 0);
+}
+
+// Find the position of a matching brace or INVALID_POSITION if no match.
+int wxStyledTextCtrl::BraceMatch(int pos)
+{
+ return SendMsg(2353, pos, 0);
+}
+
+// Are the end of line characters visible?
+bool wxStyledTextCtrl::GetViewEOL() const
+{
+ return SendMsg(2355, 0, 0) != 0;
+}
+
+// Make the end of line characters visible or invisible.
+void wxStyledTextCtrl::SetViewEOL(bool visible)
+{
+ SendMsg(2356, visible, 0);
+}
+
+// Retrieve a pointer to the document object.
+void* wxStyledTextCtrl::GetDocPointer() {
+ return (void*)SendMsg(2357);
+}
+
+// Change the document object used.
+void wxStyledTextCtrl::SetDocPointer(void* docPointer) {
+ SendMsg(2358, 0, (sptr_t)docPointer);
+}
+
+// Set which document modification events are sent to the container.
+void wxStyledTextCtrl::SetModEventMask(int mask)
+{
+ SendMsg(2359, mask, 0);
+}
+
+// Retrieve the column number which text should be kept within.
+int wxStyledTextCtrl::GetEdgeColumn() const
+{
+ return SendMsg(2360, 0, 0);
+}
+
+// Set the column number of the edge.
+// If text goes past the edge then it is highlighted.
+void wxStyledTextCtrl::SetEdgeColumn(int column)
+{
+ SendMsg(2361, column, 0);
+}
+
+// Retrieve the edge highlight mode.
+int wxStyledTextCtrl::GetEdgeMode() const
+{
+ return SendMsg(2362, 0, 0);
+}
+
+// The edge may be displayed by a line (EDGE_LINE) or by highlighting text that
+// goes beyond it (EDGE_BACKGROUND) or not displayed at all (EDGE_NONE).
+void wxStyledTextCtrl::SetEdgeMode(int mode)
+{
+ SendMsg(2363, mode, 0);
+}
+
+// Retrieve the colour used in edge indication.
+wxColour wxStyledTextCtrl::GetEdgeColour() const
+{
+ long c = SendMsg(2364, 0, 0);
+ return wxColourFromLong(c);
+}
+
+// Change the colour used in edge indication.
+void wxStyledTextCtrl::SetEdgeColour(const wxColour& edgeColour)
+{
+ SendMsg(2365, wxColourAsLong(edgeColour), 0);
+}
+
+// Sets the current caret position to be the search anchor.
+void wxStyledTextCtrl::SearchAnchor()
+{
+ SendMsg(2366, 0, 0);
+}
+
+// Find some text starting at the search anchor.
+// Does not ensure the selection is visible.
+int wxStyledTextCtrl::SearchNext(int flags, const wxString& text)
+{
+ return SendMsg(2367, flags, (sptr_t)(const char*)wx2stc(text));
+}
+
+// Find some text starting at the search anchor and moving backwards.
+// Does not ensure the selection is visible.
+int wxStyledTextCtrl::SearchPrev(int flags, const wxString& text)
+{
+ return SendMsg(2368, flags, (sptr_t)(const char*)wx2stc(text));
+}
+
+// Retrieves the number of lines completely visible.
+int wxStyledTextCtrl::LinesOnScreen() const
+{
+ return SendMsg(2370, 0, 0);
+}
+
+// Set whether a pop up menu is displayed automatically when the user presses
+// the wrong mouse button.
+void wxStyledTextCtrl::UsePopUp(bool allowPopUp)
+{
+ SendMsg(2371, allowPopUp, 0);
+}
+
+// Is the selection rectangular? The alternative is the more common stream selection.
+bool wxStyledTextCtrl::SelectionIsRectangle() const
+{
+ return SendMsg(2372, 0, 0) != 0;
+}
+
+// Set the zoom level. This number of points is added to the size of all fonts.
+// It may be positive to magnify or negative to reduce.
+void wxStyledTextCtrl::SetZoom(int zoom)
+{
+ SendMsg(2373, zoom, 0);
+}
+
+// Retrieve the zoom level.
+int wxStyledTextCtrl::GetZoom() const
+{
+ return SendMsg(2374, 0, 0);
+}
+
+// Create a new document object.
+// Starts with reference count of 1 and not selected into editor.
+void* wxStyledTextCtrl::CreateDocument() {
+ return (void*)SendMsg(2375);
+}
+
+// Extend life of document.
+void wxStyledTextCtrl::AddRefDocument(void* docPointer) {
+ SendMsg(2376, 0, (sptr_t)docPointer);
+}
+
+// Release a reference to the document, deleting document if it fades to black.
+void wxStyledTextCtrl::ReleaseDocument(void* docPointer) {
+ SendMsg(2377, 0, (sptr_t)docPointer);
+}
+
+// Get which document modification events are sent to the container.
+int wxStyledTextCtrl::GetModEventMask() const
+{
+ return SendMsg(2378, 0, 0);
+}
+
+// Change internal focus flag.
+void wxStyledTextCtrl::SetSTCFocus(bool focus)
+{
+ SendMsg(2380, focus, 0);
+}
+
+// Get internal focus flag.
+bool wxStyledTextCtrl::GetSTCFocus() const
+{
+ return SendMsg(2381, 0, 0) != 0;
+}
+
+// Change error status - 0 = OK.
+void wxStyledTextCtrl::SetStatus(int statusCode)
+{
+ SendMsg(2382, statusCode, 0);
+}
+
+// Get error status.
+int wxStyledTextCtrl::GetStatus() const
+{
+ return SendMsg(2383, 0, 0);
+}
+
+// Set whether the mouse is captured when its button is pressed.
+void wxStyledTextCtrl::SetMouseDownCaptures(bool captures)
+{
+ SendMsg(2384, captures, 0);
+}
+
+// Get whether mouse gets captured.
+bool wxStyledTextCtrl::GetMouseDownCaptures() const
+{
+ return SendMsg(2385, 0, 0) != 0;
+}
+
+// Sets the cursor to one of the SC_CURSOR* values.
+void wxStyledTextCtrl::SetSTCCursor(int cursorType)
+{
+ SendMsg(2386, cursorType, 0);
+}
+
+// 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()
+{