1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 %% Name: styledtextctrl.tex
3 %% Purpose: wxStyledTextCtrl documentation
4 %% Author: Francesco Montorsi
7 %% Copyright: (c) 2006 Francesco Montorsi
8 %% License: wxWindows license
9 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11 \section{\class{wxStyledTextCtrl
}}\label{wxstyledtextctrl
}
13 A wxWidgets implementation of the Scintilla source code editing component.
15 As well as features found in standard text editing components, Scintilla includes
16 features especially useful when editing and debugging source code. These include
17 support for syntax styling, error indicators, code completion and call tips. The
18 selection margin can contain markers like those used in debuggers to indicate
19 breakpoints and the current line. Styling choices are more open than with many
20 editors, allowing the use of proportional fonts, bold and italics, multiple
21 foreground and background colours and multiple fonts.
23 wxStyledTextCtrl is a
1 to
1 mapping of "raw" scintilla interface, whose documentation
24 can be found in the
\urlref{Scintilla website
}{http://www.scintilla.org/
}.
26 \wxheading{Derived from
}
28 \helpref{wxControl
}{wxcontrol
}
30 \wxheading{Include files
}
36 \helpref{wxStyledTextEvent
}{wxstyledtextevent
}
38 \wxheading{Event handling
}
40 To process input from a wxStyledTextCtrl, use these event handler macros to direct input to member
41 functions that take a
\helpref{wxStyledTextEvent
}{wxstyledtextevent
} argument.
44 \begin{twocollist
}\itemsep=
0pt
45 \twocolitem{{\bf EVT
\_STC\_CHANGE(id, fn)
}}{TOWRITE
}
46 \twocolitem{{\bf EVT
\_STC\_STYLENEEDED(id, fn)
}}{TOWRITE
}
47 \twocolitem{{\bf EVT
\_STC\_CHARADDED(id, fn)
}}{TOWRITE
}
48 \twocolitem{{\bf EVT
\_STC\_SAVEPOINTREACHED(id, fn)
}}{TOWRITE
}
49 \twocolitem{{\bf EVT
\_STC\_SAVEPOINTLEFT(id, fn)
}}{TOWRITE
}
50 \twocolitem{{\bf EVT
\_STC\_ROMODIFYATTEMPT(id, fn)
}}{TOWRITE
}
51 \twocolitem{{\bf EVT
\_STC\_KEY(id, fn)
}}{TOWRITE
}
52 \twocolitem{{\bf EVT
\_STC\_DOUBLECLICK(id, fn)
}}{TOWRITE
}
53 \twocolitem{{\bf EVT
\_STC\_UPDATEUI(id, fn)
}}{TOWRITE
}
54 \twocolitem{{\bf EVT
\_STC\_MODIFIED(id, fn)
}}{TOWRITE
}
55 \twocolitem{{\bf EVT
\_STC\_MACRORECORD(id, fn)
}}{TOWRITE
}
56 \twocolitem{{\bf EVT
\_STC\_MARGINCLICK(id, fn)
}}{TOWRITE
}
57 \twocolitem{{\bf EVT
\_STC\_NEEDSHOWN(id, fn)
}}{TOWRITE
}
58 \twocolitem{{\bf EVT
\_STC\_PAINTED(id, fn)
}}{TOWRITE
}
59 \twocolitem{{\bf EVT
\_STC\_USERLISTSELECTION(id, fn)
}}{TOWRITE
}
60 \twocolitem{{\bf EVT
\_STC\_URIDROPPED(id, fn)
}}{TOWRITE
}
61 \twocolitem{{\bf EVT
\_STC\_DWELLSTART(id, fn)
}}{TOWRITE
}
62 \twocolitem{{\bf EVT
\_STC\_DWELLEND(id, fn)
}}{TOWRITE
}
63 \twocolitem{{\bf EVT
\_STC\_START\_DRAG(id, fn)
}}{TOWRITE
}
64 \twocolitem{{\bf EVT
\_STC\_DRAG\_OVER(id, fn)
}}{TOWRITE
}
65 \twocolitem{{\bf EVT
\_STC\_DO\_DROP(id, fn)
}}{TOWRITE
}
66 \twocolitem{{\bf EVT
\_STC\_ZOOM(id, fn)
}}{TOWRITE
}
67 \twocolitem{{\bf EVT
\_STC\_HOTSPOT\_CLICK(id, fn)
}}{TOWRITE
}
68 \twocolitem{{\bf EVT
\_STC\_HOTSPOT\_DCLICK(id, fn)
}}{TOWRITE
}
69 \twocolitem{{\bf EVT
\_STC\_CALLTIP\_CLICK(id, fn)
}}{TOWRITE
}
70 \twocolitem{{\bf EVT
\_STC\_AUTOCOMP\_SELECTION(id, fn)
}}{TOWRITE
}
74 \latexignore{\rtfignore{\wxheading{Members
}}}
76 \membersection{wxStyledTextCtrl::wxStyledTextCtrl
}\label{wxstyledtextctrlwxstyledtextctrl
}
78 \func{}{wxStyledTextCtrl::wxStyledTextCtrl
}{\param{wxWindow *
}{parent
},
\param{wxWindowID
}{id = wxID
\_ANY},
\param{const wxPoint&
}{pos = wxDefaultPosition
},
\param{const wxSize&
}{size = wxDefaultSize
},
\param{long
}{style =
0},
\param{const wxString&
}{name = "stcwindow"
}}
82 \membersection{wxStyledTextCtrl::AddRefDocument
}\label{wxstyledtextctrladdrefdocument
}
84 \func{void
}{AddRefDocument
}{\param{void*
}{docPointer
}}
86 Extend life of
document.
89 \membersection{wxStyledTextCtrl::AddStyledText
}\label{wxstyledtextctrladdstyledtext
}
91 \func{void
}{AddStyledText
}{\param{const wxMemoryBuffer\&
}{data
}}
93 Add array of cells to
document.
96 \membersection{wxStyledTextCtrl::AddText
}\label{wxstyledtextctrladdtext
}
98 \func{void
}{AddText
}{\param{const wxString\&
}{text
}}
101 BEGIN generated section. The following code is automatically generated
102 by gen
\_iface.py. Do not edit this file. Edit stc.h.in instead
104 Add text to the
document at current position.
107 \membersection{wxStyledTextCtrl::AddTextRaw
}\label{wxstyledtextctrladdtextraw
}
109 \func{void
}{AddTextRaw
}{\param{const char*
}{text
}}
111 The following methods are nearly equivallent to their similarly named
112 cousins above. The difference is that these methods bypass wxString
113 and always use a char* even if used in a unicode build of wxWidgets.
114 In that case the character data will be utf-
8 encoded since that is
115 what is used internally by Scintilla in unicode builds.
116 Add text to the
document at current position.
119 \membersection{wxStyledTextCtrl::Allocate
}\label{wxstyledtextctrlallocate
}
121 \func{void
}{Allocate
}{\param{int
}{bytes
}}
123 Enlarge the
document to a particular size of text bytes.
126 \membersection{wxStyledTextCtrl::AppendText
}\label{wxstyledtextctrlappendtext
}
128 \func{void
}{AppendText
}{\param{const wxString\&
}{text
}}
130 Append a string to the end of the
document without changing the selection.
133 \membersection{wxStyledTextCtrl::AppendTextRaw
}\label{wxstyledtextctrlappendtextraw
}
135 \func{void
}{AppendTextRaw
}{\param{const char*
}{text
}}
137 Append a string to the end of the
document without changing the selection.
140 \membersection{wxStyledTextCtrl::AutoCompActive
}\label{wxstyledtextctrlautocompactive
}
142 \func{bool
}{AutoCompActive
}{\void}
144 Is there an auto-completion list visible?
147 \membersection{wxStyledTextCtrl::AutoCompCancel
}\label{wxstyledtextctrlautocompcancel
}
149 \func{void
}{AutoCompCancel
}{\void}
151 Remove the auto-completion list from the screen.
154 \membersection{wxStyledTextCtrl::AutoCompComplete
}\label{wxstyledtextctrlautocompcomplete
}
156 \func{void
}{AutoCompComplete
}{\void}
158 User has selected an item so remove the list and insert the selection.
161 \membersection{wxStyledTextCtrl::AutoCompGetAutoHide
}\label{wxstyledtextctrlautocompgetautohide
}
163 \func{bool
}{AutoCompGetAutoHide
}{\void}
165 Retrieve whether or not autocompletion is hidden automatically when nothing matches.
168 \membersection{wxStyledTextCtrl::AutoCompGetCancelAtStart
}\label{wxstyledtextctrlautocompgetcancelatstart
}
170 \func{bool
}{AutoCompGetCancelAtStart
}{\void}
172 Retrieve whether auto-completion cancelled by backspacing before start.
175 \membersection{wxStyledTextCtrl::AutoCompGetChooseSingle
}\label{wxstyledtextctrlautocompgetchoosesingle
}
177 \func{bool
}{AutoCompGetChooseSingle
}{\void}
179 Retrieve whether a single item auto-completion list automatically choose the item.
182 \membersection{wxStyledTextCtrl::AutoCompGetCurrent
}\label{wxstyledtextctrlautocompgetcurrent
}
184 \func{int
}{AutoCompGetCurrent
}{\void}
186 Get currently selected item position in the auto-completion list
189 \membersection{wxStyledTextCtrl::AutoCompGetDropRestOfWord
}\label{wxstyledtextctrlautocompgetdroprestofword
}
191 \func{bool
}{AutoCompGetDropRestOfWord
}{\void}
193 Retrieve whether or not autocompletion deletes any word characters
194 after the inserted text upon completion.
197 \membersection{wxStyledTextCtrl::AutoCompGetIgnoreCase
}\label{wxstyledtextctrlautocompgetignorecase
}
199 \func{bool
}{AutoCompGetIgnoreCase
}{\void}
201 Retrieve state of ignore case flag.
204 \membersection{wxStyledTextCtrl::AutoCompGetMaxHeight
}\label{wxstyledtextctrlautocompgetmaxheight
}
206 \func{int
}{AutoCompGetMaxHeight
}{\void}
208 Set the maximum height, in rows, of auto-completion and user lists.
211 \membersection{wxStyledTextCtrl::AutoCompGetMaxWidth
}\label{wxstyledtextctrlautocompgetmaxwidth
}
213 \func{int
}{AutoCompGetMaxWidth
}{\void}
215 Get the maximum width, in characters, of auto-completion and user lists.
218 \membersection{wxStyledTextCtrl::AutoCompGetSeparator
}\label{wxstyledtextctrlautocompgetseparator
}
220 \func{int
}{AutoCompGetSeparator
}{\void}
222 Retrieve the auto-completion list separator character.
225 \membersection{wxStyledTextCtrl::AutoCompGetTypeSeparator
}\label{wxstyledtextctrlautocompgettypeseparator
}
227 \func{int
}{AutoCompGetTypeSeparator
}{\void}
229 Retrieve the auto-completion list type-separator character.
232 \membersection{wxStyledTextCtrl::AutoCompPosStart
}\label{wxstyledtextctrlautocompposstart
}
234 \func{int
}{AutoCompPosStart
}{\void}
236 Retrieve the position of the caret when the auto-completion list was displayed.
239 \membersection{wxStyledTextCtrl::AutoCompSelect
}\label{wxstyledtextctrlautocompselect
}
241 \func{void
}{AutoCompSelect
}{\param{const wxString\&
}{text
}}
243 Select the item in the auto-completion list that starts with a string.
246 \membersection{wxStyledTextCtrl::AutoCompSetAutoHide
}\label{wxstyledtextctrlautocompsetautohide
}
248 \func{void
}{AutoCompSetAutoHide
}{\param{bool
}{autoHide
}}
250 Set whether or not autocompletion is hidden automatically when nothing matches.
253 \membersection{wxStyledTextCtrl::AutoCompSetCancelAtStart
}\label{wxstyledtextctrlautocompsetcancelatstart
}
255 \func{void
}{AutoCompSetCancelAtStart
}{\param{bool
}{cancel
}}
257 Should the auto-completion list be cancelled if the user backspaces to a
258 position before where the box was created.
261 \membersection{wxStyledTextCtrl::AutoCompSetChooseSingle
}\label{wxstyledtextctrlautocompsetchoosesingle
}
263 \func{void
}{AutoCompSetChooseSingle
}{\param{bool
}{chooseSingle
}}
265 Should a single item auto-completion list automatically choose the item.
268 \membersection{wxStyledTextCtrl::AutoCompSetDropRestOfWord
}\label{wxstyledtextctrlautocompsetdroprestofword
}
270 \func{void
}{AutoCompSetDropRestOfWord
}{\param{bool
}{dropRestOfWord
}}
272 Set whether or not autocompletion deletes any word characters
273 after the inserted text upon completion.
276 \membersection{wxStyledTextCtrl::AutoCompSetFillUps
}\label{wxstyledtextctrlautocompsetfillups
}
278 \func{void
}{AutoCompSetFillUps
}{\param{const wxString\&
}{characterSet
}}
280 Define a set of characters that when typed will cause the autocompletion to
281 choose the selected item.
284 \membersection{wxStyledTextCtrl::AutoCompSetIgnoreCase
}\label{wxstyledtextctrlautocompsetignorecase
}
286 \func{void
}{AutoCompSetIgnoreCase
}{\param{bool
}{ignoreCase
}}
288 Set whether case is significant when performing auto-completion searches.
291 \membersection{wxStyledTextCtrl::AutoCompSetMaxHeight
}\label{wxstyledtextctrlautocompsetmaxheight
}
293 \func{void
}{AutoCompSetMaxHeight
}{\param{int
}{rowCount
}}
295 Set the maximum height, in rows, of auto-completion and user lists.
296 The default is
5 rows.
299 \membersection{wxStyledTextCtrl::AutoCompSetMaxWidth
}\label{wxstyledtextctrlautocompsetmaxwidth
}
301 \func{void
}{AutoCompSetMaxWidth
}{\param{int
}{characterCount
}}
303 Set the maximum width, in characters, of auto-completion and user lists.
304 Set to
0 to autosize to fit longest item, which is the default.
307 \membersection{wxStyledTextCtrl::AutoCompSetSeparator
}\label{wxstyledtextctrlautocompsetseparator
}
309 \func{void
}{AutoCompSetSeparator
}{\param{int
}{separatorCharacter
}}
311 Change the separator character in the string setting up an auto-completion list.
312 Default is space but can be changed if items contain space.
315 \membersection{wxStyledTextCtrl::AutoCompSetTypeSeparator
}\label{wxstyledtextctrlautocompsettypeseparator
}
317 \func{void
}{AutoCompSetTypeSeparator
}{\param{int
}{separatorCharacter
}}
319 Change the type-separator character in the string setting up an auto-completion list.
320 Default is '?' but can be changed if items contain '?'.
323 \membersection{wxStyledTextCtrl::AutoCompShow
}\label{wxstyledtextctrlautocompshow
}
325 \func{void
}{AutoCompShow
}{\param{int
}{lenEntered
},
\param{const wxString\&
}{itemList
}}
327 Display a auto-completion list.
328 The lenEntered parameter indicates how many characters before
329 the caret should be used to provide context.
332 \membersection{wxStyledTextCtrl::AutoCompStops
}\label{wxstyledtextctrlautocompstops
}
334 \func{void
}{AutoCompStops
}{\param{const wxString\&
}{characterSet
}}
336 Define a set of character that when typed cancel the auto-completion list.
339 \membersection{wxStyledTextCtrl::BackTab
}\label{wxstyledtextctrlbacktab
}
341 \func{void
}{BackTab
}{\void}
343 Dedent the selected lines.
346 \membersection{wxStyledTextCtrl::BeginUndoAction
}\label{wxstyledtextctrlbeginundoaction
}
348 \func{void
}{BeginUndoAction
}{\void}
350 Start a sequence of actions that is undone and redone as a unit.
354 \membersection{wxStyledTextCtrl::BraceBadLight
}\label{wxstyledtextctrlbracebadlight
}
356 \func{void
}{BraceBadLight
}{\param{int
}{pos
}}
358 Highlight the character at a position indicating there is no matching brace.
361 \membersection{wxStyledTextCtrl::BraceHighlight
}\label{wxstyledtextctrlbracehighlight
}
363 \func{void
}{BraceHighlight
}{\param{int
}{pos1
},
\param{int
}{pos2
}}
365 Highlight the characters at two positions.
368 \membersection{wxStyledTextCtrl::BraceMatch
}\label{wxstyledtextctrlbracematch
}
370 \func{int
}{BraceMatch
}{\param{int
}{pos
}}
372 Find the position of a matching brace or INVALID
\_POSITION if no match.
375 \membersection{wxStyledTextCtrl::CallTipActive
}\label{wxstyledtextctrlcalltipactive
}
377 \func{bool
}{CallTipActive
}{\void}
379 Is there an active call tip?
382 \membersection{wxStyledTextCtrl::CallTipCancel
}\label{wxstyledtextctrlcalltipcancel
}
384 \func{void
}{CallTipCancel
}{\void}
386 Remove the call tip from the screen.
389 \membersection{wxStyledTextCtrl::CallTipPosAtStart
}\label{wxstyledtextctrlcalltipposatstart
}
391 \func{int
}{CallTipPosAtStart
}{\void}
393 Retrieve the position where the caret was before displaying the call tip.
396 \membersection{wxStyledTextCtrl::CallTipSetBackground
}\label{wxstyledtextctrlcalltipsetbackground
}
398 \func{void
}{CallTipSetBackground
}{\param{const wxColour\&
}{back
}}
400 Set the background colour for the call tip.
403 \membersection{wxStyledTextCtrl::CallTipSetForeground
}\label{wxstyledtextctrlcalltipsetforeground
}
405 \func{void
}{CallTipSetForeground
}{\param{const wxColour\&
}{fore
}}
407 Set the foreground colour for the call tip.
410 \membersection{wxStyledTextCtrl::CallTipSetForegroundHighlight
}\label{wxstyledtextctrlcalltipsetforegroundhighlight
}
412 \func{void
}{CallTipSetForegroundHighlight
}{\param{const wxColour\&
}{fore
}}
414 Set the foreground colour for the highlighted part of the call tip.
417 \membersection{wxStyledTextCtrl::CallTipSetHighlight
}\label{wxstyledtextctrlcalltipsethighlight
}
419 \func{void
}{CallTipSetHighlight
}{\param{int
}{start
},
\param{int
}{end
}}
421 Highlight a segment of the definition.
424 \membersection{wxStyledTextCtrl::CallTipShow
}\label{wxstyledtextctrlcalltipshow
}
426 \func{void
}{CallTipShow
}{\param{int
}{pos
},
\param{const wxString\&
}{definition
}}
428 Show a call tip containing a definition near position pos.
431 \membersection{wxStyledTextCtrl::CallTipUseStyle
}\label{wxstyledtextctrlcalltipusestyle
}
433 \func{void
}{CallTipUseStyle
}{\param{int
}{tabSize
}}
435 Enable use of STYLE
\_CALLTIP and set call tip tab size in pixels.
438 \membersection{wxStyledTextCtrl::CanPaste
}\label{wxstyledtextctrlcanpaste
}
440 \func{bool
}{CanPaste
}{\void}
442 Will a paste succeed?
445 \membersection{wxStyledTextCtrl::CanRedo
}\label{wxstyledtextctrlcanredo
}
447 \func{bool
}{CanRedo
}{\void}
449 Are there any redoable actions in the undo history?
452 \membersection{wxStyledTextCtrl::CanUndo
}\label{wxstyledtextctrlcanundo
}
454 \func{bool
}{CanUndo
}{\void}
456 Are there any undoable actions in the undo history?
459 \membersection{wxStyledTextCtrl::Cancel
}\label{wxstyledtextctrlcancel
}
461 \func{void
}{Cancel
}{\void}
463 Cancel any modes such as call tip or auto-completion list display.
466 \membersection{wxStyledTextCtrl::CharLeft
}\label{wxstyledtextctrlcharleft
}
468 \func{void
}{CharLeft
}{\void}
470 Move caret left one character.
473 \membersection{wxStyledTextCtrl::CharLeftExtend
}\label{wxstyledtextctrlcharleftextend
}
475 \func{void
}{CharLeftExtend
}{\void}
477 Move caret left one character extending selection to new caret position.
480 \membersection{wxStyledTextCtrl::CharLeftRectExtend
}\label{wxstyledtextctrlcharleftrectextend
}
482 \func{void
}{CharLeftRectExtend
}{\void}
484 Move caret left one character, extending rectangular selection to new caret position.
487 \membersection{wxStyledTextCtrl::CharRight
}\label{wxstyledtextctrlcharright
}
489 \func{void
}{CharRight
}{\void}
491 Move caret right one character.
494 \membersection{wxStyledTextCtrl::CharRightExtend
}\label{wxstyledtextctrlcharrightextend
}
496 \func{void
}{CharRightExtend
}{\void}
498 Move caret right one character extending selection to new caret position.
501 \membersection{wxStyledTextCtrl::CharRightRectExtend
}\label{wxstyledtextctrlcharrightrectextend
}
503 \func{void
}{CharRightRectExtend
}{\void}
505 Move caret right one character, extending rectangular selection to new caret position.
508 \membersection{wxStyledTextCtrl::ChooseCaretX
}\label{wxstyledtextctrlchoosecaretx
}
510 \func{void
}{ChooseCaretX
}{\void}
512 Set the last x chosen value to be the caret x position.
515 \membersection{wxStyledTextCtrl::Clear
}\label{wxstyledtextctrlclear
}
517 \func{void
}{Clear
}{\void}
522 \membersection{wxStyledTextCtrl::ClearAll
}\label{wxstyledtextctrlclearall
}
524 \func{void
}{ClearAll
}{\void}
526 Delete all text in the
document.
529 \membersection{wxStyledTextCtrl::ClearDocumentStyle
}\label{wxstyledtextctrlcleardocumentstyle
}
531 \func{void
}{ClearDocumentStyle
}{\void}
533 Set all style bytes to
0, remove all folding information.
536 \membersection{wxStyledTextCtrl::ClearRegisteredImages
}\label{wxstyledtextctrlclearregisteredimages
}
538 \func{void
}{ClearRegisteredImages
}{\void}
540 Clear all the registered images.
543 \membersection{wxStyledTextCtrl::CmdKeyAssign
}\label{wxstyledtextctrlcmdkeyassign
}
545 \func{void
}{CmdKeyAssign
}{\param{int
}{key
},
\param{int
}{modifiers
},
\param{int
}{cmd
}}
547 When key+modifier combination km is pressed perform msg.
550 \membersection{wxStyledTextCtrl::CmdKeyClear
}\label{wxstyledtextctrlcmdkeyclear
}
552 \func{void
}{CmdKeyClear
}{\param{int
}{key
},
\param{int
}{modifiers
}}
554 When key+modifier combination km is pressed do nothing.
557 \membersection{wxStyledTextCtrl::CmdKeyClearAll
}\label{wxstyledtextctrlcmdkeyclearall
}
559 \func{void
}{CmdKeyClearAll
}{\void}
561 Drop all key mappings.
564 \membersection{wxStyledTextCtrl::CmdKeyExecute
}\label{wxstyledtextctrlcmdkeyexecute
}
566 \func{void
}{CmdKeyExecute
}{\param{int
}{cmd
}}
568 Perform one of the operations defined by the wxSTC
\_CMD\_* constants.
571 \membersection{wxStyledTextCtrl::Colourise
}\label{wxstyledtextctrlcolourise
}
573 \func{void
}{Colourise
}{\param{int
}{start
},
\param{int
}{end
}}
575 Colourise a segment of the
document using the current lexing language.
578 \membersection{wxStyledTextCtrl::ConvertEOLs
}\label{wxstyledtextctrlconverteols
}
580 \func{void
}{ConvertEOLs
}{\param{int
}{eolMode
}}
582 Convert all line endings in the
document to one mode.
585 \membersection{wxStyledTextCtrl::Copy
}\label{wxstyledtextctrlcopy
}
587 \func{void
}{Copy
}{\void}
589 Copy the selection to the clipboard.
592 \membersection{wxStyledTextCtrl::CopyRange
}\label{wxstyledtextctrlcopyrange
}
594 \func{void
}{CopyRange
}{\param{int
}{start
},
\param{int
}{end
}}
596 Copy a range of text to the clipboard. Positions are clipped into the
document.
599 \membersection{wxStyledTextCtrl::CopyText
}\label{wxstyledtextctrlcopytext
}
601 \func{void
}{CopyText
}{\param{int
}{length
},
\param{const wxString\&
}{text
}}
603 Copy argument text to the clipboard.
606 \membersection{wxStyledTextCtrl::Create
}\label{wxstyledtextctrlcreate
}
608 \func{bool
}{Create
}{\param{wxWindow*
}{parent
},
\param{wxWindowID
}{id = wxID
\_ANY},
\param{const wxPoint\&
}{pos = wxDefaultPosition
},
\param{const wxSize\&
}{size = wxDefaultSize
},
\param{long
}{style =
0},
\param{const wxString\&
}{name = wxSTCNameStr
}}
611 \membersection{wxStyledTextCtrl::CreateDocument
}\label{wxstyledtextctrlcreatedocument
}
613 \func{void*
}{CreateDocument
}{\void}
615 Create a new
document object.
616 Starts with reference count of
1 and not selected into editor.
619 \membersection{wxStyledTextCtrl::Cut
}\label{wxstyledtextctrlcut
}
621 \func{void
}{Cut
}{\void}
623 Cut the selection to the clipboard.
626 \membersection{wxStyledTextCtrl::DelLineLeft
}\label{wxstyledtextctrldellineleft
}
628 \func{void
}{DelLineLeft
}{\void}
630 Delete back from the current position to the start of the line.
633 \membersection{wxStyledTextCtrl::DelLineRight
}\label{wxstyledtextctrldellineright
}
635 \func{void
}{DelLineRight
}{\void}
637 Delete forwards from the current position to the end of the line.
640 \membersection{wxStyledTextCtrl::DelWordLeft
}\label{wxstyledtextctrldelwordleft
}
642 \func{void
}{DelWordLeft
}{\void}
644 Delete the word to the left of the caret.
647 \membersection{wxStyledTextCtrl::DelWordRight
}\label{wxstyledtextctrldelwordright
}
649 \func{void
}{DelWordRight
}{\void}
651 Delete the word to the right of the caret.
654 \membersection{wxStyledTextCtrl::DeleteBack
}\label{wxstyledtextctrldeleteback
}
656 \func{void
}{DeleteBack
}{\void}
658 Delete the selection or if no selection, the character before the caret.
661 \membersection{wxStyledTextCtrl::DeleteBackNotLine
}\label{wxstyledtextctrldeletebacknotline
}
663 \func{void
}{DeleteBackNotLine
}{\void}
665 Delete the selection or if no selection, the character before the caret.
666 Will not delete the character before at the start of a line.
669 \membersection{wxStyledTextCtrl::DoDragOver
}\label{wxstyledtextctrldodragover
}
671 \func{wxDragResult
}{DoDragOver
}{\param{wxCoord
}{x
},
\param{wxCoord
}{y
},
\param{wxDragResult
}{def
}}
673 Allow for simulating a DnD DragOver
676 \membersection{wxStyledTextCtrl::DoDropText
}\label{wxstyledtextctrldodroptext
}
678 \func{bool
}{DoDropText
}{\param{long
}{x
},
\param{long
}{y
},
\param{const wxString\&
}{data
}}
680 Allow for simulating a DnD DropText
683 \membersection{wxStyledTextCtrl::DocLineFromVisible
}\label{wxstyledtextctrldoclinefromvisible
}
685 \func{int
}{DocLineFromVisible
}{\param{int
}{lineDisplay
}}
687 Find the
document line of a display line taking hidden lines into account.
690 \membersection{wxStyledTextCtrl::DocumentEnd
}\label{wxstyledtextctrldocumentend
}
692 \func{void
}{DocumentEnd
}{\void}
694 Move caret to last position in
document.
697 \membersection{wxStyledTextCtrl::DocumentEndExtend
}\label{wxstyledtextctrldocumentendextend
}
699 \func{void
}{DocumentEndExtend
}{\void}
701 Move caret to last position in
document extending selection to new caret position.
704 \membersection{wxStyledTextCtrl::DocumentStart
}\label{wxstyledtextctrldocumentstart
}
706 \func{void
}{DocumentStart
}{\void}
708 Move caret to first position in
document.
711 \membersection{wxStyledTextCtrl::DocumentStartExtend
}\label{wxstyledtextctrldocumentstartextend
}
713 \func{void
}{DocumentStartExtend
}{\void}
715 Move caret to first position in
document extending selection to new caret position.
718 \membersection{wxStyledTextCtrl::EditToggleOvertype
}\label{wxstyledtextctrledittoggleovertype
}
720 \func{void
}{EditToggleOvertype
}{\void}
722 Switch from insert to overtype mode or the reverse.
725 \membersection{wxStyledTextCtrl::EmptyUndoBuffer
}\label{wxstyledtextctrlemptyundobuffer
}
727 \func{void
}{EmptyUndoBuffer
}{\void}
729 Delete the undo history.
732 \membersection{wxStyledTextCtrl::EndUndoAction
}\label{wxstyledtextctrlendundoaction
}
734 \func{void
}{EndUndoAction
}{\void}
736 End a sequence of actions that is undone and redone as a unit.
739 \membersection{wxStyledTextCtrl::EnsureCaretVisible
}\label{wxstyledtextctrlensurecaretvisible
}
741 \func{void
}{EnsureCaretVisible
}{\void}
743 Ensure the caret is visible.
746 \membersection{wxStyledTextCtrl::EnsureVisible
}\label{wxstyledtextctrlensurevisible
}
748 \func{void
}{EnsureVisible
}{\param{int
}{line
}}
750 Ensure a particular line is visible by expanding any header line hiding it.
753 \membersection{wxStyledTextCtrl::EnsureVisibleEnforcePolicy
}\label{wxstyledtextctrlensurevisibleenforcepolicy
}
755 \func{void
}{EnsureVisibleEnforcePolicy
}{\param{int
}{line
}}
757 Ensure a particular line is visible by expanding any header line hiding it.
758 Use the currently set visibility policy to determine which range to display.
761 \membersection{wxStyledTextCtrl::FindColumn
}\label{wxstyledtextctrlfindcolumn
}
763 \func{int
}{FindColumn
}{\param{int
}{line
},
\param{int
}{column
}}
765 Find the position of a column on a line taking into account tabs and
766 multi-byte characters. If beyond end of line, return line end position.
769 \membersection{wxStyledTextCtrl::FindText
}\label{wxstyledtextctrlfindtext
}
771 \func{int
}{FindText
}{\param{int
}{minPos
},
\param{int
}{maxPos
},
\param{const wxString\&
}{text
},
\param{int
}{flags =
0}}
773 Find some text in the
document.
776 \membersection{wxStyledTextCtrl::FormFeed
}\label{wxstyledtextctrlformfeed
}
778 \func{void
}{FormFeed
}{\void}
780 Insert a Form Feed character.
783 \membersection{wxStyledTextCtrl::FormatRange
}\label{wxstyledtextctrlformatrange
}
785 \func{int
}{FormatRange
}{\param{bool
}{doDraw
},
\param{int
}{startPos
},
\param{int
}{endPos
},
\param{wxDC*
}{draw
},
\param{wxDC*
}{target
},
\param{wxRect
}{renderRect
},
\param{wxRect
}{pageRect
}}
787 On Windows, will draw the
document into a display context such as a printer.
790 \membersection{wxStyledTextCtrl::GetAnchor
}\label{wxstyledtextctrlgetanchor
}
792 \func{int
}{GetAnchor
}{\void}
794 Returns the position of the opposite end of the selection to the caret.
797 \membersection{wxStyledTextCtrl::GetBackSpaceUnIndents
}\label{wxstyledtextctrlgetbackspaceunindents
}
799 \func{bool
}{GetBackSpaceUnIndents
}{\void}
801 Does a backspace pressed when caret is within indentation unindent?
804 \membersection{wxStyledTextCtrl::GetBufferedDraw
}\label{wxstyledtextctrlgetbuffereddraw
}
806 \func{bool
}{GetBufferedDraw
}{\void}
808 Is drawing done first into a buffer or direct to the screen?
811 \membersection{wxStyledTextCtrl::GetCaretForeground
}\label{wxstyledtextctrlgetcaretforeground
}
813 \func{wxColour
}{GetCaretForeground
}{\void}
815 Get the foreground colour of the caret.
818 \membersection{wxStyledTextCtrl::GetCaretLineBackAlpha
}\label{wxstyledtextctrlgetcaretlinebackalpha
}
820 \func{int
}{GetCaretLineBackAlpha
}{\void}
822 Get the background alpha of the caret line.
825 \membersection{wxStyledTextCtrl::GetCaretLineBackground
}\label{wxstyledtextctrlgetcaretlinebackground
}
827 \func{wxColour
}{GetCaretLineBackground
}{\void}
829 Get the colour of the background of the line containing the caret.
832 \membersection{wxStyledTextCtrl::GetCaretLineVisible
}\label{wxstyledtextctrlgetcaretlinevisible
}
834 \func{bool
}{GetCaretLineVisible
}{\void}
836 Is the background of the line containing the caret in a different colour?
839 \membersection{wxStyledTextCtrl::GetCaretPeriod
}\label{wxstyledtextctrlgetcaretperiod
}
841 \func{int
}{GetCaretPeriod
}{\void}
843 Get the time in milliseconds that the caret is on and off.
846 \membersection{wxStyledTextCtrl::GetCaretSticky
}\label{wxstyledtextctrlgetcaretsticky
}
848 \func{bool
}{GetCaretSticky
}{\void}
850 Can the caret preferred x position only be changed by explicit movement commands?
853 \membersection{wxStyledTextCtrl::GetCaretWidth
}\label{wxstyledtextctrlgetcaretwidth
}
855 \func{int
}{GetCaretWidth
}{\void}
857 Returns the width of the insert mode caret.
860 \membersection{wxStyledTextCtrl::GetCharAt
}\label{wxstyledtextctrlgetcharat
}
862 \func{int
}{GetCharAt
}{\param{int
}{pos
}}
864 Returns the character byte at the position.
867 \membersection{wxStyledTextCtrl::GetCodePage
}\label{wxstyledtextctrlgetcodepage
}
869 \func{int
}{GetCodePage
}{\void}
871 Get the code page used to interpret the bytes of the
document as characters.
874 \membersection{wxStyledTextCtrl::GetColumn
}\label{wxstyledtextctrlgetcolumn
}
876 \func{int
}{GetColumn
}{\param{int
}{pos
}}
878 Retrieve the column number of a position, taking tab width into account.
881 \membersection{wxStyledTextCtrl::GetControlCharSymbol
}\label{wxstyledtextctrlgetcontrolcharsymbol
}
883 \func{int
}{GetControlCharSymbol
}{\void}
885 Get the way control characters are displayed.
888 \membersection{wxStyledTextCtrl::GetCurLine
}\label{wxstyledtextctrlgetcurline
}
890 \func{wxString
}{GetCurLine
}{\param{int*
}{OUTPUT
}}
893 \membersection{wxStyledTextCtrl::GetCurLineRaw
}\label{wxstyledtextctrlgetcurlineraw
}
895 \func{wxCharBuffer
}{GetCurLineRaw
}{\param{int*
}{OUTPUT
}}
898 \membersection{wxStyledTextCtrl::GetCurrentLine
}\label{wxstyledtextctrlgetcurrentline
}
900 \func{int
}{GetCurrentLine
}{\void}
902 END of generated section
905 Returns the line number of the line with the caret.
908 \membersection{wxStyledTextCtrl::GetCurrentPos
}\label{wxstyledtextctrlgetcurrentpos
}
910 \func{int
}{GetCurrentPos
}{\void}
912 Returns the position of the caret.
915 \membersection{wxStyledTextCtrl::GetDocPointer
}\label{wxstyledtextctrlgetdocpointer
}
917 \func{void*
}{GetDocPointer
}{\void}
919 Retrieve a pointer to the
document object.
922 \membersection{wxStyledTextCtrl::GetEOLMode
}\label{wxstyledtextctrlgeteolmode
}
924 \func{int
}{GetEOLMode
}{\void}
926 Retrieve the current end of line mode - one of CRLF, CR, or LF.
929 \membersection{wxStyledTextCtrl::GetEdgeColour
}\label{wxstyledtextctrlgetedgecolour
}
931 \func{wxColour
}{GetEdgeColour
}{\void}
933 Retrieve the colour used in edge indication.
936 \membersection{wxStyledTextCtrl::GetEdgeColumn
}\label{wxstyledtextctrlgetedgecolumn
}
938 \func{int
}{GetEdgeColumn
}{\void}
940 Retrieve the column number which text should be kept within.
943 \membersection{wxStyledTextCtrl::GetEdgeMode
}\label{wxstyledtextctrlgetedgemode
}
945 \func{int
}{GetEdgeMode
}{\void}
947 Retrieve the edge highlight mode.
950 \membersection{wxStyledTextCtrl::GetEndAtLastLine
}\label{wxstyledtextctrlgetendatlastline
}
952 \func{bool
}{GetEndAtLastLine
}{\void}
954 Retrieve whether the maximum scroll position has the last
955 line at the bottom of the view.
958 \membersection{wxStyledTextCtrl::GetEndStyled
}\label{wxstyledtextctrlgetendstyled
}
960 \func{int
}{GetEndStyled
}{\void}
962 Retrieve the position of the last correctly styled character.
965 \membersection{wxStyledTextCtrl::GetFirstVisibleLine
}\label{wxstyledtextctrlgetfirstvisibleline
}
967 \func{int
}{GetFirstVisibleLine
}{\void}
969 Retrieve the display line at the top of the display.
972 \membersection{wxStyledTextCtrl::GetFoldExpanded
}\label{wxstyledtextctrlgetfoldexpanded
}
974 \func{bool
}{GetFoldExpanded
}{\param{int
}{line
}}
976 Is a header line expanded?
979 \membersection{wxStyledTextCtrl::GetFoldLevel
}\label{wxstyledtextctrlgetfoldlevel
}
981 \func{int
}{GetFoldLevel
}{\param{int
}{line
}}
983 Retrieve the fold level of a line.
986 \membersection{wxStyledTextCtrl::GetFoldParent
}\label{wxstyledtextctrlgetfoldparent
}
988 \func{int
}{GetFoldParent
}{\param{int
}{line
}}
990 Find the parent line of a child line.
993 \membersection{wxStyledTextCtrl::GetHighlightGuide
}\label{wxstyledtextctrlgethighlightguide
}
995 \func{int
}{GetHighlightGuide
}{\void}
997 Get the highlighted indentation guide column.
1000 \membersection{wxStyledTextCtrl::GetIndent
}\label{wxstyledtextctrlgetindent
}
1002 \func{int
}{GetIndent
}{\void}
1004 Retrieve indentation size.
1007 \membersection{wxStyledTextCtrl::GetIndentationGuides
}\label{wxstyledtextctrlgetindentationguides
}
1009 \func{bool
}{GetIndentationGuides
}{\void}
1011 Are the indentation guides visible?
1014 \membersection{wxStyledTextCtrl::GetLastChild
}\label{wxstyledtextctrlgetlastchild
}
1016 \func{int
}{GetLastChild
}{\param{int
}{line
},
\param{int
}{level
}}
1018 Find the last child line of a header line.
1021 \membersection{wxStyledTextCtrl::GetLastKeydownProcessed
}\label{wxstyledtextctrlgetlastkeydownprocessed
}
1023 \func{bool
}{GetLastKeydownProcessed
}{\void}
1025 Can be used to prevent the EVT
\_CHAR handler from adding the char
1028 \membersection{wxStyledTextCtrl::GetLayoutCache
}\label{wxstyledtextctrlgetlayoutcache
}
1030 \func{int
}{GetLayoutCache
}{\void}
1032 Retrieve the degree of caching of layout information.
1035 \membersection{wxStyledTextCtrl::GetLength
}\label{wxstyledtextctrlgetlength
}
1037 \func{int
}{GetLength
}{\void}
1039 Returns the number of characters in the
document.
1042 \membersection{wxStyledTextCtrl::GetLexer
}\label{wxstyledtextctrlgetlexer
}
1044 \func{int
}{GetLexer
}{\void}
1046 Retrieve the lexing language of the
document.
1049 \membersection{wxStyledTextCtrl::GetLine
}\label{wxstyledtextctrlgetline
}
1051 \func{wxString
}{GetLine
}{\param{int
}{line
}}
1053 Retrieve the contents of a line.
1056 \membersection{wxStyledTextCtrl::GetLineCount
}\label{wxstyledtextctrlgetlinecount
}
1058 \func{int
}{GetLineCount
}{\void}
1060 Returns the number of lines in the
document. There is always at least one.
1063 \membersection{wxStyledTextCtrl::GetLineEndPosition
}\label{wxstyledtextctrlgetlineendposition
}
1065 \func{int
}{GetLineEndPosition
}{\param{int
}{line
}}
1067 Get the position after the last visible characters on a line.
1070 \membersection{wxStyledTextCtrl::GetLineIndentPosition
}\label{wxstyledtextctrlgetlineindentposition
}
1072 \func{int
}{GetLineIndentPosition
}{\param{int
}{line
}}
1074 Retrieve the position before the first non indentation character on a line.
1077 \membersection{wxStyledTextCtrl::GetLineIndentation
}\label{wxstyledtextctrlgetlineindentation
}
1079 \func{int
}{GetLineIndentation
}{\param{int
}{line
}}
1081 Retrieve the number of columns that a line is indented.
1084 \membersection{wxStyledTextCtrl::GetLineRaw
}\label{wxstyledtextctrlgetlineraw
}
1086 \func{wxCharBuffer
}{GetLineRaw
}{\param{int
}{line
}}
1088 Retrieve the contents of a line.
1091 \membersection{wxStyledTextCtrl::GetLineSelEndPosition
}\label{wxstyledtextctrlgetlineselendposition
}
1093 \func{int
}{GetLineSelEndPosition
}{\param{int
}{line
}}
1095 Retrieve the position of the end of the selection at the given line (INVALID
\_POSITION if no selection on this line).
1098 \membersection{wxStyledTextCtrl::GetLineSelStartPosition
}\label{wxstyledtextctrlgetlineselstartposition
}
1100 \func{int
}{GetLineSelStartPosition
}{\param{int
}{line
}}
1102 Retrieve the position of the start of the selection at the given line (INVALID
\_POSITION if no selection on this line).
1105 \membersection{wxStyledTextCtrl::GetLineState
}\label{wxstyledtextctrlgetlinestate
}
1107 \func{int
}{GetLineState
}{\param{int
}{line
}}
1109 Retrieve the extra styling information for a line.
1112 \membersection{wxStyledTextCtrl::GetLineVisible
}\label{wxstyledtextctrlgetlinevisible
}
1114 \func{bool
}{GetLineVisible
}{\param{int
}{line
}}
1119 \membersection{wxStyledTextCtrl::GetMarginLeft
}\label{wxstyledtextctrlgetmarginleft
}
1121 \func{int
}{GetMarginLeft
}{\void}
1123 Returns the size in pixels of the left margin.
1126 \membersection{wxStyledTextCtrl::GetMarginMask
}\label{wxstyledtextctrlgetmarginmask
}
1128 \func{int
}{GetMarginMask
}{\param{int
}{margin
}}
1130 Retrieve the marker mask of a margin.
1133 \membersection{wxStyledTextCtrl::GetMarginRight
}\label{wxstyledtextctrlgetmarginright
}
1135 \func{int
}{GetMarginRight
}{\void}
1137 Returns the size in pixels of the right margin.
1140 \membersection{wxStyledTextCtrl::GetMarginSensitive
}\label{wxstyledtextctrlgetmarginsensitive
}
1142 \func{bool
}{GetMarginSensitive
}{\param{int
}{margin
}}
1144 Retrieve the mouse click sensitivity of a margin.
1147 \membersection{wxStyledTextCtrl::GetMarginType
}\label{wxstyledtextctrlgetmargintype
}
1149 \func{int
}{GetMarginType
}{\param{int
}{margin
}}
1151 Retrieve the type of a margin.
1154 \membersection{wxStyledTextCtrl::GetMarginWidth
}\label{wxstyledtextctrlgetmarginwidth
}
1156 \func{int
}{GetMarginWidth
}{\param{int
}{margin
}}
1158 Retrieve the width of a margin in pixels.
1161 \membersection{wxStyledTextCtrl::GetMaxLineState
}\label{wxstyledtextctrlgetmaxlinestate
}
1163 \func{int
}{GetMaxLineState
}{\void}
1165 Retrieve the last line number that has line state.
1168 \membersection{wxStyledTextCtrl::GetModEventMask
}\label{wxstyledtextctrlgetmodeventmask
}
1170 \func{int
}{GetModEventMask
}{\void}
1172 Get which
document modification events are sent to the container.
1175 \membersection{wxStyledTextCtrl::GetModify
}\label{wxstyledtextctrlgetmodify
}
1177 \func{bool
}{GetModify
}{\void}
1179 Is the
document different from when it was last saved?
1182 \membersection{wxStyledTextCtrl::GetMouseDownCaptures
}\label{wxstyledtextctrlgetmousedowncaptures
}
1184 \func{bool
}{GetMouseDownCaptures
}{\void}
1186 Get whether mouse gets captured.
1189 \membersection{wxStyledTextCtrl::GetMouseDwellTime
}\label{wxstyledtextctrlgetmousedwelltime
}
1191 \func{int
}{GetMouseDwellTime
}{\void}
1193 Retrieve the time the mouse must sit still to generate a mouse dwell event.
1196 \membersection{wxStyledTextCtrl::GetOvertype
}\label{wxstyledtextctrlgetovertype
}
1198 \func{bool
}{GetOvertype
}{\void}
1200 Returns true if overtype mode is active otherwise false is returned.
1203 \membersection{wxStyledTextCtrl::GetPasteConvertEndings
}\label{wxstyledtextctrlgetpasteconvertendings
}
1205 \func{bool
}{GetPasteConvertEndings
}{\void}
1207 Get convert-on-paste setting
1210 \membersection{wxStyledTextCtrl::GetPrintColourMode
}\label{wxstyledtextctrlgetprintcolourmode
}
1212 \func{int
}{GetPrintColourMode
}{\void}
1214 Returns the print colour mode.
1217 \membersection{wxStyledTextCtrl::GetPrintMagnification
}\label{wxstyledtextctrlgetprintmagnification
}
1219 \func{int
}{GetPrintMagnification
}{\void}
1221 Returns the print magnification.
1224 \membersection{wxStyledTextCtrl::GetPrintWrapMode
}\label{wxstyledtextctrlgetprintwrapmode
}
1226 \func{int
}{GetPrintWrapMode
}{\void}
1228 Is printing line wrapped?
1231 \membersection{wxStyledTextCtrl::GetProperty
}\label{wxstyledtextctrlgetproperty
}
1233 \func{wxString
}{GetProperty
}{\param{const wxString\&
}{key
}}
1235 Retrieve a 'property' value previously set with SetProperty.
1238 \membersection{wxStyledTextCtrl::GetPropertyExpanded
}\label{wxstyledtextctrlgetpropertyexpanded
}
1240 \func{wxString
}{GetPropertyExpanded
}{\param{const wxString\&
}{key
}}
1242 Retrieve a 'property' value previously set with SetProperty,
1243 with '\$()' variable replacement on returned buffer.
1246 \membersection{wxStyledTextCtrl::GetPropertyInt
}\label{wxstyledtextctrlgetpropertyint
}
1248 \func{int
}{GetPropertyInt
}{\param{const wxString\&
}{key
}}
1250 Retrieve a 'property' value previously set with SetProperty,
1251 interpreted as an int AFTER any '\$()' variable replacement.
1254 \membersection{wxStyledTextCtrl::GetReadOnly
}\label{wxstyledtextctrlgetreadonly
}
1256 \func{bool
}{GetReadOnly
}{\void}
1261 \membersection{wxStyledTextCtrl::GetSTCCursor
}\label{wxstyledtextctrlgetstccursor
}
1263 \func{int
}{GetSTCCursor
}{\void}
1268 \membersection{wxStyledTextCtrl::GetSTCFocus
}\label{wxstyledtextctrlgetstcfocus
}
1270 \func{bool
}{GetSTCFocus
}{\void}
1272 Get internal focus flag.
1275 \membersection{wxStyledTextCtrl::GetScrollWidth
}\label{wxstyledtextctrlgetscrollwidth
}
1277 \func{int
}{GetScrollWidth
}{\void}
1279 Retrieve the
document width assumed for scrolling.
1282 \membersection{wxStyledTextCtrl::GetSearchFlags
}\label{wxstyledtextctrlgetsearchflags
}
1284 \func{int
}{GetSearchFlags
}{\void}
1286 Get the search flags used by SearchInTarget.
1289 \membersection{wxStyledTextCtrl::GetSelAlpha
}\label{wxstyledtextctrlgetselalpha
}
1291 \func{int
}{GetSelAlpha
}{\void}
1293 Get the alpha of the selection.
1296 \membersection{wxStyledTextCtrl::GetSelectedText
}\label{wxstyledtextctrlgetselectedtext
}
1298 \func{wxString
}{GetSelectedText
}{\void}
1300 Retrieve the selected text.
1303 \membersection{wxStyledTextCtrl::GetSelectedTextRaw
}\label{wxstyledtextctrlgetselectedtextraw
}
1305 \func{wxCharBuffer
}{GetSelectedTextRaw
}{\void}
1307 Retrieve the selected text.
1310 \membersection{wxStyledTextCtrl::GetSelection
}\label{wxstyledtextctrlgetselection
}
1312 \func{void
}{GetSelection
}{\param{int*
}{OUTPUT
},
\param{int*
}{OUTPUT
}}
1315 \membersection{wxStyledTextCtrl::GetSelectionEnd
}\label{wxstyledtextctrlgetselectionend
}
1317 \func{int
}{GetSelectionEnd
}{\void}
1319 Returns the position at the end of the selection.
1322 \membersection{wxStyledTextCtrl::GetSelectionMode
}\label{wxstyledtextctrlgetselectionmode
}
1324 \func{int
}{GetSelectionMode
}{\void}
1326 Get the mode of the current selection.
1329 \membersection{wxStyledTextCtrl::GetSelectionStart
}\label{wxstyledtextctrlgetselectionstart
}
1331 \func{int
}{GetSelectionStart
}{\void}
1333 Returns the position at the start of the selection.
1336 \membersection{wxStyledTextCtrl::GetStatus
}\label{wxstyledtextctrlgetstatus
}
1338 \func{int
}{GetStatus
}{\void}
1343 \membersection{wxStyledTextCtrl::GetStyleAt
}\label{wxstyledtextctrlgetstyleat
}
1345 \func{int
}{GetStyleAt
}{\param{int
}{pos
}}
1347 Returns the style byte at the position.
1350 \membersection{wxStyledTextCtrl::GetStyleBits
}\label{wxstyledtextctrlgetstylebits
}
1352 \func{int
}{GetStyleBits
}{\void}
1354 Retrieve number of bits in style bytes used to hold the lexical state.
1357 \membersection{wxStyledTextCtrl::GetStyleBitsNeeded
}\label{wxstyledtextctrlgetstylebitsneeded
}
1359 \func{int
}{GetStyleBitsNeeded
}{\void}
1361 Retrieve the number of bits the current lexer needs for styling.
1364 \membersection{wxStyledTextCtrl::GetStyledText
}\label{wxstyledtextctrlgetstyledtext
}
1366 \func{wxMemoryBuffer
}{GetStyledText
}{\param{int
}{startPos
},
\param{int
}{endPos
}}
1368 Retrieve a buffer of cells.
1371 \membersection{wxStyledTextCtrl::GetTabIndents
}\label{wxstyledtextctrlgettabindents
}
1373 \func{bool
}{GetTabIndents
}{\void}
1375 Does a tab pressed when caret is within indentation indent?
1378 \membersection{wxStyledTextCtrl::GetTabWidth
}\label{wxstyledtextctrlgettabwidth
}
1380 \func{int
}{GetTabWidth
}{\void}
1382 Retrieve the visible size of a tab.
1385 \membersection{wxStyledTextCtrl::GetTargetEnd
}\label{wxstyledtextctrlgettargetend
}
1387 \func{int
}{GetTargetEnd
}{\void}
1389 Get the position that ends the target.
1392 \membersection{wxStyledTextCtrl::GetTargetStart
}\label{wxstyledtextctrlgettargetstart
}
1394 \func{int
}{GetTargetStart
}{\void}
1396 Get the position that starts the target.
1399 \membersection{wxStyledTextCtrl::GetText
}\label{wxstyledtextctrlgettext
}
1401 \func{wxString
}{GetText
}{\void}
1403 Retrieve all the text in the
document.
1406 \membersection{wxStyledTextCtrl::GetTextLength
}\label{wxstyledtextctrlgettextlength
}
1408 \func{int
}{GetTextLength
}{\void}
1410 Retrieve the number of characters in the
document.
1413 \membersection{wxStyledTextCtrl::GetTextRange
}\label{wxstyledtextctrlgettextrange
}
1415 \func{wxString
}{GetTextRange
}{\param{int
}{startPos
},
\param{int
}{endPos
}}
1417 Retrieve a range of text.
1420 \membersection{wxStyledTextCtrl::GetTextRangeRaw
}\label{wxstyledtextctrlgettextrangeraw
}
1422 \func{wxCharBuffer
}{GetTextRangeRaw
}{\param{int
}{startPos
},
\param{int
}{endPos
}}
1424 Retrieve a range of text.
1427 \membersection{wxStyledTextCtrl::GetTextRaw
}\label{wxstyledtextctrlgettextraw
}
1429 \func{wxCharBuffer
}{GetTextRaw
}{\void}
1431 Retrieve all the text in the
document.
1434 \membersection{wxStyledTextCtrl::GetTwoPhaseDraw
}\label{wxstyledtextctrlgettwophasedraw
}
1436 \func{bool
}{GetTwoPhaseDraw
}{\void}
1438 Is drawing done in two phases with backgrounds drawn before foregrounds?
1441 \membersection{wxStyledTextCtrl::GetUndoCollection
}\label{wxstyledtextctrlgetundocollection
}
1443 \func{bool
}{GetUndoCollection
}{\void}
1445 Is undo history being collected?
1448 \membersection{wxStyledTextCtrl::GetUseAntiAliasing
}\label{wxstyledtextctrlgetuseantialiasing
}
1450 \func{bool
}{GetUseAntiAliasing
}{\void}
1452 Returns the current UseAntiAliasing setting.
1455 \membersection{wxStyledTextCtrl::GetUseHorizontalScrollBar
}\label{wxstyledtextctrlgetusehorizontalscrollbar
}
1457 \func{bool
}{GetUseHorizontalScrollBar
}{\void}
1459 Is the horizontal scroll bar visible?
1462 \membersection{wxStyledTextCtrl::GetUseTabs
}\label{wxstyledtextctrlgetusetabs
}
1464 \func{bool
}{GetUseTabs
}{\void}
1466 Retrieve whether tabs will be used in indentation.
1469 \membersection{wxStyledTextCtrl::GetUseVerticalScrollBar
}\label{wxstyledtextctrlgetuseverticalscrollbar
}
1471 \func{bool
}{GetUseVerticalScrollBar
}{\void}
1473 Is the vertical scroll bar visible?
1476 \membersection{wxStyledTextCtrl::GetViewEOL
}\label{wxstyledtextctrlgetvieweol
}
1478 \func{bool
}{GetViewEOL
}{\void}
1480 Are the end of line characters visible?
1483 \membersection{wxStyledTextCtrl::GetViewWhiteSpace
}\label{wxstyledtextctrlgetviewwhitespace
}
1485 \func{int
}{GetViewWhiteSpace
}{\void}
1487 Are white space characters currently visible?
1488 Returns one of SCWS
\_* constants.
1491 \membersection{wxStyledTextCtrl::GetWrapMode
}\label{wxstyledtextctrlgetwrapmode
}
1493 \func{int
}{GetWrapMode
}{\void}
1495 Retrieve whether text is word wrapped.
1498 \membersection{wxStyledTextCtrl::GetWrapStartIndent
}\label{wxstyledtextctrlgetwrapstartindent
}
1500 \func{int
}{GetWrapStartIndent
}{\void}
1502 Retrive the start indent for wrapped lines.
1505 \membersection{wxStyledTextCtrl::GetWrapVisualFlags
}\label{wxstyledtextctrlgetwrapvisualflags
}
1507 \func{int
}{GetWrapVisualFlags
}{\void}
1509 Retrive the display mode of visual flags for wrapped lines.
1512 \membersection{wxStyledTextCtrl::GetWrapVisualFlagsLocation
}\label{wxstyledtextctrlgetwrapvisualflagslocation
}
1514 \func{int
}{GetWrapVisualFlagsLocation
}{\void}
1516 Retrive the location of visual flags for wrapped lines.
1519 \membersection{wxStyledTextCtrl::GetXOffset
}\label{wxstyledtextctrlgetxoffset
}
1521 \func{int
}{GetXOffset
}{\void}
1524 \membersection{wxStyledTextCtrl::GetZoom
}\label{wxstyledtextctrlgetzoom
}
1526 \func{int
}{GetZoom
}{\void}
1528 Retrieve the zoom level.
1531 \membersection{wxStyledTextCtrl::GotoLine
}\label{wxstyledtextctrlgotoline
}
1533 \func{void
}{GotoLine
}{\param{int
}{line
}}
1535 Set caret to start of a line and ensure it is visible.
1538 \membersection{wxStyledTextCtrl::GotoPos
}\label{wxstyledtextctrlgotopos
}
1540 \func{void
}{GotoPos
}{\param{int
}{pos
}}
1542 Set caret to a position and ensure it is visible.
1545 \membersection{wxStyledTextCtrl::HideLines
}\label{wxstyledtextctrlhidelines
}
1547 \func{void
}{HideLines
}{\param{int
}{lineStart
},
\param{int
}{lineEnd
}}
1549 Make a range of lines invisible.
1552 \membersection{wxStyledTextCtrl::HideSelection
}\label{wxstyledtextctrlhideselection
}
1554 \func{void
}{HideSelection
}{\param{bool
}{normal
}}
1556 Draw the selection in normal style or with selection highlighted.
1559 \membersection{wxStyledTextCtrl::Home
}\label{wxstyledtextctrlhome
}
1561 \func{void
}{Home
}{\void}
1563 Move caret to first position on line.
1566 \membersection{wxStyledTextCtrl::HomeDisplay
}\label{wxstyledtextctrlhomedisplay
}
1568 \func{void
}{HomeDisplay
}{\void}
1570 Move caret to first position on display line.
1573 \membersection{wxStyledTextCtrl::HomeDisplayExtend
}\label{wxstyledtextctrlhomedisplayextend
}
1575 \func{void
}{HomeDisplayExtend
}{\void}
1577 Move caret to first position on display line extending selection to
1581 \membersection{wxStyledTextCtrl::HomeExtend
}\label{wxstyledtextctrlhomeextend
}
1583 \func{void
}{HomeExtend
}{\void}
1585 Move caret to first position on line extending selection to new caret position.
1588 \membersection{wxStyledTextCtrl::HomeRectExtend
}\label{wxstyledtextctrlhomerectextend
}
1590 \func{void
}{HomeRectExtend
}{\void}
1592 Move caret to first position on line, extending rectangular selection to new caret position.
1595 \membersection{wxStyledTextCtrl::HomeWrap
}\label{wxstyledtextctrlhomewrap
}
1597 \func{void
}{HomeWrap
}{\void}
1599 These are like their namesakes Home(Extend)?, LineEnd(Extend)?, VCHome(Extend)?
1600 except they behave differently when word-wrap is enabled:
1601 They go first to the start / end of the display line, like (Home|LineEnd)Display
1602 The difference is that, the cursor is already at the point, it goes on to the start
1603 or end of the
document line, as appropriate for (Home|LineEnd|VCHome)(Extend)?.
1606 \membersection{wxStyledTextCtrl::HomeWrapExtend
}\label{wxstyledtextctrlhomewrapextend
}
1608 \func{void
}{HomeWrapExtend
}{\void}
1611 \membersection{wxStyledTextCtrl::IndicatorGetForeground
}\label{wxstyledtextctrlindicatorgetforeground
}
1613 \func{wxColour
}{IndicatorGetForeground
}{\param{int
}{indic
}}
1615 Retrieve the foreground colour of an indicator.
1618 \membersection{wxStyledTextCtrl::IndicatorGetStyle
}\label{wxstyledtextctrlindicatorgetstyle
}
1620 \func{int
}{IndicatorGetStyle
}{\param{int
}{indic
}}
1622 Retrieve the style of an indicator.
1625 \membersection{wxStyledTextCtrl::IndicatorSetForeground
}\label{wxstyledtextctrlindicatorsetforeground
}
1627 \func{void
}{IndicatorSetForeground
}{\param{int
}{indic
},
\param{const wxColour\&
}{fore
}}
1629 Set the foreground colour of an indicator.
1632 \membersection{wxStyledTextCtrl::IndicatorSetStyle
}\label{wxstyledtextctrlindicatorsetstyle
}
1634 \func{void
}{IndicatorSetStyle
}{\param{int
}{indic
},
\param{int
}{style
}}
1636 Set an indicator to plain, squiggle or TT.
1639 \membersection{wxStyledTextCtrl::InsertText
}\label{wxstyledtextctrlinserttext
}
1641 \func{void
}{InsertText
}{\param{int
}{pos
},
\param{const wxString\&
}{text
}}
1643 Insert string at a position.
1646 \membersection{wxStyledTextCtrl::InsertTextRaw
}\label{wxstyledtextctrlinserttextraw
}
1648 \func{void
}{InsertTextRaw
}{\param{int
}{pos
},
\param{const char*
}{text
}}
1650 Insert string at a position.
1653 \membersection{wxStyledTextCtrl::LineCopy
}\label{wxstyledtextctrllinecopy
}
1655 \func{void
}{LineCopy
}{\void}
1657 Copy the line containing the caret.
1660 \membersection{wxStyledTextCtrl::LineCut
}\label{wxstyledtextctrllinecut
}
1662 \func{void
}{LineCut
}{\void}
1664 Cut the line containing the caret.
1667 \membersection{wxStyledTextCtrl::LineDelete
}\label{wxstyledtextctrllinedelete
}
1669 \func{void
}{LineDelete
}{\void}
1671 Delete the line containing the caret.
1674 \membersection{wxStyledTextCtrl::LineDown
}\label{wxstyledtextctrllinedown
}
1676 \func{void
}{LineDown
}{\void}
1678 Move caret down one line.
1681 \membersection{wxStyledTextCtrl::LineDownExtend
}\label{wxstyledtextctrllinedownextend
}
1683 \func{void
}{LineDownExtend
}{\void}
1685 Move caret down one line extending selection to new caret position.
1688 \membersection{wxStyledTextCtrl::LineDownRectExtend
}\label{wxstyledtextctrllinedownrectextend
}
1690 \func{void
}{LineDownRectExtend
}{\void}
1692 Move caret down one line, extending rectangular selection to new caret position.
1695 \membersection{wxStyledTextCtrl::LineDuplicate
}\label{wxstyledtextctrllineduplicate
}
1697 \func{void
}{LineDuplicate
}{\void}
1699 Duplicate the current line.
1702 \membersection{wxStyledTextCtrl::LineEnd
}\label{wxstyledtextctrllineend
}
1704 \func{void
}{LineEnd
}{\void}
1706 Move caret to last position on line.
1709 \membersection{wxStyledTextCtrl::LineEndDisplay
}\label{wxstyledtextctrllineenddisplay
}
1711 \func{void
}{LineEndDisplay
}{\void}
1713 Move caret to last position on display line.
1716 \membersection{wxStyledTextCtrl::LineEndDisplayExtend
}\label{wxstyledtextctrllineenddisplayextend
}
1718 \func{void
}{LineEndDisplayExtend
}{\void}
1720 Move caret to last position on display line extending selection to new
1724 \membersection{wxStyledTextCtrl::LineEndExtend
}\label{wxstyledtextctrllineendextend
}
1726 \func{void
}{LineEndExtend
}{\void}
1728 Move caret to last position on line extending selection to new caret position.
1731 \membersection{wxStyledTextCtrl::LineEndRectExtend
}\label{wxstyledtextctrllineendrectextend
}
1733 \func{void
}{LineEndRectExtend
}{\void}
1735 Move caret to last position on line, extending rectangular selection to new caret position.
1738 \membersection{wxStyledTextCtrl::LineEndWrap
}\label{wxstyledtextctrllineendwrap
}
1740 \func{void
}{LineEndWrap
}{\void}
1743 \membersection{wxStyledTextCtrl::LineEndWrapExtend
}\label{wxstyledtextctrllineendwrapextend
}
1745 \func{void
}{LineEndWrapExtend
}{\void}
1748 \membersection{wxStyledTextCtrl::LineFromPosition
}\label{wxstyledtextctrllinefromposition
}
1750 \func{int
}{LineFromPosition
}{\param{int
}{pos
}}
1752 Retrieve the line containing a position.
1755 \membersection{wxStyledTextCtrl::LineLength
}\label{wxstyledtextctrllinelength
}
1757 \func{int
}{LineLength
}{\param{int
}{line
}}
1759 How many characters are on a line, not including end of line characters?
1762 \membersection{wxStyledTextCtrl::LineScroll
}\label{wxstyledtextctrllinescroll
}
1764 \func{void
}{LineScroll
}{\param{int
}{columns
},
\param{int
}{lines
}}
1766 Scroll horizontally and vertically.
1769 \membersection{wxStyledTextCtrl::LineScrollDown
}\label{wxstyledtextctrllinescrolldown
}
1771 \func{void
}{LineScrollDown
}{\void}
1773 Scroll the
document down, keeping the caret visible.
1776 \membersection{wxStyledTextCtrl::LineScrollUp
}\label{wxstyledtextctrllinescrollup
}
1778 \func{void
}{LineScrollUp
}{\void}
1780 Scroll the
document up, keeping the caret visible.
1783 \membersection{wxStyledTextCtrl::LineTranspose
}\label{wxstyledtextctrllinetranspose
}
1785 \func{void
}{LineTranspose
}{\void}
1787 Switch the current line with the previous.
1790 \membersection{wxStyledTextCtrl::LineUp
}\label{wxstyledtextctrllineup
}
1792 \func{void
}{LineUp
}{\void}
1794 Move caret up one line.
1797 \membersection{wxStyledTextCtrl::LineUpExtend
}\label{wxstyledtextctrllineupextend
}
1799 \func{void
}{LineUpExtend
}{\void}
1801 Move caret up one line extending selection to new caret position.
1804 \membersection{wxStyledTextCtrl::LineUpRectExtend
}\label{wxstyledtextctrllineuprectextend
}
1806 \func{void
}{LineUpRectExtend
}{\void}
1808 Move caret up one line, extending rectangular selection to new caret position.
1811 \membersection{wxStyledTextCtrl::LinesJoin
}\label{wxstyledtextctrllinesjoin
}
1813 \func{void
}{LinesJoin
}{\void}
1815 Join the lines in the target.
1818 \membersection{wxStyledTextCtrl::LinesOnScreen
}\label{wxstyledtextctrllinesonscreen
}
1820 \func{int
}{LinesOnScreen
}{\void}
1822 Retrieves the number of lines completely visible.
1825 \membersection{wxStyledTextCtrl::LinesSplit
}\label{wxstyledtextctrllinessplit
}
1827 \func{void
}{LinesSplit
}{\param{int
}{pixelWidth
}}
1829 Split the lines in the target into lines that are less wide than pixelWidth
1833 \membersection{wxStyledTextCtrl::LoadFile
}\label{wxstyledtextctrlloadfile
}
1835 \func{bool
}{LoadFile
}{\param{const wxString\&
}{filename
}}
1837 Load the contents of filename into the editor
1840 \membersection{wxStyledTextCtrl::LowerCase
}\label{wxstyledtextctrllowercase
}
1842 \func{void
}{LowerCase
}{\void}
1844 Transform the selection to lower case.
1847 \membersection{wxStyledTextCtrl::MarkerAdd
}\label{wxstyledtextctrlmarkeradd
}
1849 \func{int
}{MarkerAdd
}{\param{int
}{line
},
\param{int
}{markerNumber
}}
1851 Add a marker to a line, returning an ID which can be used to find or delete the marker.
1854 \membersection{wxStyledTextCtrl::MarkerAddSet
}\label{wxstyledtextctrlmarkeraddset
}
1856 \func{void
}{MarkerAddSet
}{\param{int
}{line
},
\param{int
}{set
}}
1858 Add a set of markers to a line.
1861 \membersection{wxStyledTextCtrl::MarkerDefine
}\label{wxstyledtextctrlmarkerdefine
}
1863 \func{void
}{MarkerDefine
}{\param{int
}{markerNumber
},
\param{int
}{markerSymbol
},
\param{const wxColour\&
}{foreground = wxNullColour
},
\param{const wxColour\&
}{background = wxNullColour
}}
1865 Set the symbol used for a particular marker number,
1866 and optionally the fore and background colours.
1869 \membersection{wxStyledTextCtrl::MarkerDefineBitmap
}\label{wxstyledtextctrlmarkerdefinebitmap
}
1871 \func{void
}{MarkerDefineBitmap
}{\param{int
}{markerNumber
},
\param{const wxBitmap\&
}{bmp
}}
1873 Define a marker from a bitmap
1876 \membersection{wxStyledTextCtrl::MarkerDelete
}\label{wxstyledtextctrlmarkerdelete
}
1878 \func{void
}{MarkerDelete
}{\param{int
}{line
},
\param{int
}{markerNumber
}}
1880 Delete a marker from a line.
1883 \membersection{wxStyledTextCtrl::MarkerDeleteAll
}\label{wxstyledtextctrlmarkerdeleteall
}
1885 \func{void
}{MarkerDeleteAll
}{\param{int
}{markerNumber
}}
1887 Delete all markers with a particular number from all lines.
1890 \membersection{wxStyledTextCtrl::MarkerDeleteHandle
}\label{wxstyledtextctrlmarkerdeletehandle
}
1892 \func{void
}{MarkerDeleteHandle
}{\param{int
}{handle
}}
1897 \membersection{wxStyledTextCtrl::MarkerGet
}\label{wxstyledtextctrlmarkerget
}
1899 \func{int
}{MarkerGet
}{\param{int
}{line
}}
1901 Get a bit mask of all the markers set on a line.
1904 \membersection{wxStyledTextCtrl::MarkerLineFromHandle
}\label{wxstyledtextctrlmarkerlinefromhandle
}
1906 \func{int
}{MarkerLineFromHandle
}{\param{int
}{handle
}}
1908 Retrieve the line number at which a particular marker is located.
1911 \membersection{wxStyledTextCtrl::MarkerNext
}\label{wxstyledtextctrlmarkernext
}
1913 \func{int
}{MarkerNext
}{\param{int
}{lineStart
},
\param{int
}{markerMask
}}
1915 Find the next line after lineStart that includes a marker in mask.
1918 \membersection{wxStyledTextCtrl::MarkerPrevious
}\label{wxstyledtextctrlmarkerprevious
}
1920 \func{int
}{MarkerPrevious
}{\param{int
}{lineStart
},
\param{int
}{markerMask
}}
1922 Find the previous line before lineStart that includes a marker in mask.
1925 \membersection{wxStyledTextCtrl::MarkerSetAlpha
}\label{wxstyledtextctrlmarkersetalpha
}
1927 \func{void
}{MarkerSetAlpha
}{\param{int
}{markerNumber
},
\param{int
}{alpha
}}
1929 Set the alpha used for a marker that is drawn in the text area, not the margin.
1932 \membersection{wxStyledTextCtrl::MarkerSetBackground
}\label{wxstyledtextctrlmarkersetbackground
}
1934 \func{void
}{MarkerSetBackground
}{\param{int
}{markerNumber
},
\param{const wxColour\&
}{back
}}
1936 Set the background colour used for a particular marker number.
1939 \membersection{wxStyledTextCtrl::MarkerSetForeground
}\label{wxstyledtextctrlmarkersetforeground
}
1941 \func{void
}{MarkerSetForeground
}{\param{int
}{markerNumber
},
\param{const wxColour\&
}{fore
}}
1943 Set the foreground colour used for a particular marker number.
1946 \membersection{wxStyledTextCtrl::MoveCaretInsideView
}\label{wxstyledtextctrlmovecaretinsideview
}
1948 \func{void
}{MoveCaretInsideView
}{\void}
1950 Move the caret inside current view if it's not there already.
1953 \membersection{wxStyledTextCtrl::NewLine
}\label{wxstyledtextctrlnewline
}
1955 \func{void
}{NewLine
}{\void}
1957 Insert a new line, may use a CRLF, CR or LF depending on EOL mode.
1960 \membersection{wxStyledTextCtrl::PageDown
}\label{wxstyledtextctrlpagedown
}
1962 \func{void
}{PageDown
}{\void}
1964 Move caret one page down.
1967 \membersection{wxStyledTextCtrl::PageDownExtend
}\label{wxstyledtextctrlpagedownextend
}
1969 \func{void
}{PageDownExtend
}{\void}
1971 Move caret one page down extending selection to new caret position.
1974 \membersection{wxStyledTextCtrl::PageDownRectExtend
}\label{wxstyledtextctrlpagedownrectextend
}
1976 \func{void
}{PageDownRectExtend
}{\void}
1978 Move caret one page down, extending rectangular selection to new caret position.
1981 \membersection{wxStyledTextCtrl::PageUp
}\label{wxstyledtextctrlpageup
}
1983 \func{void
}{PageUp
}{\void}
1985 Move caret one page up.
1988 \membersection{wxStyledTextCtrl::PageUpExtend
}\label{wxstyledtextctrlpageupextend
}
1990 \func{void
}{PageUpExtend
}{\void}
1992 Move caret one page up extending selection to new caret position.
1995 \membersection{wxStyledTextCtrl::PageUpRectExtend
}\label{wxstyledtextctrlpageuprectextend
}
1997 \func{void
}{PageUpRectExtend
}{\void}
1999 Move caret one page up, extending rectangular selection to new caret position.
2002 \membersection{wxStyledTextCtrl::ParaDown
}\label{wxstyledtextctrlparadown
}
2004 \func{void
}{ParaDown
}{\void}
2006 Move caret between paragraphs (delimited by empty lines).
2009 \membersection{wxStyledTextCtrl::ParaDownExtend
}\label{wxstyledtextctrlparadownextend
}
2011 \func{void
}{ParaDownExtend
}{\void}
2014 \membersection{wxStyledTextCtrl::ParaUp
}\label{wxstyledtextctrlparaup
}
2016 \func{void
}{ParaUp
}{\void}
2019 \membersection{wxStyledTextCtrl::ParaUpExtend
}\label{wxstyledtextctrlparaupextend
}
2021 \func{void
}{ParaUpExtend
}{\void}
2024 \membersection{wxStyledTextCtrl::Paste
}\label{wxstyledtextctrlpaste
}
2026 \func{void
}{Paste
}{\void}
2028 Paste the contents of the clipboard into the
document replacing the selection.
2031 \membersection{wxStyledTextCtrl::PointFromPosition
}\label{wxstyledtextctrlpointfromposition
}
2033 \func{wxPoint
}{PointFromPosition
}{\param{int
}{pos
}}
2035 Retrieve the point in the window where a position is displayed.
2038 \membersection{wxStyledTextCtrl::PositionAfter
}\label{wxstyledtextctrlpositionafter
}
2040 \func{int
}{PositionAfter
}{\param{int
}{pos
}}
2042 Given a valid
document position, return the next position taking code
2043 page into account. Maximum value returned is the last position in the
document.
2046 \membersection{wxStyledTextCtrl::PositionBefore
}\label{wxstyledtextctrlpositionbefore
}
2048 \func{int
}{PositionBefore
}{\param{int
}{pos
}}
2050 Given a valid
document position, return the previous position taking code
2051 page into account. Returns
0 if passed
0.
2054 \membersection{wxStyledTextCtrl::PositionFromLine
}\label{wxstyledtextctrlpositionfromline
}
2056 \func{int
}{PositionFromLine
}{\param{int
}{line
}}
2058 Retrieve the position at the start of a line.
2061 \membersection{wxStyledTextCtrl::PositionFromPoint
}\label{wxstyledtextctrlpositionfrompoint
}
2063 \func{int
}{PositionFromPoint
}{\param{wxPoint
}{pt
}}
2065 Find the position from a point within the window.
2068 \membersection{wxStyledTextCtrl::PositionFromPointClose
}\label{wxstyledtextctrlpositionfrompointclose
}
2070 \func{int
}{PositionFromPointClose
}{\param{int
}{x
},
\param{int
}{y
}}
2072 Find the position from a point within the window but return
2073 INVALID
\_POSITION if not close to text.
2076 \membersection{wxStyledTextCtrl::Redo
}\label{wxstyledtextctrlredo
}
2078 \func{void
}{Redo
}{\void}
2080 Redoes the next action on the undo history.
2083 \membersection{wxStyledTextCtrl::RegisterImage
}\label{wxstyledtextctrlregisterimage
}
2085 \func{void
}{RegisterImage
}{\param{int
}{type
},
\param{const wxBitmap\&
}{bmp
}}
2087 Register an image for use in autocompletion lists.
2090 \membersection{wxStyledTextCtrl::ReleaseDocument
}\label{wxstyledtextctrlreleasedocument
}
2092 \func{void
}{ReleaseDocument
}{\param{void*
}{docPointer
}}
2094 Release a reference to the
document, deleting
document if it fades to black.
2097 \membersection{wxStyledTextCtrl::ReplaceSelection
}\label{wxstyledtextctrlreplaceselection
}
2099 \func{void
}{ReplaceSelection
}{\param{const wxString\&
}{text
}}
2101 Replace the selected text with the argument text.
2104 \membersection{wxStyledTextCtrl::ReplaceTarget
}\label{wxstyledtextctrlreplacetarget
}
2106 \func{int
}{ReplaceTarget
}{\param{const wxString\&
}{text
}}
2108 Replace the target text with the argument text.
2109 Text is counted so it can contain NULs.
2110 Returns the length of the replacement text.
2113 \membersection{wxStyledTextCtrl::ReplaceTargetRE
}\label{wxstyledtextctrlreplacetargetre
}
2115 \func{int
}{ReplaceTargetRE
}{\param{const wxString\&
}{text
}}
2117 Replace the target text with the argument text after \
\d processing.
2118 Text is counted so it can contain NULs.
2119 Looks for \
\d where d is between
1 and
9 and replaces these with the strings
2120 matched in the last search operation which were surrounded by \\( and \\).
2121 Returns the length of the replacement text including any change
2122 caused by processing the \
\d patterns.
2125 \membersection{wxStyledTextCtrl::SaveFile
}\label{wxstyledtextctrlsavefile
}
2127 \func{bool
}{SaveFile
}{\param{const wxString\&
}{filename
}}
2129 Write the contents of the editor to filename
2132 \membersection{wxStyledTextCtrl::ScrollToColumn
}\label{wxstyledtextctrlscrolltocolumn
}
2134 \func{void
}{ScrollToColumn
}{\param{int
}{column
}}
2136 Scroll enough to make the given column visible
2139 \membersection{wxStyledTextCtrl::ScrollToLine
}\label{wxstyledtextctrlscrolltoline
}
2141 \func{void
}{ScrollToLine
}{\param{int
}{line
}}
2143 Scroll enough to make the given line visible
2146 \membersection{wxStyledTextCtrl::SearchAnchor
}\label{wxstyledtextctrlsearchanchor
}
2148 \func{void
}{SearchAnchor
}{\void}
2150 Sets the current caret position to be the search anchor.
2153 \membersection{wxStyledTextCtrl::SearchInTarget
}\label{wxstyledtextctrlsearchintarget
}
2155 \func{int
}{SearchInTarget
}{\param{const wxString\&
}{text
}}
2157 Search for a counted string in the target and set the target to the found
2158 range. Text is counted so it can contain NULs.
2159 Returns length of range or -
1 for failure in which case target is not moved.
2162 \membersection{wxStyledTextCtrl::SearchNext
}\label{wxstyledtextctrlsearchnext
}
2164 \func{int
}{SearchNext
}{\param{int
}{flags
},
\param{const wxString\&
}{text
}}
2166 Find some text starting at the search anchor.
2167 Does not ensure the selection is visible.
2170 \membersection{wxStyledTextCtrl::SearchPrev
}\label{wxstyledtextctrlsearchprev
}
2172 \func{int
}{SearchPrev
}{\param{int
}{flags
},
\param{const wxString\&
}{text
}}
2174 Find some text starting at the search anchor and moving backwards.
2175 Does not ensure the selection is visible.
2178 \membersection{wxStyledTextCtrl::SelectAll
}\label{wxstyledtextctrlselectall
}
2180 \func{void
}{SelectAll
}{\void}
2182 Select all the text in the
document.
2185 \membersection{wxStyledTextCtrl::SelectionDuplicate
}\label{wxstyledtextctrlselectionduplicate
}
2187 \func{void
}{SelectionDuplicate
}{\void}
2189 Duplicate the selection. If selection empty duplicate the line containing the caret.
2192 \membersection{wxStyledTextCtrl::SelectionIsRectangle
}\label{wxstyledtextctrlselectionisrectangle
}
2194 \func{bool
}{SelectionIsRectangle
}{\void}
2196 Is the selection rectangular? The alternative is the more common stream selection.
2199 \membersection{wxStyledTextCtrl::SendMsg
}\label{wxstyledtextctrlsendmsg
}
2201 \func{long
}{SendMsg
}{\param{int
}{msg
},
\param{long
}{wp =
0},
\param{long
}{lp =
0}}
2203 Send a message to Scintilla
2206 \membersection{wxStyledTextCtrl::SetAnchor
}\label{wxstyledtextctrlsetanchor
}
2208 \func{void
}{SetAnchor
}{\param{int
}{posAnchor
}}
2210 Set the selection anchor to a position. The anchor is the opposite
2211 end of the selection from the caret.
2214 \membersection{wxStyledTextCtrl::SetBackSpaceUnIndents
}\label{wxstyledtextctrlsetbackspaceunindents
}
2216 \func{void
}{SetBackSpaceUnIndents
}{\param{bool
}{bsUnIndents
}}
2218 Sets whether a backspace pressed when caret is within indentation unindents.
2221 \membersection{wxStyledTextCtrl::SetBufferedDraw
}\label{wxstyledtextctrlsetbuffereddraw
}
2223 \func{void
}{SetBufferedDraw
}{\param{bool
}{buffered
}}
2225 If drawing is buffered then each line of text is drawn into a bitmap buffer
2226 before drawing it to the screen to avoid flicker.
2229 \membersection{wxStyledTextCtrl::SetCaretForeground
}\label{wxstyledtextctrlsetcaretforeground
}
2231 \func{void
}{SetCaretForeground
}{\param{const wxColour\&
}{fore
}}
2233 Set the foreground colour of the caret.
2236 \membersection{wxStyledTextCtrl::SetCaretLineBackAlpha
}\label{wxstyledtextctrlsetcaretlinebackalpha
}
2238 \func{void
}{SetCaretLineBackAlpha
}{\param{int
}{alpha
}}
2240 Set background alpha of the caret line.
2243 \membersection{wxStyledTextCtrl::SetCaretLineBackground
}\label{wxstyledtextctrlsetcaretlinebackground
}
2245 \func{void
}{SetCaretLineBackground
}{\param{const wxColour\&
}{back
}}
2247 Set the colour of the background of the line containing the caret.
2250 \membersection{wxStyledTextCtrl::SetCaretLineVisible
}\label{wxstyledtextctrlsetcaretlinevisible
}
2252 \func{void
}{SetCaretLineVisible
}{\param{bool
}{show
}}
2254 Display the background of the line containing the caret in a different colour.
2257 \membersection{wxStyledTextCtrl::SetCaretPeriod
}\label{wxstyledtextctrlsetcaretperiod
}
2259 \func{void
}{SetCaretPeriod
}{\param{int
}{periodMilliseconds
}}
2261 Get the time in milliseconds that the caret is on and off.
0 = steady on.
2264 \membersection{wxStyledTextCtrl::SetCaretSticky
}\label{wxstyledtextctrlsetcaretsticky
}
2266 \func{void
}{SetCaretSticky
}{\param{bool
}{useCaretStickyBehaviour
}}
2268 Stop the caret preferred x position changing when the user types.
2271 \membersection{wxStyledTextCtrl::SetCaretWidth
}\label{wxstyledtextctrlsetcaretwidth
}
2273 \func{void
}{SetCaretWidth
}{\param{int
}{pixelWidth
}}
2275 Set the width of the insert mode caret.
2278 \membersection{wxStyledTextCtrl::SetCharsDefault
}\label{wxstyledtextctrlsetcharsdefault
}
2280 \func{void
}{SetCharsDefault
}{\void}
2282 Reset the set of characters for whitespace and word characters to the defaults.
2285 \membersection{wxStyledTextCtrl::SetCodePage
}\label{wxstyledtextctrlsetcodepage
}
2287 \func{void
}{SetCodePage
}{\param{int
}{codePage
}}
2289 Set the code page used to interpret the bytes of the
document as characters.
2292 \membersection{wxStyledTextCtrl::SetControlCharSymbol
}\label{wxstyledtextctrlsetcontrolcharsymbol
}
2294 \func{void
}{SetControlCharSymbol
}{\param{int
}{symbol
}}
2296 Change the way control characters are displayed:
2297 If symbol is <
32, keep the drawn way, else, use the given character.
2300 \membersection{wxStyledTextCtrl::SetCurrentPos
}\label{wxstyledtextctrlsetcurrentpos
}
2302 \func{void
}{SetCurrentPos
}{\param{int
}{pos
}}
2304 Sets the position of the caret.
2307 \membersection{wxStyledTextCtrl::SetDocPointer
}\label{wxstyledtextctrlsetdocpointer
}
2309 \func{void
}{SetDocPointer
}{\param{void*
}{docPointer
}}
2311 Change the
document object used.
2314 \membersection{wxStyledTextCtrl::SetEOLMode
}\label{wxstyledtextctrlseteolmode
}
2316 \func{void
}{SetEOLMode
}{\param{int
}{eolMode
}}
2318 Set the current end of line mode.
2321 \membersection{wxStyledTextCtrl::SetEdgeColour
}\label{wxstyledtextctrlsetedgecolour
}
2323 \func{void
}{SetEdgeColour
}{\param{const wxColour\&
}{edgeColour
}}
2325 Change the colour used in edge indication.
2328 \membersection{wxStyledTextCtrl::SetEdgeColumn
}\label{wxstyledtextctrlsetedgecolumn
}
2330 \func{void
}{SetEdgeColumn
}{\param{int
}{column
}}
2332 Set the column number of the edge.
2333 If text goes past the edge then it is highlighted.
2336 \membersection{wxStyledTextCtrl::SetEdgeMode
}\label{wxstyledtextctrlsetedgemode
}
2338 \func{void
}{SetEdgeMode
}{\param{int
}{mode
}}
2340 The edge may be displayed by a line (EDGE
\_LINE) or by highlighting text that
2341 goes beyond it (EDGE
\_BACKGROUND) or not displayed at all (EDGE
\_NONE).
2344 \membersection{wxStyledTextCtrl::SetEndAtLastLine
}\label{wxstyledtextctrlsetendatlastline
}
2346 \func{void
}{SetEndAtLastLine
}{\param{bool
}{endAtLastLine
}}
2348 Sets the scroll range so that maximum scroll position has
2349 the last line at the bottom of the view (default).
2350 Setting this to false allows scrolling one page below the last line.
2353 \membersection{wxStyledTextCtrl::SetFoldExpanded
}\label{wxstyledtextctrlsetfoldexpanded
}
2355 \func{void
}{SetFoldExpanded
}{\param{int
}{line
},
\param{bool
}{expanded
}}
2357 Show the children of a header line.
2360 \membersection{wxStyledTextCtrl::SetFoldFlags
}\label{wxstyledtextctrlsetfoldflags
}
2362 \func{void
}{SetFoldFlags
}{\param{int
}{flags
}}
2364 Set some style options for folding.
2367 \membersection{wxStyledTextCtrl::SetFoldLevel
}\label{wxstyledtextctrlsetfoldlevel
}
2369 \func{void
}{SetFoldLevel
}{\param{int
}{line
},
\param{int
}{level
}}
2371 Set the fold level of a line.
2372 This encodes an integer level along with flags indicating whether the
2373 line is a header and whether it is effectively white space.
2376 \membersection{wxStyledTextCtrl::SetFoldMarginColour
}\label{wxstyledtextctrlsetfoldmargincolour
}
2378 \func{void
}{SetFoldMarginColour
}{\param{bool
}{useSetting
},
\param{const wxColour\&
}{back
}}
2380 Set the colours used as a chequerboard pattern in the fold margin
2383 \membersection{wxStyledTextCtrl::SetFoldMarginHiColour
}\label{wxstyledtextctrlsetfoldmarginhicolour
}
2385 \func{void
}{SetFoldMarginHiColour
}{\param{bool
}{useSetting
},
\param{const wxColour\&
}{fore
}}
2388 \membersection{wxStyledTextCtrl::SetHScrollBar
}\label{wxstyledtextctrlsethscrollbar
}
2390 \func{void
}{SetHScrollBar
}{\param{wxScrollBar*
}{bar
}}
2392 Set the horizontal scrollbar to use instead of the ont that's built-in.
2395 \membersection{wxStyledTextCtrl::SetHighlightGuide
}\label{wxstyledtextctrlsethighlightguide
}
2397 \func{void
}{SetHighlightGuide
}{\param{int
}{column
}}
2399 Set the highlighted indentation guide column.
2400 0 = no highlighted guide.
2403 \membersection{wxStyledTextCtrl::SetHotspotActiveBackground
}\label{wxstyledtextctrlsethotspotactivebackground
}
2405 \func{void
}{SetHotspotActiveBackground
}{\param{bool
}{useSetting
},
\param{const wxColour\&
}{back
}}
2407 Set a back colour for active hotspots.
2410 \membersection{wxStyledTextCtrl::SetHotspotActiveForeground
}\label{wxstyledtextctrlsethotspotactiveforeground
}
2412 \func{void
}{SetHotspotActiveForeground
}{\param{bool
}{useSetting
},
\param{const wxColour\&
}{fore
}}
2414 Set a fore colour for active hotspots.
2417 \membersection{wxStyledTextCtrl::SetHotspotActiveUnderline
}\label{wxstyledtextctrlsethotspotactiveunderline
}
2419 \func{void
}{SetHotspotActiveUnderline
}{\param{bool
}{underline
}}
2421 Enable / Disable underlining active hotspots.
2424 \membersection{wxStyledTextCtrl::SetHotspotSingleLine
}\label{wxstyledtextctrlsethotspotsingleline
}
2426 \func{void
}{SetHotspotSingleLine
}{\param{bool
}{singleLine
}}
2428 Limit hotspots to single line so hotspots on two lines don't merge.
2431 \membersection{wxStyledTextCtrl::SetIndent
}\label{wxstyledtextctrlsetindent
}
2433 \func{void
}{SetIndent
}{\param{int
}{indentSize
}}
2435 Set the number of spaces used for one level of indentation.
2438 \membersection{wxStyledTextCtrl::SetIndentationGuides
}\label{wxstyledtextctrlsetindentationguides
}
2440 \func{void
}{SetIndentationGuides
}{\param{bool
}{show
}}
2442 Show or hide indentation guides.
2445 \membersection{wxStyledTextCtrl::SetKeyWords
}\label{wxstyledtextctrlsetkeywords
}
2447 \func{void
}{SetKeyWords
}{\param{int
}{keywordSet
},
\param{const wxString\&
}{keyWords
}}
2449 Set up the key words used by the lexer.
2452 \membersection{wxStyledTextCtrl::SetLastKeydownProcessed
}\label{wxstyledtextctrlsetlastkeydownprocessed
}
2454 \func{void
}{SetLastKeydownProcessed
}{\param{bool
}{val
}}
2457 \membersection{wxStyledTextCtrl::SetLayoutCache
}\label{wxstyledtextctrlsetlayoutcache
}
2459 \func{void
}{SetLayoutCache
}{\param{int
}{mode
}}
2461 Sets the degree of caching of layout information.
2464 \membersection{wxStyledTextCtrl::SetLexer
}\label{wxstyledtextctrlsetlexer
}
2466 \func{void
}{SetLexer
}{\param{int
}{lexer
}}
2468 Set the lexing language of the
document.
2471 \membersection{wxStyledTextCtrl::SetLexerLanguage
}\label{wxstyledtextctrlsetlexerlanguage
}
2473 \func{void
}{SetLexerLanguage
}{\param{const wxString\&
}{language
}}
2475 Set the lexing language of the
document based on string name.
2478 \membersection{wxStyledTextCtrl::SetLineIndentation
}\label{wxstyledtextctrlsetlineindentation
}
2480 \func{void
}{SetLineIndentation
}{\param{int
}{line
},
\param{int
}{indentSize
}}
2482 Change the indentation of a line to a number of columns.
2485 \membersection{wxStyledTextCtrl::SetLineState
}\label{wxstyledtextctrlsetlinestate
}
2487 \func{void
}{SetLineState
}{\param{int
}{line
},
\param{int
}{state
}}
2489 Used to hold extra styling information for each line.
2492 \membersection{wxStyledTextCtrl::SetMarginLeft
}\label{wxstyledtextctrlsetmarginleft
}
2494 \func{void
}{SetMarginLeft
}{\param{int
}{pixelWidth
}}
2496 Sets the size in pixels of the left margin.
2499 \membersection{wxStyledTextCtrl::SetMarginMask
}\label{wxstyledtextctrlsetmarginmask
}
2501 \func{void
}{SetMarginMask
}{\param{int
}{margin
},
\param{int
}{mask
}}
2503 Set a mask that determines which markers are displayed in a margin.
2506 \membersection{wxStyledTextCtrl::SetMarginRight
}\label{wxstyledtextctrlsetmarginright
}
2508 \func{void
}{SetMarginRight
}{\param{int
}{pixelWidth
}}
2510 Sets the size in pixels of the right margin.
2513 \membersection{wxStyledTextCtrl::SetMarginSensitive
}\label{wxstyledtextctrlsetmarginsensitive
}
2515 \func{void
}{SetMarginSensitive
}{\param{int
}{margin
},
\param{bool
}{sensitive
}}
2517 Make a margin sensitive or insensitive to mouse clicks.
2520 \membersection{wxStyledTextCtrl::SetMarginType
}\label{wxstyledtextctrlsetmargintype
}
2522 \func{void
}{SetMarginType
}{\param{int
}{margin
},
\param{int
}{marginType
}}
2524 Set a margin to be either numeric or symbolic.
2527 \membersection{wxStyledTextCtrl::SetMarginWidth
}\label{wxstyledtextctrlsetmarginwidth
}
2529 \func{void
}{SetMarginWidth
}{\param{int
}{margin
},
\param{int
}{pixelWidth
}}
2531 Set the width of a margin to a width expressed in pixels.
2534 \membersection{wxStyledTextCtrl::SetMargins
}\label{wxstyledtextctrlsetmargins
}
2536 \func{void
}{SetMargins
}{\param{int
}{left
},
\param{int
}{right
}}
2538 Set the left and right margin in the edit area, measured in pixels.
2541 \membersection{wxStyledTextCtrl::SetModEventMask
}\label{wxstyledtextctrlsetmodeventmask
}
2543 \func{void
}{SetModEventMask
}{\param{int
}{mask
}}
2545 Set which
document modification events are sent to the container.
2548 \membersection{wxStyledTextCtrl::SetMouseDownCaptures
}\label{wxstyledtextctrlsetmousedowncaptures
}
2550 \func{void
}{SetMouseDownCaptures
}{\param{bool
}{captures
}}
2552 Set whether the mouse is captured when its button is pressed.
2555 \membersection{wxStyledTextCtrl::SetMouseDwellTime
}\label{wxstyledtextctrlsetmousedwelltime
}
2557 \func{void
}{SetMouseDwellTime
}{\param{int
}{periodMilliseconds
}}
2559 Sets the time the mouse must sit still to generate a mouse dwell event.
2562 \membersection{wxStyledTextCtrl::SetOvertype
}\label{wxstyledtextctrlsetovertype
}
2564 \func{void
}{SetOvertype
}{\param{bool
}{overtype
}}
2566 Set to overtype (true) or insert mode.
2569 \membersection{wxStyledTextCtrl::SetPasteConvertEndings
}\label{wxstyledtextctrlsetpasteconvertendings
}
2571 \func{void
}{SetPasteConvertEndings
}{\param{bool
}{convert
}}
2573 Enable/Disable convert-on-paste for line endings
2576 \membersection{wxStyledTextCtrl::SetPrintColourMode
}\label{wxstyledtextctrlsetprintcolourmode
}
2578 \func{void
}{SetPrintColourMode
}{\param{int
}{mode
}}
2580 Modify colours when printing for clearer printed text.
2583 \membersection{wxStyledTextCtrl::SetPrintMagnification
}\label{wxstyledtextctrlsetprintmagnification
}
2585 \func{void
}{SetPrintMagnification
}{\param{int
}{magnification
}}
2587 Sets the print magnification added to the point size of each style for printing.
2590 \membersection{wxStyledTextCtrl::SetPrintWrapMode
}\label{wxstyledtextctrlsetprintwrapmode
}
2592 \func{void
}{SetPrintWrapMode
}{\param{int
}{mode
}}
2594 Set printing to line wrapped (SC
\_WRAP\_WORD) or not line wrapped (SC
\_WRAP\_NONE).
2597 \membersection{wxStyledTextCtrl::SetProperty
}\label{wxstyledtextctrlsetproperty
}
2599 \func{void
}{SetProperty
}{\param{const wxString\&
}{key
},
\param{const wxString\&
}{value
}}
2601 Set up a value that may be used by a lexer for some optional feature.
2604 \membersection{wxStyledTextCtrl::SetReadOnly
}\label{wxstyledtextctrlsetreadonly
}
2606 \func{void
}{SetReadOnly
}{\param{bool
}{readOnly
}}
2608 Set to read only or read write.
2611 \membersection{wxStyledTextCtrl::SetSTCCursor
}\label{wxstyledtextctrlsetstccursor
}
2613 \func{void
}{SetSTCCursor
}{\param{int
}{cursorType
}}
2615 Sets the cursor to one of the SC
\_CURSOR* values.
2618 \membersection{wxStyledTextCtrl::SetSTCFocus
}\label{wxstyledtextctrlsetstcfocus
}
2620 \func{void
}{SetSTCFocus
}{\param{bool
}{focus
}}
2622 Change internal focus flag.
2625 \membersection{wxStyledTextCtrl::SetSavePoint
}\label{wxstyledtextctrlsetsavepoint
}
2627 \func{void
}{SetSavePoint
}{\void}
2629 Remember the current position in the undo history as the position
2630 at which the
document was saved.
2633 \membersection{wxStyledTextCtrl::SetScrollWidth
}\label{wxstyledtextctrlsetscrollwidth
}
2635 \func{void
}{SetScrollWidth
}{\param{int
}{pixelWidth
}}
2637 Sets the
document width assumed for scrolling.
2640 \membersection{wxStyledTextCtrl::SetSearchFlags
}\label{wxstyledtextctrlsetsearchflags
}
2642 \func{void
}{SetSearchFlags
}{\param{int
}{flags
}}
2644 Set the search flags used by SearchInTarget.
2647 \membersection{wxStyledTextCtrl::SetSelAlpha
}\label{wxstyledtextctrlsetselalpha
}
2649 \func{void
}{SetSelAlpha
}{\param{int
}{alpha
}}
2651 Set the alpha of the selection.
2654 \membersection{wxStyledTextCtrl::SetSelBackground
}\label{wxstyledtextctrlsetselbackground
}
2656 \func{void
}{SetSelBackground
}{\param{bool
}{useSetting
},
\param{const wxColour\&
}{back
}}
2658 Set the background colour of the selection and whether to use this setting.
2661 \membersection{wxStyledTextCtrl::SetSelForeground
}\label{wxstyledtextctrlsetselforeground
}
2663 \func{void
}{SetSelForeground
}{\param{bool
}{useSetting
},
\param{const wxColour\&
}{fore
}}
2665 Set the foreground colour of the selection and whether to use this setting.
2668 \membersection{wxStyledTextCtrl::SetSelection
}\label{wxstyledtextctrlsetselection
}
2670 \func{void
}{SetSelection
}{\param{int
}{start
},
\param{int
}{end
}}
2672 Select a range of text.
2675 \membersection{wxStyledTextCtrl::SetSelectionEnd
}\label{wxstyledtextctrlsetselectionend
}
2677 \func{void
}{SetSelectionEnd
}{\param{int
}{pos
}}
2679 Sets the position that ends the selection - this becomes the currentPosition.
2682 \membersection{wxStyledTextCtrl::SetSelectionMode
}\label{wxstyledtextctrlsetselectionmode
}
2684 \func{void
}{SetSelectionMode
}{\param{int
}{mode
}}
2686 Set the selection mode to stream (SC
\_SEL\_STREAM) or rectangular (SC
\_SEL\_RECTANGLE) or
2687 by lines (SC
\_SEL\_LINES).
2690 \membersection{wxStyledTextCtrl::SetSelectionStart
}\label{wxstyledtextctrlsetselectionstart
}
2692 \func{void
}{SetSelectionStart
}{\param{int
}{pos
}}
2694 Sets the position that starts the selection - this becomes the anchor.
2697 \membersection{wxStyledTextCtrl::SetStatus
}\label{wxstyledtextctrlsetstatus
}
2699 \func{void
}{SetStatus
}{\param{int
}{statusCode
}}
2701 Change error status -
0 = OK.
2704 \membersection{wxStyledTextCtrl::SetStyleBits
}\label{wxstyledtextctrlsetstylebits
}
2706 \func{void
}{SetStyleBits
}{\param{int
}{bits
}}
2708 Divide each styling byte into lexical class bits (default:
5) and indicator
2709 bits (default:
3). If a lexer requires more than
32 lexical states, then this
2710 is used to expand the possible states.
2713 \membersection{wxStyledTextCtrl::SetStyleBytes
}\label{wxstyledtextctrlsetstylebytes
}
2715 \func{void
}{SetStyleBytes
}{\param{int
}{length
},
\param{char*
}{styleBytes
}}
2717 Set the styles for a segment of the
document.
2720 \membersection{wxStyledTextCtrl::SetStyling
}\label{wxstyledtextctrlsetstyling
}
2722 \func{void
}{SetStyling
}{\param{int
}{length
},
\param{int
}{style
}}
2724 Change style from current styling position for length characters to a style
2725 and move the current styling position to after this newly styled segment.
2728 \membersection{wxStyledTextCtrl::SetTabIndents
}\label{wxstyledtextctrlsettabindents
}
2730 \func{void
}{SetTabIndents
}{\param{bool
}{tabIndents
}}
2732 Sets whether a tab pressed when caret is within indentation indents.
2735 \membersection{wxStyledTextCtrl::SetTabWidth
}\label{wxstyledtextctrlsettabwidth
}
2737 \func{void
}{SetTabWidth
}{\param{int
}{tabWidth
}}
2739 Change the visible size of a tab to be a multiple of the width of a space character.
2742 \membersection{wxStyledTextCtrl::SetTargetEnd
}\label{wxstyledtextctrlsettargetend
}
2744 \func{void
}{SetTargetEnd
}{\param{int
}{pos
}}
2746 Sets the position that ends the target which is used for updating the
2747 document without affecting the scroll position.
2750 \membersection{wxStyledTextCtrl::SetTargetStart
}\label{wxstyledtextctrlsettargetstart
}
2752 \func{void
}{SetTargetStart
}{\param{int
}{pos
}}
2754 Sets the position that starts the target which is used for updating the
2755 document without affecting the scroll position.
2758 \membersection{wxStyledTextCtrl::SetText
}\label{wxstyledtextctrlsettext
}
2760 \func{void
}{SetText
}{\param{const wxString\&
}{text
}}
2762 Replace the contents of the
document with the argument text.
2765 \membersection{wxStyledTextCtrl::SetTextRaw
}\label{wxstyledtextctrlsettextraw
}
2767 \func{void
}{SetTextRaw
}{\param{const char*
}{text
}}
2769 Replace the contents of the
document with the argument text.
2772 \membersection{wxStyledTextCtrl::SetTwoPhaseDraw
}\label{wxstyledtextctrlsettwophasedraw
}
2774 \func{void
}{SetTwoPhaseDraw
}{\param{bool
}{twoPhase
}}
2776 In twoPhaseDraw mode, drawing is performed in two phases, first the background
2777 and then the foreground. This avoids chopping off characters that overlap the next run.
2780 \membersection{wxStyledTextCtrl::SetUndoCollection
}\label{wxstyledtextctrlsetundocollection
}
2782 \func{void
}{SetUndoCollection
}{\param{bool
}{collectUndo
}}
2784 Choose between collecting actions into the undo
2785 history and discarding them.
2788 \membersection{wxStyledTextCtrl::SetUseAntiAliasing
}\label{wxstyledtextctrlsetuseantialiasing
}
2790 \func{void
}{SetUseAntiAliasing
}{\param{bool
}{useAA
}}
2792 Specify whether anti-aliased fonts should be used. Will have no effect
2793 on some platforms, but on some (wxMac for example) can greatly improve
2797 \membersection{wxStyledTextCtrl::SetUseHorizontalScrollBar
}\label{wxstyledtextctrlsetusehorizontalscrollbar
}
2799 \func{void
}{SetUseHorizontalScrollBar
}{\param{bool
}{show
}}
2801 Show or hide the horizontal scroll bar.
2804 \membersection{wxStyledTextCtrl::SetUseTabs
}\label{wxstyledtextctrlsetusetabs
}
2806 \func{void
}{SetUseTabs
}{\param{bool
}{useTabs
}}
2808 Indentation will only use space characters if useTabs is false, otherwise
2809 it will use a combination of tabs and spaces.
2812 \membersection{wxStyledTextCtrl::SetUseVerticalScrollBar
}\label{wxstyledtextctrlsetuseverticalscrollbar
}
2814 \func{void
}{SetUseVerticalScrollBar
}{\param{bool
}{show
}}
2816 Show or hide the vertical scroll bar.
2819 \membersection{wxStyledTextCtrl::SetVScrollBar
}\label{wxstyledtextctrlsetvscrollbar
}
2821 \func{void
}{SetVScrollBar
}{\param{wxScrollBar*
}{bar
}}
2823 Set the vertical scrollbar to use instead of the ont that's built-in.
2826 \membersection{wxStyledTextCtrl::SetViewEOL
}\label{wxstyledtextctrlsetvieweol
}
2828 \func{void
}{SetViewEOL
}{\param{bool
}{visible
}}
2830 Make the end of line characters visible or invisible.
2833 \membersection{wxStyledTextCtrl::SetViewWhiteSpace
}\label{wxstyledtextctrlsetviewwhitespace
}
2835 \func{void
}{SetViewWhiteSpace
}{\param{int
}{viewWS
}}
2837 Make white space characters invisible, always visible or visible outside indentation.
2840 \membersection{wxStyledTextCtrl::SetVisiblePolicy
}\label{wxstyledtextctrlsetvisiblepolicy
}
2842 \func{void
}{SetVisiblePolicy
}{\param{int
}{visiblePolicy
},
\param{int
}{visibleSlop
}}
2844 Set the way the display area is determined when a particular line
2845 is to be moved to by Find, FindNext, GotoLine, etc.
2848 \membersection{wxStyledTextCtrl::SetWhitespaceBackground
}\label{wxstyledtextctrlsetwhitespacebackground
}
2850 \func{void
}{SetWhitespaceBackground
}{\param{bool
}{useSetting
},
\param{const wxColour\&
}{back
}}
2852 Set the background colour of all whitespace and whether to use this setting.
2855 \membersection{wxStyledTextCtrl::SetWhitespaceChars
}\label{wxstyledtextctrlsetwhitespacechars
}
2857 \func{void
}{SetWhitespaceChars
}{\param{const wxString\&
}{characters
}}
2859 Set the set of characters making up whitespace for when moving or selecting by word.
2860 Should be called after SetWordChars.
2863 \membersection{wxStyledTextCtrl::SetWhitespaceForeground
}\label{wxstyledtextctrlsetwhitespaceforeground
}
2865 \func{void
}{SetWhitespaceForeground
}{\param{bool
}{useSetting
},
\param{const wxColour\&
}{fore
}}
2867 Set the foreground colour of all whitespace and whether to use this setting.
2870 \membersection{wxStyledTextCtrl::SetWordChars
}\label{wxstyledtextctrlsetwordchars
}
2872 \func{void
}{SetWordChars
}{\param{const wxString\&
}{characters
}}
2874 Set the set of characters making up words for when moving or selecting by word.
2875 First sets deaults like SetCharsDefault.
2878 \membersection{wxStyledTextCtrl::SetWrapMode
}\label{wxstyledtextctrlsetwrapmode
}
2880 \func{void
}{SetWrapMode
}{\param{int
}{mode
}}
2882 Sets whether text is word wrapped.
2885 \membersection{wxStyledTextCtrl::SetWrapStartIndent
}\label{wxstyledtextctrlsetwrapstartindent
}
2887 \func{void
}{SetWrapStartIndent
}{\param{int
}{indent
}}
2889 Set the start indent for wrapped lines.
2892 \membersection{wxStyledTextCtrl::SetWrapVisualFlags
}\label{wxstyledtextctrlsetwrapvisualflags
}
2894 \func{void
}{SetWrapVisualFlags
}{\param{int
}{wrapVisualFlags
}}
2896 Set the display mode of visual flags for wrapped lines.
2899 \membersection{wxStyledTextCtrl::SetWrapVisualFlagsLocation
}\label{wxstyledtextctrlsetwrapvisualflagslocation
}
2901 \func{void
}{SetWrapVisualFlagsLocation
}{\param{int
}{wrapVisualFlagsLocation
}}
2903 Set the location of visual flags for wrapped lines.
2906 \membersection{wxStyledTextCtrl::SetXCaretPolicy
}\label{wxstyledtextctrlsetxcaretpolicy
}
2908 \func{void
}{SetXCaretPolicy
}{\param{int
}{caretPolicy
},
\param{int
}{caretSlop
}}
2910 Set the way the caret is kept visible when going sideway.
2911 The exclusion zone is given in pixels.
2914 \membersection{wxStyledTextCtrl::SetXOffset
}\label{wxstyledtextctrlsetxoffset
}
2916 \func{void
}{SetXOffset
}{\param{int
}{newOffset
}}
2918 Get and Set the xOffset (ie, horizonal scroll position).
2921 \membersection{wxStyledTextCtrl::SetYCaretPolicy
}\label{wxstyledtextctrlsetycaretpolicy
}
2923 \func{void
}{SetYCaretPolicy
}{\param{int
}{caretPolicy
},
\param{int
}{caretSlop
}}
2925 Set the way the line the caret is on is kept visible.
2926 The exclusion zone is given in lines.
2929 \membersection{wxStyledTextCtrl::SetZoom
}\label{wxstyledtextctrlsetzoom
}
2931 \func{void
}{SetZoom
}{\param{int
}{zoom
}}
2933 Set the zoom level. This number of points is added to the size of all fonts.
2934 It may be positive to magnify or negative to reduce.
2937 \membersection{wxStyledTextCtrl::ShowLines
}\label{wxstyledtextctrlshowlines
}
2939 \func{void
}{ShowLines
}{\param{int
}{lineStart
},
\param{int
}{lineEnd
}}
2941 Make a range of lines visible.
2944 \membersection{wxStyledTextCtrl::StartRecord
}\label{wxstyledtextctrlstartrecord
}
2946 \func{void
}{StartRecord
}{\void}
2948 Start notifying the container of all key presses and commands.
2951 \membersection{wxStyledTextCtrl::StartStyling
}\label{wxstyledtextctrlstartstyling
}
2953 \func{void
}{StartStyling
}{\param{int
}{pos
},
\param{int
}{mask
}}
2955 Set the current styling position to pos and the styling mask to mask.
2956 The styling mask can be used to protect some bits in each styling byte from modification.
2959 \membersection{wxStyledTextCtrl::StopRecord
}\label{wxstyledtextctrlstoprecord
}
2961 \func{void
}{StopRecord
}{\void}
2963 Stop notifying the container of all key presses and commands.
2966 \membersection{wxStyledTextCtrl::StutteredPageDown
}\label{wxstyledtextctrlstutteredpagedown
}
2968 \func{void
}{StutteredPageDown
}{\void}
2970 Move caret to bottom of page, or one page down if already at bottom of page.
2973 \membersection{wxStyledTextCtrl::StutteredPageDownExtend
}\label{wxstyledtextctrlstutteredpagedownextend
}
2975 \func{void
}{StutteredPageDownExtend
}{\void}
2977 Move caret to bottom of page, or one page down if already at bottom of page, extending selection to new caret position.
2980 \membersection{wxStyledTextCtrl::StutteredPageUp
}\label{wxstyledtextctrlstutteredpageup
}
2982 \func{void
}{StutteredPageUp
}{\void}
2984 Move caret to top of page, or one page up if already at top of page.
2987 \membersection{wxStyledTextCtrl::StutteredPageUpExtend
}\label{wxstyledtextctrlstutteredpageupextend
}
2989 \func{void
}{StutteredPageUpExtend
}{\void}
2991 Move caret to top of page, or one page up if already at top of page, extending selection to new caret position.
2994 \membersection{wxStyledTextCtrl::StyleClearAll
}\label{wxstyledtextctrlstyleclearall
}
2996 \func{void
}{StyleClearAll
}{\void}
2998 Clear all the styles and make equivalent to the global default style.
3001 \membersection{wxStyledTextCtrl::StyleResetDefault
}\label{wxstyledtextctrlstyleresetdefault
}
3003 \func{void
}{StyleResetDefault
}{\void}
3005 Reset the default style to its state at startup
3008 \membersection{wxStyledTextCtrl::StyleSetBackground
}\label{wxstyledtextctrlstylesetbackground
}
3010 \func{void
}{StyleSetBackground
}{\param{int
}{style
},
\param{const wxColour\&
}{back
}}
3012 Set the background colour of a style.
3015 \membersection{wxStyledTextCtrl::StyleSetBold
}\label{wxstyledtextctrlstylesetbold
}
3017 \func{void
}{StyleSetBold
}{\param{int
}{style
},
\param{bool
}{bold
}}
3019 Set a style to be bold or not.
3022 \membersection{wxStyledTextCtrl::StyleSetCase
}\label{wxstyledtextctrlstylesetcase
}
3024 \func{void
}{StyleSetCase
}{\param{int
}{style
},
\param{int
}{caseForce
}}
3026 Set a style to be mixed case, or to force upper or lower case.
3029 \membersection{wxStyledTextCtrl::StyleSetChangeable
}\label{wxstyledtextctrlstylesetchangeable
}
3031 \func{void
}{StyleSetChangeable
}{\param{int
}{style
},
\param{bool
}{changeable
}}
3033 Set a style to be changeable or not (read only).
3034 Experimental feature, currently buggy.
3037 \membersection{wxStyledTextCtrl::StyleSetCharacterSet
}\label{wxstyledtextctrlstylesetcharacterset
}
3039 \func{void
}{StyleSetCharacterSet
}{\param{int
}{style
},
\param{int
}{characterSet
}}
3041 Set the character set of the font in a style. Converts the Scintilla
3042 character set values to a wxFontEncoding.
3045 \membersection{wxStyledTextCtrl::StyleSetEOLFilled
}\label{wxstyledtextctrlstyleseteolfilled
}
3047 \func{void
}{StyleSetEOLFilled
}{\param{int
}{style
},
\param{bool
}{filled
}}
3049 Set a style to have its end of line filled or not.
3052 \membersection{wxStyledTextCtrl::StyleSetFaceName
}\label{wxstyledtextctrlstylesetfacename
}
3054 \func{void
}{StyleSetFaceName
}{\param{int
}{style
},
\param{const wxString\&
}{fontName
}}
3056 Set the font of a style.
3059 \membersection{wxStyledTextCtrl::StyleSetFont
}\label{wxstyledtextctrlstylesetfont
}
3061 \func{void
}{StyleSetFont
}{\param{int
}{styleNum
},
\param{wxFont\&
}{font
}}
3063 Set style size, face, bold, italic, and underline attributes from
3064 a wxFont's attributes.
3067 \membersection{wxStyledTextCtrl::StyleSetFontAttr
}\label{wxstyledtextctrlstylesetfontattr
}
3069 \func{void
}{StyleSetFontAttr
}{\param{int
}{styleNum
},
\param{int
}{size
},
\param{const wxString\&
}{faceName
},
\param{bool
}{bold
},
\param{bool
}{italic
},
\param{bool
}{underline
},
\param{wxFontEncoding
}{encoding = wxFONTENCODING
\_DEFAULT}}
3071 Set all font style attributes at once.
3074 \membersection{wxStyledTextCtrl::StyleSetFontEncoding
}\label{wxstyledtextctrlstylesetfontencoding
}
3076 \func{void
}{StyleSetFontEncoding
}{\param{int
}{style
},
\param{wxFontEncoding
}{encoding
}}
3078 Set the font encoding to be used by a style.
3081 \membersection{wxStyledTextCtrl::StyleSetForeground
}\label{wxstyledtextctrlstylesetforeground
}
3083 \func{void
}{StyleSetForeground
}{\param{int
}{style
},
\param{const wxColour\&
}{fore
}}
3085 Set the foreground colour of a style.
3088 \membersection{wxStyledTextCtrl::StyleSetHotSpot
}\label{wxstyledtextctrlstylesethotspot
}
3090 \func{void
}{StyleSetHotSpot
}{\param{int
}{style
},
\param{bool
}{hotspot
}}
3092 Set a style to be a hotspot or not.
3095 \membersection{wxStyledTextCtrl::StyleSetItalic
}\label{wxstyledtextctrlstylesetitalic
}
3097 \func{void
}{StyleSetItalic
}{\param{int
}{style
},
\param{bool
}{italic
}}
3099 Set a style to be italic or not.
3102 \membersection{wxStyledTextCtrl::StyleSetSize
}\label{wxstyledtextctrlstylesetsize
}
3104 \func{void
}{StyleSetSize
}{\param{int
}{style
},
\param{int
}{sizePoints
}}
3106 Set the size of characters of a style.
3109 \membersection{wxStyledTextCtrl::StyleSetSpec
}\label{wxstyledtextctrlstylesetspec
}
3111 \func{void
}{StyleSetSpec
}{\param{int
}{styleNum
},
\param{const wxString\&
}{spec
}}
3113 Extract style settings from a spec-string which is composed of one or
3114 more of the following comma separated elements:
3116 italic turns on italics
3117 fore:
[name or \#RRGGBB
] sets the foreground colour
3118 back:
[name or \#RRGGBB
] sets the background colour
3119 face:
[facename
] sets the font face name to use
3120 size:
[num
] sets the font size in points
3121 eol turns on eol filling
3122 underline turns on underlining
3125 \membersection{wxStyledTextCtrl::StyleSetUnderline
}\label{wxstyledtextctrlstylesetunderline
}
3127 \func{void
}{StyleSetUnderline
}{\param{int
}{style
},
\param{bool
}{underline
}}
3129 Set a style to be underlined or not.
3132 \membersection{wxStyledTextCtrl::StyleSetVisible
}\label{wxstyledtextctrlstylesetvisible
}
3134 \func{void
}{StyleSetVisible
}{\param{int
}{style
},
\param{bool
}{visible
}}
3136 Set a style to be visible or not.
3139 \membersection{wxStyledTextCtrl::Tab
}\label{wxstyledtextctrltab
}
3141 \func{void
}{Tab
}{\void}
3143 If selection is empty or all on one line replace the selection with a tab character.
3144 If more than one line selected, indent the lines.
3147 \membersection{wxStyledTextCtrl::TargetFromSelection
}\label{wxstyledtextctrltargetfromselection
}
3149 \func{void
}{TargetFromSelection
}{\void}
3151 Make the target range start and end be the same as the selection range start and end.
3154 \membersection{wxStyledTextCtrl::TextHeight
}\label{wxstyledtextctrltextheight
}
3156 \func{int
}{TextHeight
}{\param{int
}{line
}}
3158 Retrieve the height of a particular line of text in pixels.
3161 \membersection{wxStyledTextCtrl::TextWidth
}\label{wxstyledtextctrltextwidth
}
3163 \func{int
}{TextWidth
}{\param{int
}{style
},
\param{const wxString\&
}{text
}}
3165 Measure the pixel width of some text in a particular style.
3166 NUL terminated text argument.
3167 Does not handle tab or control characters.
3170 \membersection{wxStyledTextCtrl::ToggleCaretSticky
}\label{wxstyledtextctrltogglecaretsticky
}
3172 \func{void
}{ToggleCaretSticky
}{\void}
3174 Switch between sticky and non-sticky: meant to be bound to a key.
3177 \membersection{wxStyledTextCtrl::ToggleFold
}\label{wxstyledtextctrltogglefold
}
3179 \func{void
}{ToggleFold
}{\param{int
}{line
}}
3181 Switch a header line between expanded and contracted.
3184 \membersection{wxStyledTextCtrl::Undo
}\label{wxstyledtextctrlundo
}
3186 \func{void
}{Undo
}{\void}
3188 Undo one action in the undo history.
3191 \membersection{wxStyledTextCtrl::UpperCase
}\label{wxstyledtextctrluppercase
}
3193 \func{void
}{UpperCase
}{\void}
3195 Transform the selection to upper case.
3198 \membersection{wxStyledTextCtrl::UsePopUp
}\label{wxstyledtextctrlusepopup
}
3200 \func{void
}{UsePopUp
}{\param{bool
}{allowPopUp
}}
3202 Set whether a pop up menu is displayed automatically when the user presses
3203 the wrong mouse button.
3206 \membersection{wxStyledTextCtrl::UserListShow
}\label{wxstyledtextctrluserlistshow
}
3208 \func{void
}{UserListShow
}{\param{int
}{listType
},
\param{const wxString\&
}{itemList
}}
3210 Display a list of strings and send notification when user chooses one.
3213 \membersection{wxStyledTextCtrl::VCHome
}\label{wxstyledtextctrlvchome
}
3215 \func{void
}{VCHome
}{\void}
3217 Move caret to before first visible character on line.
3218 If already there move to first character on line.
3221 \membersection{wxStyledTextCtrl::VCHomeExtend
}\label{wxstyledtextctrlvchomeextend
}
3223 \func{void
}{VCHomeExtend
}{\void}
3225 Like VCHome but extending selection to new caret position.
3228 \membersection{wxStyledTextCtrl::VCHomeRectExtend
}\label{wxstyledtextctrlvchomerectextend
}
3230 \func{void
}{VCHomeRectExtend
}{\void}
3232 Move caret to before first visible character on line.
3233 If already there move to first character on line.
3234 In either case, extend rectangular selection to new caret position.
3237 \membersection{wxStyledTextCtrl::VCHomeWrap
}\label{wxstyledtextctrlvchomewrap
}
3239 \func{void
}{VCHomeWrap
}{\void}
3242 \membersection{wxStyledTextCtrl::VCHomeWrapExtend
}\label{wxstyledtextctrlvchomewrapextend
}
3244 \func{void
}{VCHomeWrapExtend
}{\void}
3247 \membersection{wxStyledTextCtrl::VisibleFromDocLine
}\label{wxstyledtextctrlvisiblefromdocline
}
3249 \func{int
}{VisibleFromDocLine
}{\param{int
}{line
}}
3251 Find the display line of a
document line taking hidden lines into account.
3254 \membersection{wxStyledTextCtrl::WordEndPosition
}\label{wxstyledtextctrlwordendposition
}
3256 \func{int
}{WordEndPosition
}{\param{int
}{pos
},
\param{bool
}{onlyWordCharacters
}}
3258 Get position of end of word.
3261 \membersection{wxStyledTextCtrl::WordLeft
}\label{wxstyledtextctrlwordleft
}
3263 \func{void
}{WordLeft
}{\void}
3265 Move caret left one word.
3268 \membersection{wxStyledTextCtrl::WordLeftEnd
}\label{wxstyledtextctrlwordleftend
}
3270 \func{void
}{WordLeftEnd
}{\void}
3272 Move caret left one word, position cursor at end of word.
3275 \membersection{wxStyledTextCtrl::WordLeftEndExtend
}\label{wxstyledtextctrlwordleftendextend
}
3277 \func{void
}{WordLeftEndExtend
}{\void}
3279 Move caret left one word, position cursor at end of word, extending selection to new caret position.
3282 \membersection{wxStyledTextCtrl::WordLeftExtend
}\label{wxstyledtextctrlwordleftextend
}
3284 \func{void
}{WordLeftExtend
}{\void}
3286 Move caret left one word extending selection to new caret position.
3289 \membersection{wxStyledTextCtrl::WordPartLeft
}\label{wxstyledtextctrlwordpartleft
}
3291 \func{void
}{WordPartLeft
}{\void}
3293 Move to the previous change in capitalisation.
3296 \membersection{wxStyledTextCtrl::WordPartLeftExtend
}\label{wxstyledtextctrlwordpartleftextend
}
3298 \func{void
}{WordPartLeftExtend
}{\void}
3300 Move to the previous change in capitalisation extending selection
3301 to new caret position.
3304 \membersection{wxStyledTextCtrl::WordPartRight
}\label{wxstyledtextctrlwordpartright
}
3306 \func{void
}{WordPartRight
}{\void}
3308 Move to the change next in capitalisation.
3311 \membersection{wxStyledTextCtrl::WordPartRightExtend
}\label{wxstyledtextctrlwordpartrightextend
}
3313 \func{void
}{WordPartRightExtend
}{\void}
3315 Move to the next change in capitalisation extending selection
3316 to new caret position.
3319 \membersection{wxStyledTextCtrl::WordRight
}\label{wxstyledtextctrlwordright
}
3321 \func{void
}{WordRight
}{\void}
3323 Move caret right one word.
3326 \membersection{wxStyledTextCtrl::WordRightEnd
}\label{wxstyledtextctrlwordrightend
}
3328 \func{void
}{WordRightEnd
}{\void}
3330 Move caret right one word, position cursor at end of word.
3333 \membersection{wxStyledTextCtrl::WordRightEndExtend
}\label{wxstyledtextctrlwordrightendextend
}
3335 \func{void
}{WordRightEndExtend
}{\void}
3337 Move caret right one word, position cursor at end of word, extending selection to new caret position.
3340 \membersection{wxStyledTextCtrl::WordRightExtend
}\label{wxstyledtextctrlwordrightextend
}
3342 \func{void
}{WordRightExtend
}{\void}
3344 Move caret right one word extending selection to new caret position.
3347 \membersection{wxStyledTextCtrl::WordStartPosition
}\label{wxstyledtextctrlwordstartposition
}
3349 \func{int
}{WordStartPosition
}{\param{int
}{pos
},
\param{bool
}{onlyWordCharacters
}}
3351 Get position of start of word.
3354 \membersection{wxStyledTextCtrl::WrapCount
}\label{wxstyledtextctrlwrapcount
}
3356 \func{int
}{WrapCount
}{\param{int
}{line
}}
3358 The number of display lines needed to wrap a
document line
3361 \membersection{wxStyledTextCtrl::ZoomIn
}\label{wxstyledtextctrlzoomin
}
3363 \func{void
}{ZoomIn
}{\void}
3365 Magnify the displayed text by increasing the sizes by
1 point.
3368 \membersection{wxStyledTextCtrl::ZoomOut
}\label{wxstyledtextctrlzoomout
}
3370 \func{void
}{ZoomOut
}{\void}
3372 Make the displayed text smaller by decreasing the sizes by
1 point.