Code::Blocks
SVN r11506
|
#include <wxscintilla.h>
Public Member Functions | |
wxScintilla (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxSCINameStr) | |
wxScintilla () | |
~wxScintilla () | |
bool | Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxSCINameStr) |
void | AddText (const wxString &text) |
Generated method declaration section {{{. More... | |
void | AddStyledText (const wxMemoryBuffer &data) |
Add array of cells to document. More... | |
void | InsertText (int pos, const wxString &text) |
Insert string at a position. More... | |
void | ChangeInsertion (int length, const wxString &text) |
Change the text that is being inserted in response to wxSCI_MOD_INSERTCHECK. More... | |
void | ClearAll () |
Delete all text in the document. More... | |
void | DeleteRange (int start, int lengthDelete) |
Delete a range of text in the document. More... | |
void | ClearDocumentStyle () |
Set all style bytes to 0, remove all folding information. More... | |
int | GetLength () const |
Returns the number of bytes in the document. More... | |
int | GetCharAt (int pos) const |
Returns the character byte at the position. More... | |
int | GetCurrentPos () const |
Returns the position of the caret. More... | |
int | GetAnchor () const |
Returns the position of the opposite end of the selection to the caret. More... | |
int | GetStyleAt (int pos) const |
Returns the style byte at the position. More... | |
void | Redo () |
Redoes the next action on the undo history. More... | |
void | SetUndoCollection (bool collectUndo) |
Choose between collecting actions into the undo history and discarding them. More... | |
void | SetChangeCollection (bool collectChange) |
Choose between collecting actions into the changes history and discarding them. More... | |
int | FindChangedLine (const int fromLine, const int toLine) const |
Find a changed line, if fromLine > toLine search is performed backwards. More... | |
void | SelectAll () |
Select all the text in the document. More... | |
void | SetSavePoint () |
Remember the current position in the undo history as the position at which the document was saved. More... | |
wxMemoryBuffer | GetStyledText (int startPos, int endPos) |
Retrieve a buffer of cells. More... | |
bool | CanRedo () const |
Are there any redoable actions in the undo history? More... | |
int | MarkerLineFromHandle (int markerHandle) |
Retrieve the line number at which a particular marker is located. More... | |
void | MarkerDeleteHandle (int markerHandle) |
Delete a marker. More... | |
bool | GetUndoCollection () const |
Is undo history being collected? More... | |
int | GetViewWhiteSpace () const |
Are white space characters currently visible? Returns one of wxSCI_WS_* constants. More... | |
void | SetViewWhiteSpace (int viewWS) |
Make white space characters invisible, always visible or visible outside indentation. More... | |
int | GetTabDrawMode () const |
Retrieve the current tab draw mode. More... | |
void | SetTabDrawMode (int tabDrawMode) |
Set how tabs are drawn when visible. More... | |
int | PositionFromPoint (wxPoint pt) const |
Find the position from a point within the window. More... | |
int | PositionFromPointClose (int x, int y) |
Find the position from a point within the window but return wxSCI_INVALID_POSITION if not close to text. More... | |
void | GotoLine (int line) |
Set caret to start of a line and ensure it is visible. More... | |
void | GotoPos (int caret) |
Set caret to a position and ensure it is visible. More... | |
void | SetAnchor (int anchor) |
Set the selection anchor to a position. More... | |
wxString | GetCurLine (int *linePos=NULL) |
Retrieve the text of the line containing the caret. More... | |
int | GetEndStyled () const |
Retrieve the position of the last correctly styled character. More... | |
void | ConvertEOLs (int eolMode) |
Convert all line endings in the document to one mode. More... | |
int | GetEOLMode () const |
Retrieve the current end of line mode - one of wxSCI_EOL_CRLF, wxSCI_EOL_CR, or wxSCI_EOL_LF. More... | |
void | SetEOLMode (int eolMode) |
Set the current end of line mode. More... | |
void | StartStyling (int start) |
Set the current styling position to start. More... | |
void | SetStyling (int length, int style) |
Change style from current styling position for length characters to a style and move the current styling position to after this newly styled segment. More... | |
bool | GetBufferedDraw () const |
Is drawing done first into a buffer or direct to the screen? More... | |
void | SetBufferedDraw (bool buffered) |
If drawing is buffered then each line of text is drawn into a bitmap buffer before drawing it to the screen to avoid flicker. More... | |
void | SetTabWidth (int tabWidth) |
Change the visible size of a tab to be a multiple of the width of a space character. More... | |
int | GetTabWidth () const |
Retrieve the visible size of a tab. More... | |
void | ClearTabStops (int line) |
Clear explicit tabstops on a line. More... | |
void | AddTabStop (int line, int x) |
Add an explicit tab stop for a line. More... | |
int | GetNextTabStop (int line, int x) |
Find the next explicit tab stop position on a line after a position. More... | |
void | SetCodePage (int codePage) |
Set the code page used to interpret the bytes of the document as characters. More... | |
int | GetIMEInteraction () const |
Is the IME displayed in a window or inline? More... | |
void | SetIMEInteraction (int imeInteraction) |
Choose to display the the IME in a winow or inline. More... | |
void | MarkerDefine (int markerNumber, int markerSymbol, const wxColour &foreground=wxNullColour, const wxColour &background=wxNullColour) |
Set the symbol used for a particular marker number, and optionally the fore and background colours. More... | |
void | MarkerSetForeground (int markerNumber, const wxColour &fore) |
Set the foreground colour used for a particular marker number. More... | |
void | MarkerSetBackground (int markerNumber, const wxColour &back) |
Set the background colour used for a particular marker number. More... | |
void | MarkerSetBackgroundSelected (int markerNumber, const wxColour &back) |
Set the background colour used for a particular marker number when its folding block is selected. More... | |
void | MarkerEnableHighlight (bool enabled) |
Enable/disable highlight for current folding bloc (smallest one that contains the caret) More... | |
int | MarkerAdd (int line, int markerNumber) |
Add a marker to a line, returning an ID which can be used to find or delete the marker. More... | |
void | MarkerDelete (int line, int markerNumber) |
Delete a marker from a line. More... | |
void | MarkerDeleteAll (int markerNumber) |
Delete all markers with a particular number from all lines. More... | |
int | MarkerGet (int line) |
Get a bit mask of all the markers set on a line. More... | |
int | MarkerNext (int lineStart, int markerMask) |
Find the next line at or after lineStart that includes a marker in mask. More... | |
int | MarkerPrevious (int lineStart, int markerMask) |
Find the previous line before lineStart that includes a marker in mask. More... | |
void | MarkerDefineBitmap (int markerNumber, const wxBitmap &bmp) |
Define a marker from a bitmap. More... | |
void | MarkerAddSet (int line, int markerSet) |
Add a set of markers to a line. More... | |
void | MarkerSetAlpha (int markerNumber, int alpha) |
Set the alpha used for a marker that is drawn in the text area, not the margin. More... | |
void | SetMarginType (int margin, int marginType) |
Set a margin to be either numeric or symbolic. More... | |
int | GetMarginType (int margin) const |
Retrieve the type of a margin. More... | |
void | SetMarginWidth (int margin, int pixelWidth) |
Set the width of a margin to a width expressed in pixels. More... | |
int | GetMarginWidth (int margin) const |
Retrieve the width of a margin in pixels. More... | |
void | SetMarginMask (int margin, int mask) |
Set a mask that determines which markers are displayed in a margin. More... | |
int | GetMarginMask (int margin) const |
Retrieve the marker mask of a margin. More... | |
void | SetMarginSensitive (int margin, bool sensitive) |
Make a margin sensitive or insensitive to mouse clicks. More... | |
bool | GetMarginSensitive (int margin) const |
Retrieve the mouse click sensitivity of a margin. More... | |
void | SetMarginCursor (int margin, int cursor) |
Set the cursor shown when the mouse is inside a margin. More... | |
int | GetMarginCursor (int margin) const |
Retrieve the cursor shown in a margin. More... | |
void | SetMarginBackground (int margin, const wxColour &back) |
Set the background colour of a margin. Only visible for wxSCI_MARGIN_COLOUR. More... | |
wxColour | GetMarginBackground (int margin) const |
Retrieve the background colour of a margin. More... | |
void | SetMarginCount (int margins) |
Allocate a non-standard number of margins. More... | |
int | GetMarginCount () const |
How many margins are there?. More... | |
void | StyleClearAll () |
Clear all the styles and make equivalent to the global default style. More... | |
void | StyleSetForeground (int style, const wxColour &fore) |
Set the foreground colour of a style. More... | |
void | StyleSetBackground (int style, const wxColour &back) |
Set the background colour of a style. More... | |
void | StyleSetBold (int style, bool bold) |
Set a style to be bold or not. More... | |
void | StyleSetItalic (int style, bool italic) |
Set a style to be italic or not. More... | |
void | StyleSetSize (int style, int sizePoints) |
Set the size of characters of a style. More... | |
void | StyleSetFaceName (int style, const wxString &fontName) |
Set the font of a style. More... | |
void | StyleSetEOLFilled (int style, bool eolFilled) |
Set a style to have its end of line filled or not. More... | |
void | StyleResetDefault () |
Reset the default style to its state at startup. More... | |
void | StyleSetUnderline (int style, bool underline) |
Set a style to be underlined or not. More... | |
wxColour | StyleGetForeground (int style) const |
Get the foreground colour of a style. More... | |
wxColour | StyleGetBackground (int style) const |
Get the background colour of a style. More... | |
bool | StyleGetBold (int style) const |
Get is a style bold or not. More... | |
bool | StyleGetItalic (int style) const |
Get is a style italic or not. More... | |
int | StyleGetSize (int style) const |
Get the size of characters of a style. More... | |
wxString | StyleGetFaceName (int style) |
Get the font facename of a style. More... | |
bool | StyleGetEOLFilled (int style) const |
Get is a style to have its end of line filled or not. More... | |
bool | StyleGetUnderline (int style) const |
Get is a style underlined or not. More... | |
int | StyleGetCase (int style) const |
Get is a style mixed case, or to force upper or lower case. More... | |
int | StyleGetCharacterSet (int style) const |
Get the character get of the font in a style. More... | |
bool | StyleGetVisible (int style) const |
Get is a style visible or not. More... | |
bool | StyleGetChangeable (int style) const |
Get is a style changeable or not (read only). More... | |
bool | StyleGetHotSpot (int style) const |
Get is a style a hotspot or not. More... | |
void | StyleSetCase (int style, int caseVisible) |
Set a style to be mixed case, or to force upper or lower case. More... | |
void | StyleSetSizeFractional (int style, int sizeHundredthPoints) |
Set the size of characters of a style. Size is in points multiplied by 100. More... | |
int | StyleGetSizeFractional (int style) const |
Get the size of characters of a style in points multiplied by 100. More... | |
void | StyleSetWeight (int style, int weight) |
Set the weight of characters of a style. More... | |
int | StyleGetWeight (int style) const |
Get the weight of characters of a style. More... | |
void | StyleSetCharacterSet (int style, int characterSet) |
Set the character set of the font in a style. More... | |
void | StyleSetHotSpot (int style, bool hotspot) |
Set a style to be a hotspot or not. More... | |
void | SetSelForeground (bool useSetting, const wxColour &fore) |
Set the foreground colour of the main and additional selections and whether to use this setting. More... | |
void | SetSelBackground (bool useSetting, const wxColour &back) |
Set the background colour of the main and additional selections and whether to use this setting. More... | |
int | GetSelAlpha () const |
Get the alpha of the selection. More... | |
void | SetSelAlpha (int alpha) |
Set the alpha of the selection. More... | |
bool | GetSelEOLFilled () const |
Is the selection end of line filled? More... | |
void | SetSelEOLFilled (bool filled) |
Set the selection to have its end of line filled or not. More... | |
void | SetCaretForeground (const wxColour &fore) |
Set the foreground colour of the caret. More... | |
void | CmdKeyAssign (int key, int modifiers, int cmd) |
When key+modifier combination keyDefinition is pressed perform sciCommand. More... | |
void | CmdKeyClear (int key, int modifiers) |
When key+modifier combination keyDefinition is pressed do nothing. More... | |
void | CmdKeyClearAll () |
Drop all key mappings. More... | |
void | SetStyleBytes (int length, char *styleBytes) |
Set the styles for a segment of the document. More... | |
void | StyleSetVisible (int style, bool visible) |
Set a style to be visible or not. More... | |
int | GetCaretPeriod () const |
Get the time in milliseconds that the caret is on and off. More... | |
void | SetCaretPeriod (int periodMilliseconds) |
Get the time in milliseconds that the caret is on and off. 0 = steady on. More... | |
void | SetWordChars (const wxString &characters) |
Set the set of characters making up words for when moving or selecting by word. More... | |
wxString | GetWordChars () const |
Get the set of characters making up words for when moving or selecting by word. More... | |
void | BeginUndoAction () |
Start a sequence of actions that is undone and redone as a unit. More... | |
void | EndUndoAction () |
End a sequence of actions that is undone and redone as a unit. More... | |
void | IndicatorSetStyle (int indicator, int indicatorStyle) |
Set an indicator to plain, squiggle or TT. More... | |
int | IndicatorGetStyle (int indicator) const |
Retrieve the style of an indicator. More... | |
void | IndicatorSetForeground (int indicator, const wxColour &fore) |
Set the foreground colour of an indicator. More... | |
wxColour | IndicatorGetForeground (int indicator) const |
Retrieve the foreground colour of an indicator. More... | |
void | IndicatorSetUnder (int indicator, bool under) |
Set an indicator to draw under text or over(default). More... | |
bool | IndicatorGetUnder (int indicator) const |
Retrieve whether indicator drawn under or over text. More... | |
void | IndicatorSetHoverStyle (int indicator, int indicatorStyle) |
Set a hover indicator to plain, squiggle or TT. More... | |
int | IndicatorGetHoverStyle (int indicator) const |
Retrieve the hover style of an indicator. More... | |
void | IndicatorSetHoverForeground (int indicator, const wxColour &fore) |
Set the foreground hover colour of an indicator. More... | |
wxColour | IndicatorGetHoverForeground (int indicator) const |
Retrieve the foreground hover colour of an indicator. More... | |
void | IndicatorSetFlags (int indicator, int flags) |
Set the attributes of an indicator. More... | |
int | IndicatorGetFlags (int indicator) const |
Retrieve the attributes of an indicator. More... | |
void | SetWhitespaceForeground (bool useSetting, const wxColour &fore) |
Set the foreground colour of all whitespace and whether to use this setting. More... | |
void | SetWhitespaceBackground (bool useSetting, const wxColour &back) |
Set the background colour of all whitespace and whether to use this setting. More... | |
void | SetWhitespaceSize (int size) |
Set the size of the dots used to mark space characters. More... | |
int | GetWhitespaceSize () const |
Get the size of the dots used to mark space characters. More... | |
wxDEPRECATED_MSG ("This method uses a function deprecated in the Scintilla library.") void SetStyleBits(int bits) | |
Divide each styling byte into lexical class bits (default: 5) and indicator bits (default: 3). More... | |
wxDEPRECATED_MSG ("This method uses a function deprecated in the Scintilla library.") int GetStyleBits() const | |
Retrieve number of bits in style bytes used to hold the lexical state. More... | |
void | SetLineState (int line, int state) |
Used to hold extra styling information for each line. More... | |
int | GetLineState (int line) const |
Retrieve the extra styling information for a line. More... | |
int | GetMaxLineState () const |
Retrieve the last line number that has line state. More... | |
bool | GetCaretLineVisible () const |
Is the background of the line containing the caret in a different colour? More... | |
void | SetCaretLineVisible (bool show) |
Display the background of the line containing the caret in a different colour. More... | |
wxColour | GetCaretLineBackground () const |
Get the colour of the background of the line containing the caret. More... | |
void | SetCaretLineBackground (const wxColour &back) |
Set the colour of the background of the line containing the caret. More... | |
void | StyleSetChangeable (int style, bool changeable) |
Set a style to be changeable or not (read only). More... | |
void | AutoCompShow (int lengthEntered, const wxString &itemList) |
Display a auto-completion list. More... | |
void | AutoCompCancel () |
Remove the auto-completion list from the screen. More... | |
bool | AutoCompActive () |
Is there an auto-completion list visible? More... | |
int | AutoCompPosStart () |
Retrieve the position of the caret when the auto-completion list was displayed. More... | |
void | AutoCompComplete () |
User has selected an item so remove the list and insert the selection. More... | |
void | AutoCompStops (const wxString &characterSet) |
Define a set of character that when typed cancel the auto-completion list. More... | |
void | AutoCompSetSeparator (int separatorCharacter) |
Change the separator character in the string setting up an auto-completion list. More... | |
int | AutoCompGetSeparator () const |
Retrieve the auto-completion list separator character. More... | |
void | AutoCompSelect (const wxString &select) |
Select the item in the auto-completion list that starts with a string. More... | |
void | AutoCompSetCancelAtStart (bool cancel) |
Should the auto-completion list be cancelled if the user backspaces to a position before where the box was created. More... | |
bool | AutoCompGetCancelAtStart () const |
Retrieve whether auto-completion cancelled by backspacing before start. More... | |
void | AutoCompSetFillUps (const wxString &characterSet) |
Define a set of characters that when typed will cause the autocompletion to choose the selected item. More... | |
void | AutoCompSetChooseSingle (bool chooseSingle) |
Should a single item auto-completion list automatically choose the item. More... | |
bool | AutoCompGetChooseSingle () const |
Retrieve whether a single item auto-completion list automatically choose the item. More... | |
void | AutoCompSetIgnoreCase (bool ignoreCase) |
Set whether case is significant when performing auto-completion searches. More... | |
bool | AutoCompGetIgnoreCase () const |
Retrieve state of ignore case flag. More... | |
void | UserListShow (int listType, const wxString &itemList) |
Display a list of strings and send notification when user chooses one. More... | |
void | AutoCompSetAutoHide (bool autoHide) |
Set whether or not autocompletion is hidden automatically when nothing matches. More... | |
bool | AutoCompGetAutoHide () const |
Retrieve whether or not autocompletion is hidden automatically when nothing matches. More... | |
void | AutoCompSetDropRestOfWord (bool dropRestOfWord) |
Set whether or not autocompletion deletes any word characters after the inserted text upon completion. More... | |
bool | AutoCompGetDropRestOfWord () const |
Retrieve whether or not autocompletion deletes any word characters after the inserted text upon completion. More... | |
void | RegisterImage (int type, const wxBitmap &bmp) |
Register an image for use in autocompletion lists. More... | |
void | ClearRegisteredImages () |
Clear all the registered images. More... | |
int | AutoCompGetTypeSeparator () const |
Retrieve the auto-completion list type-separator character. More... | |
void | AutoCompSetTypeSeparator (int separatorCharacter) |
Change the type-separator character in the string setting up an auto-completion list. More... | |
void | AutoCompSetMaxWidth (int characterCount) |
Set the maximum width, in characters, of auto-completion and user lists. More... | |
int | AutoCompGetMaxWidth () const |
Get the maximum width, in characters, of auto-completion and user lists. More... | |
void | AutoCompSetMaxHeight (int rowCount) |
Set the maximum height, in rows, of auto-completion and user lists. More... | |
int | AutoCompGetMaxHeight () const |
Set the maximum height, in rows, of auto-completion and user lists. More... | |
void | SetIndent (int indentSize) |
Set the number of spaces used for one level of indentation. More... | |
int | GetIndent () const |
Retrieve indentation size. More... | |
void | SetUseTabs (bool useTabs) |
Indentation will only use space characters if useTabs is false, otherwise it will use a combination of tabs and spaces. More... | |
bool | GetUseTabs () const |
Retrieve whether tabs will be used in indentation. More... | |
void | SetLineIndentation (int line, int indentation) |
Change the indentation of a line to a number of columns. More... | |
int | GetLineIndentation (int line) const |
Retrieve the number of columns that a line is indented. More... | |
int | GetLineIndentPosition (int line) const |
Retrieve the position before the first non indentation character on a line. More... | |
int | GetColumn (int pos) const |
Retrieve the column number of a position, taking tab width into account. More... | |
int | CountCharacters (int start, int end) |
Count characters between two positions. More... | |
void | SetUseHorizontalScrollBar (bool visible) |
Show or hide the horizontal scroll bar. More... | |
bool | GetUseHorizontalScrollBar () const |
Is the horizontal scroll bar visible? More... | |
void | SetIndentationGuides (int indentView) |
Show or hide indentation guides. More... | |
int | GetIndentationGuides () const |
Are the indentation guides visible? More... | |
void | SetHighlightGuide (int column) |
Set the highlighted indentation guide column. More... | |
int | GetHighlightGuide () const |
Get the highlighted indentation guide column. More... | |
int | GetLineEndPosition (int line) const |
Get the position after the last visible characters on a line. More... | |
int | GetCodePage () const |
Get the code page used to interpret the bytes of the document as characters. More... | |
wxColour | GetCaretForeground () const |
Get the foreground colour of the caret. More... | |
bool | GetReadOnly () const |
In read-only mode? More... | |
void | SetCurrentPos (int caret) |
Sets the position of the caret. More... | |
void | SetSelectionStart (int anchor) |
Sets the position that starts the selection - this becomes the anchor. More... | |
int | GetSelectionStart () const |
Returns the position at the start of the selection. More... | |
void | SetSelectionEnd (int caret) |
Sets the position that ends the selection - this becomes the caret. More... | |
int | GetSelectionEnd () const |
Returns the position at the end of the selection. More... | |
void | SetEmptySelection (int caret) |
Set caret to a position, while removing any existing selection. More... | |
void | SetPrintMagnification (int magnification) |
Sets the print magnification added to the point size of each style for printing. More... | |
int | GetPrintMagnification () const |
Returns the print magnification. More... | |
void | SetPrintColourMode (int mode) |
Modify colours when printing for clearer printed text. More... | |
int | GetPrintColourMode () const |
Returns the print colour mode. More... | |
int | FindText (int minPos, int maxPos, const wxString &text, int flags=0, int *findEnd=NULL) |
Find some text in the document. More... | |
int | FormatRange (bool doDraw, int startPos, int endPos, wxDC *draw, wxDC *target, wxRect renderRect, wxRect pageRect) |
On Windows, will draw the document into a display context such as a printer. More... | |
int | GetFirstVisibleLine () const |
Retrieve the display line at the top of the display. More... | |
wxString | GetLine (int line) const |
Retrieve the contents of a line. More... | |
int | GetLineCount () const |
Returns the number of lines in the document. There is always at least one. More... | |
void | SetMarginLeft (int pixelWidth) |
Sets the size in pixels of the left margin. More... | |
int | GetMarginLeft () const |
Returns the size in pixels of the left margin. More... | |
void | SetMarginRight (int pixelWidth) |
Sets the size in pixels of the right margin. More... | |
int | GetMarginRight () const |
Returns the size in pixels of the right margin. More... | |
bool | GetModify () const |
Is the document different from when it was last saved? More... | |
wxString | GetSelectedText () |
Retrieve the selected text. More... | |
wxString | GetTextRange (int startPos, int endPos) |
Retrieve a range of text. More... | |
void | HideSelection (bool hide) |
Draw the selection in normal style or with selection highlighted. More... | |
wxPoint | PointFromPosition (int pos) |
Retrieve the point in the window where a position is displayed. More... | |
int | LineFromPosition (int pos) const |
Retrieve the line containing a position. More... | |
int | PositionFromLine (int line) const |
Retrieve the position at the start of a line. More... | |
void | LineScroll (int columns, int lines) |
Scroll horizontally and vertically. More... | |
void | EnsureCaretVisible () |
Ensure the caret is visible. More... | |
void | ScrollRange (int secondary, int primary) |
Scroll the argument positions and the range between them into view giving priority to the primary position then the secondary position. More... | |
void | ReplaceSelection (const wxString &text) |
Replace the selected text with the argument text. More... | |
void | SetReadOnly (bool readOnly) |
Set to read only or read write. More... | |
bool | CanPaste () const |
Will a paste succeed? More... | |
bool | CanUndo () const |
Are there any undoable actions in the undo history? More... | |
void | EmptyUndoBuffer (bool collectChangeHistory=false) |
Delete the undo history. More... | |
void | Undo () |
Undo one action in the undo history. More... | |
void | Cut () |
Cut the selection to the clipboard. More... | |
void | Copy () |
Copy the selection to the clipboard. More... | |
void | Paste () |
Paste the contents of the clipboard into the document replacing the selection. More... | |
void | Clear () |
Clear the selection. More... | |
void | SetText (const wxString &text) |
Replace the contents of the document with the argument text. More... | |
wxString | GetText () const |
Retrieve all the text in the document. More... | |
int | GetTextLength () const |
Retrieve the number of characters in the document. More... | |
void * | GetDirectFunction () const |
Retrieve a pointer to a function that processes messages for this Scintilla. More... | |
void * | GetDirectPointer () const |
Retrieve a pointer value to use as the first argument when calling the function returned by GetDirectFunction. More... | |
void | SetOvertype (bool overType) |
Set to overtype (true) or insert mode. More... | |
bool | GetOvertype () const |
Returns true if overtype mode is active otherwise false is returned. More... | |
void | SetCaretWidth (int pixelWidth) |
Set the width of the insert mode caret. More... | |
int | GetCaretWidth () const |
Returns the width of the insert mode caret. More... | |
void | SetTargetStart (int start) |
Sets the position that starts the target which is used for updating the document without affecting the scroll position. More... | |
int | GetTargetStart () const |
Get the position that starts the target. More... | |
void | SetTargetEnd (int end) |
Sets the position that ends the target which is used for updating the document without affecting the scroll position. More... | |
int | GetTargetEnd () const |
Get the position that ends the target. More... | |
void | SetTargetRange (int start, int end) |
Sets both the start and end of the target in one call. More... | |
wxString | GetTargetText () const |
Retrieve the text in the target. More... | |
void | TargetFromSelection () |
Make the target range start and end be the same as the selection range start and end. More... | |
void | TargetWholeDocument () |
Sets the target to the whole document. More... | |
int | ReplaceTarget (const wxString &text) |
Replace the target text with the argument text. More... | |
int | ReplaceTargetRE (const wxString &text) |
Replace the target text with the argument text after \d processing. More... | |
int | SearchInTarget (const wxString &text) |
Search for a counted string in the target and set the target to the found range. More... | |
void | SetSearchFlags (int searchFlags) |
Set the search flags used by SearchInTarget. More... | |
int | GetSearchFlags () const |
Get the search flags used by SearchInTarget. More... | |
void | CallTipShow (int pos, const wxString &definition) |
Show a call tip containing a definition near position pos. More... | |
void | CallTipCancel () |
Remove the call tip from the screen. More... | |
bool | CallTipActive () |
Is there an active call tip? More... | |
int | CallTipPosAtStart () |
Retrieve the position where the caret was before displaying the call tip. More... | |
void | CallTipSetPosAtStart (int posStart) |
Set the start position in order to change when backspacing removes the calltip. More... | |
void | CallTipSetHighlight (int highlightStart, int highlightEnd) |
Highlight a segment of the definition. More... | |
void | CallTipSetBackground (const wxColour &back) |
Set the background colour for the call tip. More... | |
void | CallTipSetForeground (const wxColour &fore) |
Set the foreground colour for the call tip. More... | |
void | CallTipSetForegroundHighlight (const wxColour &fore) |
Set the foreground colour for the highlighted part of the call tip. More... | |
void | CallTipUseStyle (int tabSize) |
Enable use of wxSCI_STYLE_CALLTIP and set call tip tab size in pixels. More... | |
void | CallTipSetPosition (bool above) |
Set position of calltip, above or below text. More... | |
int | VisibleFromDocLine (int docLine) |
Find the display line of a document line taking hidden lines into account. More... | |
int | DocLineFromVisible (int displayLine) |
Find the document line of a display line taking hidden lines into account. More... | |
int | WrapCount (int docLine) |
The number of display lines needed to wrap a document line. More... | |
void | SetFoldLevel (int line, int level) |
Set the fold level of a line. More... | |
int | GetFoldLevel (int line) const |
Retrieve the fold level of a line. More... | |
int | GetLastChild (int line, int level) const |
Find the last child line of a header line. More... | |
int | GetFoldParent (int line) const |
Find the parent line of a child line. More... | |
void | ShowLines (int lineStart, int lineEnd) |
Make a range of lines visible. More... | |
void | HideLines (int lineStart, int lineEnd) |
Make a range of lines invisible. More... | |
bool | GetLineVisible (int line) const |
Is a line visible? More... | |
bool | GetAllLinesVisible () const |
Are all lines visible? More... | |
void | SetFoldExpanded (int line, bool expanded) |
Show the children of a header line. More... | |
bool | GetFoldExpanded (int line) const |
Is a header line expanded? More... | |
void | ToggleFold (int line) |
Switch a header line between expanded and contracted. More... | |
void | ToggleFoldShowText (int line, const wxString &text) |
Switch a header line between expanded and contracted and show some text after the line. More... | |
void | FoldDisplayTextSetStyle (int style) |
Set the style of fold display text. More... | |
void | FoldLine (int line, int action) |
Expand or contract a fold header. More... | |
void | FoldChildren (int line, int action) |
Expand or contract a fold header and its children. More... | |
void | ExpandChildren (int line, int level) |
Expand a fold header and all children. Use the level argument instead of the line's current level. More... | |
void | FoldAll (int action) |
Expand or contract all fold headers. More... | |
void | EnsureVisible (int line) |
Ensure a particular line is visible by expanding any header line hiding it. More... | |
void | SetAutomaticFold (int automaticFold) |
Set automatic folding behaviours. More... | |
int | GetAutomaticFold () const |
Get automatic folding behaviours. More... | |
void | SetFoldFlags (int flags) |
Set some style options for folding. More... | |
void | EnsureVisibleEnforcePolicy (int line) |
Ensure a particular line is visible by expanding any header line hiding it. More... | |
void | SetTabIndents (bool tabIndents) |
Sets whether a tab pressed when caret is within indentation indents. More... | |
bool | GetTabIndents () const |
Does a tab pressed when caret is within indentation indent? More... | |
void | SetBackSpaceUnIndents (bool bsUnIndents) |
Sets whether a backspace pressed when caret is within indentation unindents. More... | |
bool | GetBackSpaceUnIndents () const |
Does a backspace pressed when caret is within indentation unindent? More... | |
void | SetMouseDwellTime (int periodMilliseconds) |
Sets the time the mouse must sit still to generate a mouse dwell event. More... | |
int | GetMouseDwellTime () const |
Retrieve the time the mouse must sit still to generate a mouse dwell event. More... | |
int | WordStartPosition (int pos, bool onlyWordCharacters) |
Get position of start of word. More... | |
int | WordEndPosition (int pos, bool onlyWordCharacters) |
Get position of end of word. More... | |
bool | IsRangeWord (int start, int end) |
Is the range start..end considered a word? More... | |
void | SetIdleStyling (int idleStyling) |
Sets limits to idle styling. More... | |
int | GetIdleStyling () const |
Retrieve the limits to idle styling. More... | |
void | SetWrapMode (int wrapMode) |
Sets whether text is word wrapped. More... | |
int | GetWrapMode () const |
Retrieve whether text is word wrapped. More... | |
void | SetWrapVisualFlags (int wrapVisualFlags) |
Set the display mode of visual flags for wrapped lines. More... | |
int | GetWrapVisualFlags () const |
Retrive the display mode of visual flags for wrapped lines. More... | |
void | SetWrapVisualFlagsLocation (int wrapVisualFlagsLocation) |
Set the location of visual flags for wrapped lines. More... | |
int | GetWrapVisualFlagsLocation () const |
Retrive the location of visual flags for wrapped lines. More... | |
void | SetWrapStartIndent (int indent) |
Set the start indent for wrapped lines. More... | |
int | GetWrapStartIndent () const |
Retrive the start indent for wrapped lines. More... | |
void | SetWrapIndentMode (int wrapIndentMode) |
Sets how wrapped sublines are placed. Default is wxSCI_WRAPINDENT_FIXED. More... | |
int | GetWrapIndentMode () const |
Retrieve how wrapped sublines are placed. Default is wxSCI_WRAPINDENT_FIXED. More... | |
void | SetLayoutCache (int cacheMode) |
Sets the degree of caching of layout information. More... | |
int | GetLayoutCache () const |
Retrieve the degree of caching of layout information. More... | |
void | SetScrollWidth (int pixelWidth) |
Sets the document width assumed for scrolling. More... | |
int | GetScrollWidth () const |
Retrieve the document width assumed for scrolling. More... | |
void | SetScrollWidthTracking (bool tracking) |
Sets whether the maximum width line displayed is used to set scroll width. More... | |
bool | GetScrollWidthTracking () const |
Retrieve whether the scroll width tracks wide lines. More... | |
int | TextWidth (int style, const wxString &text) |
Measure the pixel width of some text in a particular style. More... | |
void | SetEndAtLastLine (bool endAtLastLine) |
Sets the scroll range so that maximum scroll position has the last line at the bottom of the view (default). More... | |
bool | GetEndAtLastLine () const |
Retrieve whether the maximum scroll position has the last line at the bottom of the view. More... | |
int | TextHeight (int line) |
Retrieve the height of a particular line of text in pixels. More... | |
void | SetUseVerticalScrollBar (bool visible) |
Show or hide the vertical scroll bar. More... | |
bool | GetUseVerticalScrollBar () const |
Is the vertical scroll bar visible? More... | |
void | AppendText (const wxString &text) |
Append a string to the end of the document without changing the selection. More... | |
bool | GetTwoPhaseDraw () const |
Is drawing done in two phases with backgrounds drawn before foregrounds? More... | |
void | SetTwoPhaseDraw (bool twoPhase) |
In twoPhaseDraw mode, drawing is performed in two phases, first the background and then the foreground. More... | |
int | GetPhasesDraw () const |
How many phases is drawing done in? More... | |
void | SetPhasesDraw (int phases) |
In one phase draw, text is drawn in a series of rectangular blocks with no overlap. More... | |
void | SetFontQuality (int fontQuality) |
Choose the quality level for text. More... | |
int | GetFontQuality () const |
Retrieve the quality level for text. More... | |
void | SetFirstVisibleLine (int displayLine) |
Scroll so that a display line is at the top of the display. More... | |
void | SetMultiPaste (int multiPaste) |
Change the effect of pasting when there are multiple selections. More... | |
int | GetMultiPaste () const |
Retrieve the effect of pasting when there are multiple selections. More... | |
wxString | GetTag (int tagNumber) const |
Retrieve the value of a tag from a regular expression search. More... | |
void | LinesJoin () |
Join the lines in the target. More... | |
void | LinesSplit (int pixelWidth) |
Split the lines in the target into lines that are less wide than pixelWidth where possible. More... | |
void | SetFoldMarginColour (bool useSetting, const wxColour &back) |
Set one of the colours used as a chequerboard pattern in the fold margin. More... | |
void | SetFoldMarginHiColour (bool useSetting, const wxColour &fore) |
Set the other colour used as a chequerboard pattern in the fold margin. More... | |
void | LineDown () |
Move caret down one line. More... | |
void | LineDownExtend () |
Move caret down one line extending selection to new caret position. More... | |
void | LineUp () |
Move caret up one line. More... | |
void | LineUpExtend () |
Move caret up one line extending selection to new caret position. More... | |
void | CharLeft () |
Move caret left one character. More... | |
void | CharLeftExtend () |
Move caret left one character extending selection to new caret position. More... | |
void | CharRight () |
Move caret right one character. More... | |
void | CharRightExtend () |
Move caret right one character extending selection to new caret position. More... | |
void | WordLeft () |
Move caret left one word. More... | |
void | WordLeftExtend () |
Move caret left one word extending selection to new caret position. More... | |
void | WordRight () |
Move caret right one word. More... | |
void | WordRightExtend () |
Move caret right one word extending selection to new caret position. More... | |
void | Home () |
Move caret to first position on line. More... | |
void | HomeExtend () |
Move caret to first position on line extending selection to new caret position. More... | |
void | LineEnd () |
Move caret to last position on line. More... | |
void | LineEndExtend () |
Move caret to last position on line extending selection to new caret position. More... | |
void | DocumentStart () |
Move caret to first position in document. More... | |
void | DocumentStartExtend () |
Move caret to first position in document extending selection to new caret position. More... | |
void | DocumentEnd () |
Move caret to last position in document. More... | |
void | DocumentEndExtend () |
Move caret to last position in document extending selection to new caret position. More... | |
void | PageUp () |
Move caret one page up. More... | |
void | PageUpExtend () |
Move caret one page up extending selection to new caret position. More... | |
void | PageDown () |
Move caret one page down. More... | |
void | PageDownExtend () |
Move caret one page down extending selection to new caret position. More... | |
void | EditToggleOvertype () |
Switch from insert to overtype mode or the reverse. More... | |
void | Cancel () |
Cancel any modes such as call tip or auto-completion list display. More... | |
void | DeleteBack () |
Delete the selection or if no selection, the character before the caret. More... | |
void | Tab () |
If selection is empty or all on one line replace the selection with a tab character. More... | |
void | BackTab () |
Dedent the selected lines. More... | |
void | NewLine () |
Insert a new line, may use a CRLF, CR or LF depending on EOL mode. More... | |
void | FormFeed () |
Insert a Form Feed character. More... | |
void | VCHome () |
Move caret to before first visible character on line. More... | |
void | VCHomeExtend () |
Like VCHome but extending selection to new caret position. More... | |
void | ZoomIn () |
Magnify the displayed text by increasing the sizes by 1 point. More... | |
void | ZoomOut () |
Make the displayed text smaller by decreasing the sizes by 1 point. More... | |
void | DelWordLeft () |
Delete the word to the left of the caret. More... | |
void | DelWordRight () |
Delete the word to the right of the caret. More... | |
void | DelWordRightEnd () |
Delete the word to the right of the caret, but not the trailing non-word characters. More... | |
void | LineCut () |
Cut the line containing the caret. More... | |
void | LineDelete () |
Delete the line containing the caret. More... | |
void | LineTranspose () |
Switch the current line with the previous. More... | |
void | LineDuplicate () |
Duplicate the current line. More... | |
void | LowerCase () |
Transform the selection to lower case. More... | |
void | UpperCase () |
Transform the selection to upper case. More... | |
void | LineScrollDown () |
Scroll the document down, keeping the caret visible. More... | |
void | LineScrollUp () |
Scroll the document up, keeping the caret visible. More... | |
void | DeleteBackNotLine () |
Delete the selection or if no selection, the character before the caret. More... | |
void | HomeDisplay () |
Move caret to first position on display line. More... | |
void | HomeDisplayExtend () |
Move caret to first position on display line extending selection to new caret position. More... | |
void | LineEndDisplay () |
Move caret to last position on display line. More... | |
void | LineEndDisplayExtend () |
Move caret to last position on display line extending selection to new caret position. More... | |
void | HomeWrap () |
Like Home but when word-wrap is enabled goes first to start of display line HomeDisplay, then to start of document line Home. More... | |
void | HomeWrapExtend () |
Like HomeExtend but when word-wrap is enabled extends first to start of display line HomeDisplayExtend, then to start of document line HomeExtend. More... | |
void | LineEndWrap () |
Like LineEnd but when word-wrap is enabled goes first to end of display line LineEndDisplay, then to start of document line LineEnd. More... | |
void | LineEndWrapExtend () |
Like LineEndExtend but when word-wrap is enabled extends first to end of display line LineEndDisplayExtend, then to start of document line LineEndExtend. More... | |
void | VCHomeWrap () |
Like VCHome but when word-wrap is enabled goes first to start of display line VCHomeDisplay, then behaves like VCHome. More... | |
void | VCHomeWrapExtend () |
Like VCHomeExtend but when word-wrap is enabled extends first to start of display line VCHomeDisplayExtend, then behaves like VCHomeExtend. More... | |
void | LineCopy () |
Copy the line containing the caret. More... | |
void | MoveCaretInsideView () |
Move the caret inside current view if it's not there already. More... | |
int | LineLength (int line) const |
How many characters are on a line, including end of line characters? More... | |
void | BraceHighlight (int posA, int posB) |
Highlight the characters at two positions. More... | |
void | BraceHighlightIndicator (bool useSetting, int indicator) |
Use specified indicator to highlight matching braces instead of changing their style. More... | |
void | BraceBadLight (int pos) |
Highlight the character at a position indicating there is no matching brace. More... | |
void | BraceBadLightIndicator (bool useSetting, int indicator) |
Use specified indicator to highlight non matching brace instead of changing its style. More... | |
int | BraceMatch (int pos, int maxReStyle=0) |
Find the position of a matching brace or wxSCI_INVALID_POSITION if no match. More... | |
bool | GetViewEOL () const |
Are the end of line characters visible? More... | |
void | SetViewEOL (bool visible) |
Make the end of line characters visible or invisible. More... | |
void * | GetDocPointer () |
Retrieve a pointer to the document object. More... | |
void | SetDocPointer (void *docPointer) |
Change the document object used. More... | |
void | SetModEventMask (int eventMask) |
Set which document modification events are sent to the container. More... | |
int | GetEdgeColumn () const |
Retrieve the column number which text should be kept within. More... | |
void | SetEdgeColumn (int column) |
Set the column number of the edge. More... | |
int | GetEdgeMode () const |
Retrieve the edge highlight mode. More... | |
void | SetEdgeMode (int edgeMode) |
The edge may be displayed by a line (wxSCI_EDGE_LINE/wxSCI_EDGE_MULTILINE) or by highlighting text that goes beyond it (wxSCI_EDGE_BACKGROUND) or not displayed at all (wxSCI_EDGE_NONE). More... | |
wxColour | GetEdgeColour () const |
Retrieve the colour used in edge indication. More... | |
void | SetEdgeColour (const wxColour &edgeColour) |
Change the colour used in edge indication. More... | |
void | MultiEdgeAddLine (int column, const wxColour &edgeColour) |
Add a new vertical edge to the view. More... | |
void | MultiEdgeClearAll () |
Clear all vertical edges. More... | |
void | SearchAnchor () |
Sets the current caret position to be the search anchor. More... | |
int | SearchNext (int searchFlags, const wxString &text) |
Find some text starting at the search anchor. More... | |
int | SearchPrev (int searchFlags, const wxString &text) |
Find some text starting at the search anchor and moving backwards. More... | |
int | LinesOnScreen () const |
Retrieves the number of lines completely visible. More... | |
void | UsePopUp (int popUpMode) |
Set whether a pop up menu is displayed automatically when the user presses the wrong mouse button on certain areas. More... | |
bool | SelectionIsRectangle () const |
Is the selection rectangular? The alternative is the more common stream selection. More... | |
void | SetZoom (int zoomInPoints) |
Set the zoom level. More... | |
int | GetZoom () const |
Retrieve the zoom level. More... | |
void * | CreateDocument () |
Create a new document object. More... | |
void | AddRefDocument (void *docPointer) |
Extend life of document. More... | |
void | ReleaseDocument (void *docPointer) |
Release a reference to the document, deleting document if it fades to black. More... | |
int | GetModEventMask () const |
Get which document modification events are sent to the container. More... | |
void | SetSCIFocus (bool focus) |
Change internal focus flag. More... | |
bool | GetSCIFocus () const |
Get internal focus flag. More... | |
void | SetStatus (int status) |
Change error status - 0 = OK. More... | |
int | GetStatus () const |
Get error status. More... | |
void | SetMouseDownCaptures (bool captures) |
Set whether the mouse is captured when its button is pressed. More... | |
bool | GetMouseDownCaptures () const |
Get whether mouse gets captured. More... | |
void | SetMouseWheelCaptures (bool captures) |
Set whether the mouse wheel can be active outside the window. More... | |
bool | GetMouseWheelCaptures () const |
Get whether mouse wheel can be active outside the window. More... | |
void | SetSCICursor (int cursorType) |
Sets the cursor to one of the wxSCI_CURSOR* values. More... | |
int | GetSCICursor () const |
Get cursor type. More... | |
void | SetControlCharSymbol (int symbol) |
Change the way control characters are displayed: If symbol is < 32, keep the drawn way, else, use the given character. More... | |
int | GetControlCharSymbol () const |
Get the way control characters are displayed. More... | |
void | WordPartLeft () |
Move to the previous change in capitalisation. More... | |
void | WordPartLeftExtend () |
Move to the previous change in capitalisation extending selection to new caret position. More... | |
void | WordPartRight () |
Move to the change next in capitalisation. More... | |
void | WordPartRightExtend () |
Move to the next change in capitalisation extending selection to new caret position. More... | |
void | SetVisiblePolicy (int visiblePolicy, int visibleSlop) |
Set the way the display area is determined when a particular line is to be moved to by Find, FindNext, GotoLine, etc. More... | |
void | DelLineLeft () |
Delete back from the current position to the start of the line. More... | |
void | DelLineRight () |
Delete forwards from the current position to the end of the line. More... | |
void | SetXOffset (int xOffset) |
Set the xOffset (ie, horizontal scroll position). More... | |
int | GetXOffset () const |
Get the xOffset (ie, horizontal scroll position). More... | |
void | ChooseCaretX () |
Set the last x chosen value to be the caret x position. More... | |
void | SetXCaretPolicy (int caretPolicy, int caretSlop) |
Set the way the caret is kept visible when going sideways. More... | |
void | SetYCaretPolicy (int caretPolicy, int caretSlop) |
Set the way the line the caret is on is kept visible. More... | |
void | SetPrintWrapMode (int wrapMode) |
Set printing to line wrapped (wxSCI_WRAP_WORD) or not line wrapped (wxSCI_WRAP_NONE). More... | |
int | GetPrintWrapMode () const |
Is printing line wrapped? More... | |
void | SetHotspotActiveForeground (bool useSetting, const wxColour &fore) |
Set a fore colour for active hotspots. More... | |
wxColour | GetHotspotActiveForeground () const |
Get the fore colour for active hotspots. More... | |
void | SetHotspotActiveBackground (bool useSetting, const wxColour &back) |
Set a back colour for active hotspots. More... | |
wxColour | GetHotspotActiveBackground () const |
Get the back colour for active hotspots. More... | |
void | SetHotspotActiveUnderline (bool underline) |
Enable / Disable underlining active hotspots. More... | |
bool | GetHotspotActiveUnderline () const |
Get whether underlining for active hotspots. More... | |
void | SetHotspotSingleLine (bool singleLine) |
Limit hotspots to single line so hotspots on two lines don't merge. More... | |
bool | GetHotspotSingleLine () const |
Get the HotspotSingleLine property. More... | |
void | ParaDown () |
Move caret down one paragraph (delimited by empty lines). More... | |
void | ParaDownExtend () |
Extend selection down one paragraph (delimited by empty lines). More... | |
void | ParaUp () |
Move caret up one paragraph (delimited by empty lines). More... | |
void | ParaUpExtend () |
Extend selection up one paragraph (delimited by empty lines). More... | |
int | PositionBefore (int pos) |
Given a valid document position, return the previous position taking code page into account. More... | |
int | PositionAfter (int pos) |
Given a valid document position, return the next position taking code page into account. More... | |
int | PositionRelative (int pos, int relative) |
Given a valid document position, return a position that differs in a number of characters. More... | |
void | CopyRange (int start, int end) |
Copy a range of text to the clipboard. Positions are clipped into the document. More... | |
void | CopyText (int length, const wxString &text) |
Copy argument text to the clipboard. More... | |
void | SetSelectionMode (int selectionMode) |
Set the selection mode to stream (wxSCI_SEL_STREAM) or rectangular (wxSCI_SEL_RECTANGLE/wxSCI_SEL_THIN) or by lines (wxSCI_SEL_LINES). More... | |
int | GetSelectionMode () const |
Get the mode of the current selection. More... | |
int | GetLineSelStartPosition (int line) |
Retrieve the position of the start of the selection at the given line (wxSCI_INVALID_POSITION if no selection on this line). More... | |
int | GetLineSelEndPosition (int line) |
Retrieve the position of the end of the selection at the given line (wxSCI_INVALID_POSITION if no selection on this line). More... | |
void | LineDownRectExtend () |
Move caret down one line, extending rectangular selection to new caret position. More... | |
void | LineUpRectExtend () |
Move caret up one line, extending rectangular selection to new caret position. More... | |
void | CharLeftRectExtend () |
Move caret left one character, extending rectangular selection to new caret position. More... | |
void | CharRightRectExtend () |
Move caret right one character, extending rectangular selection to new caret position. More... | |
void | HomeRectExtend () |
Move caret to first position on line, extending rectangular selection to new caret position. More... | |
void | VCHomeRectExtend () |
Move caret to before first visible character on line. More... | |
void | LineEndRectExtend () |
Move caret to last position on line, extending rectangular selection to new caret position. More... | |
void | PageUpRectExtend () |
Move caret one page up, extending rectangular selection to new caret position. More... | |
void | PageDownRectExtend () |
Move caret one page down, extending rectangular selection to new caret position. More... | |
void | StutteredPageUp () |
Move caret to top of page, or one page up if already at top of page. More... | |
void | StutteredPageUpExtend () |
Move caret to top of page, or one page up if already at top of page, extending selection to new caret position. More... | |
void | StutteredPageDown () |
Move caret to bottom of page, or one page down if already at bottom of page. More... | |
void | StutteredPageDownExtend () |
Move caret to bottom of page, or one page down if already at bottom of page, extending selection to new caret position. More... | |
void | WordLeftEnd () |
Move caret left one word, position cursor at end of word. More... | |
void | WordLeftEndExtend () |
Move caret left one word, position cursor at end of word, extending selection to new caret position. More... | |
void | WordRightEnd () |
Move caret right one word, position cursor at end of word. More... | |
void | WordRightEndExtend () |
Move caret right one word, position cursor at end of word, extending selection to new caret position. More... | |
void | SetWhitespaceChars (const wxString &characters) |
Set the set of characters making up whitespace for when moving or selecting by word. More... | |
wxString | GetWhitespaceChars () const |
Get the set of characters making up whitespace for when moving or selecting by word. More... | |
void | SetPunctuationChars (const wxString &characters) |
Set the set of characters making up punctuation characters Should be called after SetWordChars. More... | |
wxString | GetPunctuationChars () const |
Get the set of characters making up punctuation characters. More... | |
void | SetCharsDefault () |
Reset the set of characters for whitespace and word characters to the defaults. More... | |
int | AutoCompGetCurrent () const |
Get currently selected item position in the auto-completion list. More... | |
wxString | AutoCompGetCurrentText () const |
Get currently selected item text in the auto-completion list. More... | |
void | AutoCompSetCaseInsensitiveBehaviour (int behaviour) |
Set auto-completion case insensitive behaviour to either prefer case-sensitive matches or have no preference. More... | |
int | AutoCompGetCaseInsensitiveBehaviour () const |
Get auto-completion case insensitive behaviour. More... | |
void | AutoCompSetMulti (int multi) |
Change the effect of autocompleting when there are multiple selections. More... | |
int | AutoCompGetMulti () const |
Retrieve the effect of autocompleting when there are multiple selections. More... | |
void | AutoCompSetOrder (int order) |
Set the way autocompletion lists are ordered. More... | |
int | AutoCompGetOrder () const |
Get the way autocompletion lists are ordered. More... | |
void | Allocate (int bytes) |
Enlarge the document to a particular size of text bytes. More... | |
int | FindColumn (int line, int column) |
Find the position of a column on a line taking into account tabs and multi-byte characters. More... | |
int | GetCaretSticky () const |
Can the caret preferred x position only be changed by explicit movement commands? More... | |
void | SetCaretSticky (int useCaretStickyBehaviour) |
Stop the caret preferred x position changing when the user types. More... | |
void | ToggleCaretSticky () |
Switch between sticky and non-sticky: meant to be bound to a key. More... | |
void | SetPasteConvertEndings (bool convert) |
Enable/Disable convert-on-paste for line endings. More... | |
bool | GetPasteConvertEndings () const |
Get convert-on-paste setting. More... | |
void | SelectionDuplicate () |
Duplicate the selection. If selection empty duplicate the line containing the caret. More... | |
void | SetCaretLineBackAlpha (int alpha) |
Set background alpha of the caret line. More... | |
int | GetCaretLineBackAlpha () const |
Get the background alpha of the caret line. More... | |
void | SetCaretStyle (int caretStyle) |
Set the style of the caret to be drawn. More... | |
int | GetCaretStyle () const |
Returns the current style of the caret. More... | |
void | SetIndicatorCurrent (int indicator) |
Set the indicator used for IndicatorFillRange and IndicatorClearRange. More... | |
int | GetIndicatorCurrent () const |
Get the current indicator. More... | |
void | SetIndicatorValue (int value) |
Set the value used for IndicatorFillRange. More... | |
int | GetIndicatorValue () const |
Get the current indicator value. More... | |
void | IndicatorFillRange (int start, int lengthFill) |
Turn a indicator on over a range. More... | |
void | IndicatorClearRange (int start, int lengthClear) |
Turn a indicator off over a range. More... | |
int | IndicatorAllOnFor (int pos) |
Are any indicators present at pos? More... | |
int | IndicatorValueAt (int indicator, int pos) |
What value does a particular indicator have at a position? More... | |
int | IndicatorStart (int indicator, int pos) |
Where does a particular indicator start? More... | |
int | IndicatorEnd (int indicator, int pos) |
Where does a particular indicator end? More... | |
void | SetPositionCacheSize (int size) |
Set number of entries in position cache. More... | |
int | GetPositionCacheSize () const |
How many entries are allocated to the position cache? More... | |
void | CopyAllowLine () |
Copy the selection, if selection empty copy the line with the caret. More... | |
const char * | GetRangePointer (int position, int rangeLength) const |
Return a read-only pointer to a range of characters in the document. More... | |
int | GetGapPosition () const |
Return a position which, to avoid performance costs, should not be within the range of a call to GetRangePointer. More... | |
void | IndicatorSetAlpha (int indicator, int alpha) |
Set the alpha fill colour of the given indicator. More... | |
int | IndicatorGetAlpha (int indicator) const |
Get the alpha fill colour of the given indicator. More... | |
void | IndicatorSetOutlineAlpha (int indicator, int alpha) |
Set the alpha outline colour of the given indicator. More... | |
int | IndicatorGetOutlineAlpha (int indicator) const |
Get the alpha outline colour of the given indicator. More... | |
void | SetExtraAscent (int extraAscent) |
Set extra ascent for each line. More... | |
int | GetExtraAscent () const |
Get extra ascent for each line. More... | |
void | SetExtraDescent (int extraDescent) |
Set extra descent for each line. More... | |
int | GetExtraDescent () const |
Get extra descent for each line. More... | |
int | GetMarkerSymbolDefined (int markerNumber) |
Which symbol was defined for markerNumber with MarkerDefine. More... | |
void | MarginSetText (int line, const wxString &text) |
Set the text in the text margin for a line. More... | |
wxString | MarginGetText (int line) const |
Get the text in the text margin for a line. More... | |
void | MarginSetStyle (int line, int style) |
Set the style number for the text margin for a line. More... | |
int | MarginGetStyle (int line) const |
Get the style number for the text margin for a line. More... | |
void | MarginSetStyles (int line, const wxString &styles) |
Set the style in the text margin for a line. More... | |
wxString | MarginGetStyles (int line) const |
Get the styles in the text margin for a line. More... | |
void | MarginTextClearAll () |
Clear the margin text on all lines. More... | |
void | MarginSetStyleOffset (int style) |
Get the start of the range of style numbers used for margin text. More... | |
int | MarginGetStyleOffset () const |
Get the start of the range of style numbers used for margin text. More... | |
void | SetMarginOptions (int marginOptions) |
Set the margin options. More... | |
int | GetMarginOptions () const |
Get the margin options. More... | |
void | AnnotationSetText (int line, const wxString &text) |
Set the annotation text for a line. More... | |
wxString | AnnotationGetText (int line) const |
Get the annotation text for a line. More... | |
void | AnnotationSetStyle (int line, int style) |
Set the style number for the annotations for a line. More... | |
int | AnnotationGetStyle (int line) const |
Get the style number for the annotations for a line. More... | |
void | AnnotationSetStyles (int line, const wxString &styles) |
Set the annotation styles for a line. More... | |
wxString | AnnotationGetStyles (int line) const |
Get the annotation styles for a line. More... | |
int | AnnotationGetLines (int line) const |
Get the number of annotation lines for a line. More... | |
void | AnnotationClearAll () |
Clear the annotations from all lines. More... | |
void | AnnotationSetVisible (int visible) |
Set the visibility for the annotations for a view. More... | |
int | AnnotationGetVisible () const |
Get the visibility for the annotations for a view. More... | |
void | AnnotationSetStyleOffset (int style) |
Get the start of the range of style numbers used for annotations. More... | |
int | AnnotationGetStyleOffset () const |
Get the start of the range of style numbers used for annotations. More... | |
void | ReleaseAllExtendedStyles () |
Release all extended (>255) style numbers. More... | |
int | AllocateExtendedStyles (int numberStyles) |
Allocate some extended (>255) style numbers and return the start of the range. More... | |
void | AddUndoAction (int token, int flags) |
Add a container action to the undo stack. More... | |
int | CharPositionFromPoint (int x, int y) |
Find the position of a character from a point within the window. More... | |
int | CharPositionFromPointClose (int x, int y) |
Find the position of a character from a point within the window. More... | |
void | SetMouseSelectionRectangularSwitch (bool mouseSelectionRectangularSwitch) |
Set whether switching to rectangular mode while selecting with the mouse is allowed. More... | |
bool | GetMouseSelectionRectangularSwitch () const |
Whether switching to rectangular mode while selecting with the mouse is allowed. More... | |
void | SetMultipleSelection (bool multipleSelection) |
Set whether multiple selections can be made. More... | |
bool | GetMultipleSelection () const |
Whether multiple selections can be made. More... | |
void | SetAdditionalSelectionTyping (bool additionalSelectionTyping) |
Set whether typing can be performed into multiple selections. More... | |
bool | GetAdditionalSelectionTyping () const |
Whether typing can be performed into multiple selections. More... | |
void | SetAdditionalCaretsBlink (bool additionalCaretsBlink) |
Set whether additional carets will blink. More... | |
bool | GetAdditionalCaretsBlink () const |
Whether additional carets will blink. More... | |
void | SetAdditionalCaretsVisible (bool additionalCaretsVisible) |
Set whether additional carets are visible. More... | |
bool | GetAdditionalCaretsVisible () const |
Whether additional carets are visible. More... | |
int | GetSelections () const |
How many selections are there? More... | |
bool | GetSelectionEmpty () const |
Is every selected range empty? More... | |
void | ClearSelections () |
Clear selections to a single empty stream selection. More... | |
void | SetSelectionVoid (int startPos, int endPos) |
Select a range of text. More... | |
int | SetSelectionInt (int caret, int anchor) |
Set a simple selection. More... | |
int | AddSelection (int caret, int anchor) |
Add a selection. More... | |
void | DropSelectionN (int selection) |
Drop one selection. More... | |
void | SetMainSelection (int selection) |
Set the main selection. More... | |
int | GetMainSelection () const |
Which selection is the main selection. More... | |
void | SetSelectionNCaret (int selection, int caret) |
Set the caret position of the nth selection. More... | |
int | GetSelectionNCaret (int selection) const |
Return the caret position of the nth selection. More... | |
void | SetSelectionNAnchor (int selection, int anchor) |
Set the anchor position of the nth selection. More... | |
int | GetSelectionNAnchor (int selection) const |
Return the anchor position of the nth selection. More... | |
void | SetSelectionNCaretVirtualSpace (int selection, int space) |
Set the virtual space of the caret of the nth selection. More... | |
int | GetSelectionNCaretVirtualSpace (int selection) const |
Return the virtual space of the caret of the nth selection. More... | |
void | SetSelectionNAnchorVirtualSpace (int selection, int space) |
Set the virtual space of the anchor of the nth selection. More... | |
int | GetSelectionNAnchorVirtualSpace (int selection) const |
Return the virtual space of the anchor of the nth selection. More... | |
void | SetSelectionNStart (int selection, int anchor) |
Sets the position that starts the selection - this becomes the anchor. More... | |
int | GetSelectionNStart (int selection) const |
Returns the position at the start of the selection. More... | |
void | SetSelectionNEnd (int selection, int caret) |
Sets the position that ends the selection - this becomes the currentPosition. More... | |
int | GetSelectionNEnd (int selection) const |
Returns the position at the end of the selection. More... | |
void | SetRectangularSelectionCaret (int caret) |
Set the caret position of the rectangular selection. More... | |
int | GetRectangularSelectionCaret () const |
Return the caret position of the rectangular selection. More... | |
void | SetRectangularSelectionAnchor (int anchor) |
Set the anchor position of the rectangular selection. More... | |
int | GetRectangularSelectionAnchor () const |
Return the anchor position of the rectangular selection. More... | |
void | SetRectangularSelectionCaretVirtualSpace (int space) |
Set the virtual space of the caret of the rectangular selection. More... | |
int | GetRectangularSelectionCaretVirtualSpace () const |
Return the virtual space of the caret of the rectangular selection. More... | |
void | SetRectangularSelectionAnchorVirtualSpace (int space) |
Set the virtual space of the anchor of the rectangular selection. More... | |
int | GetRectangularSelectionAnchorVirtualSpace () const |
Return the virtual space of the anchor of the rectangular selection. More... | |
void | SetVirtualSpaceOptions (int virtualSpaceOptions) |
Set options for virtual space behaviour. More... | |
int | GetVirtualSpaceOptions () const |
Return options for virtual space behaviour. More... | |
void | SetRectangularSelectionModifier (int modifier) |
On GTK+, allow selecting the modifier key to use for mouse-based rectangular selection. More... | |
int | GetRectangularSelectionModifier () const |
Get the modifier key used for rectangular selection. More... | |
void | SetAdditionalSelForeground (const wxColour &fore) |
Set the foreground colour of additional selections. More... | |
void | SetAdditionalSelBackground (const wxColour &back) |
Set the background colour of additional selections. More... | |
void | SetAdditionalSelAlpha (int alpha) |
Set the alpha of the selection. More... | |
int | GetAdditionalSelAlpha () const |
Get the alpha of the selection. More... | |
void | SetAdditionalCaretForeground (const wxColour &fore) |
Set the foreground colour of additional carets. More... | |
wxColour | GetAdditionalCaretForeground () const |
Get the foreground colour of additional carets. More... | |
void | RotateSelection () |
Set the main selection to the next selection. More... | |
void | SwapMainAnchorCaret () |
Swap that caret and anchor of the main selection. More... | |
void | MultipleSelectAddNext () |
Add the next occurrence of the main selection to the set of selections as main. More... | |
void | MultipleSelectAddEach () |
Add each occurrence of the main selection in the target to the set of selections. More... | |
int | ChangeLexerState (int start, int end) |
Indicate that the internal state of a lexer has changed over a range and therefore there may be a need to redraw. More... | |
int | ContractedFoldNext (int lineStart) |
Find the next line at or after lineStart that is a contracted fold header line. More... | |
void | VerticalCentreCaret () |
Centre current line in window. More... | |
void | MoveSelectedLinesUp () |
Move the selected lines up one line, shifting the line above after the selection. More... | |
void | MoveSelectedLinesDown () |
Move the selected lines down one line, shifting the line below before the selection. More... | |
void | SetIdentifier (int identifier) |
Set the identifier reported as idFrom in notification messages. More... | |
int | GetIdentifier () const |
Get the identifier. More... | |
void | RGBAImageSetWidth (int width) |
Set the width for future RGBA image data. More... | |
void | RGBAImageSetHeight (int height) |
Set the height for future RGBA image data. More... | |
void | RGBAImageSetScale (int scalePercent) |
Set the scale factor in percent for future RGBA image data. More... | |
void | MarkerDefineRGBAImage (int markerNumber, const unsigned char *pixels) |
Define a marker from RGBA data. More... | |
void | RegisterRGBAImage (int type, const unsigned char *pixels) |
Register an RGBA image for use in autocompletion lists. More... | |
void | ScrollToStart () |
Scroll to start of document. More... | |
void | ScrollToEnd () |
Scroll to end of document. More... | |
void | SetTechnology (int technology) |
Set the technology used. More... | |
int | GetTechnology () const |
Get the tech. More... | |
void * | CreateLoader (int bytes) const |
Create an ILoader*. More... | |
void | VCHomeDisplay () |
Move caret to before first visible character on display line. More... | |
void | VCHomeDisplayExtend () |
Like VCHomeDisplay but extending selection to new caret position. More... | |
bool | GetCaretLineVisibleAlways () const |
Is the caret line always visible? More... | |
void | SetCaretLineVisibleAlways (bool alwaysVisible) |
Sets the caret line to always visible. More... | |
void | SetLineEndTypesAllowed (int lineEndBitSet) |
Set the line end types that the application wants to use. May not be used if incompatible with lexer or encoding. More... | |
int | GetLineEndTypesAllowed () const |
Get the line end types currently allowed. More... | |
int | GetLineEndTypesActive () const |
Get the line end types currently recognised. May be a subset of the allowed types due to lexer limitation. More... | |
void | SetRepresentation (const wxString &encodedCharacter, const wxString &representation) |
Set the way a character is drawn. More... | |
wxString | GetRepresentation (const wxString &encodedCharacter) const |
Set the way a character is drawn. More... | |
void | ClearRepresentation (const wxString &encodedCharacter) |
Remove a character representation. More... | |
void | StartRecord () |
Start notifying the container of all key presses and commands. More... | |
void | StopRecord () |
Stop notifying the container of all key presses and commands. More... | |
void | SetLexer (int lexer) |
Set the lexing language of the document. More... | |
int | GetLexer () const |
Retrieve the lexing language of the document. More... | |
void | Colourise (int start, int end) |
Colourise a segment of the document using the current lexing language. More... | |
void | SetProperty (const wxString &key, const wxString &value) |
Set up a value that may be used by a lexer for some optional feature. More... | |
void | SetKeyWords (int keyWordSet, const wxString &keyWords) |
Set up the key words used by the lexer. More... | |
void | SetLexerLanguage (const wxString &language) |
Set the lexing language of the document based on string name. More... | |
void | LoadLexerLibrary (const wxString &path) |
Load a lexer library (dll / so). More... | |
wxString | GetProperty (const wxString &key) |
Retrieve a "property" value previously set with SetProperty. More... | |
wxString | GetPropertyExpanded (const wxString &key) |
Retrieve a "property" value previously set with SetProperty, with "$()" variable replacement on returned buffer. More... | |
int | GetPropertyInt (const wxString &key, int defaultValue=0) const |
Retrieve a "property" value previously set with SetProperty, interpreted as an int AFTER any "$()" variable replacement. More... | |
wxDEPRECATED_MSG ("This method uses a function deprecated in the Scintilla library.") int GetStyleBitsNeeded() const | |
Retrieve the number of bits the current lexer needs for styling. More... | |
wxString | GetLexerLanguage () const |
Retrieve the lexing language of the document. More... | |
void * | PrivateLexerCall (int operation, void *pointer) |
For private communication between an application and a known lexer. More... | |
wxString | PropertyNames () const |
Retrieve a '\n' separated list of properties understood by the current lexer. More... | |
int | PropertyType (const wxString &name) |
Retrieve the type of a property. More... | |
wxString | DescribeProperty (const wxString &name) const |
Describe a property. More... | |
wxString | DescribeKeyWordSets () const |
Retrieve a '\n' separated list of descriptions of the keyword sets understood by the current lexer. More... | |
int | GetLineEndTypesSupported () const |
Bit set of LineEndType enumertion for which line ends beyond the standard LF, CR, and CRLF are supported by the lexer. More... | |
int | AllocateSubStyles (int styleBase, int numberStyles) |
Allocate a set of sub styles for a particular base style, returning start of range. More... | |
int | GetSubStylesStart (int styleBase) const |
The starting style number for the sub styles associated with a base style. More... | |
int | GetSubStylesLength (int styleBase) const |
The number of sub styles associated with a base style. More... | |
int | GetStyleFromSubStyle (int subStyle) const |
For a sub style, return the base style, else return the argument. More... | |
int | GetPrimaryStyleFromStyle (int style) const |
For a secondary style, return the primary style, else return the argument. More... | |
void | FreeSubStyles () |
Free allocated sub styles. More... | |
void | SetIdentifiers (int style, const wxString &identifiers) |
Set the identifiers that are shown in a particular style. More... | |
int | DistanceToSecondaryStyles () const |
Where styles are duplicated by a feature such as active/inactive code return the distance between the two types. More... | |
wxString | GetSubStyleBases () const |
Get the set of base styles that can be extended with sub styles. More... | |
int | GetCurrentLine () |
Manually declared methods. More... | |
void | StyleSetSpec (int styleNum, const wxString &spec) |
Extract style settings from a spec-string which is composed of one or more of the following comma separated elements: More... | |
wxFont | StyleGetFont (int style) |
Get the font of a style. More... | |
void | StyleSetFont (int styleNum, const wxFont &font) |
Set style size, face, bold, italic, and underline attributes from a wxFont's attributes. More... | |
void | StyleSetFontAttr (int styleNum, int size, const wxString &faceName, bool bold, bool italic, bool underline, wxFontEncoding encoding=wxFONTENCODING_DEFAULT) |
Set all font style attributes at once. More... | |
void | StyleSetFontEncoding (int style, wxFontEncoding encoding) |
Set the font encoding to be used by a style. More... | |
void | CmdKeyExecute (int cmd) |
Perform one of the operations defined by the wxSCI_CMD_* constants. More... | |
void | SetMargins (int left, int right) |
Set the left and right margin in the edit area, measured in pixels. More... | |
void | ScrollToLine (int line) |
Scroll enough to make the given line visible. More... | |
void | ScrollToColumn (int column) |
Scroll enough to make the given column visible. More... | |
wxIntPtr | SendMsg (int msg, wxUIntPtr wp=0, wxIntPtr lp=0) const |
Send a message to Scintilla. More... | |
void | SetVScrollBar (wxScrollBar *bar) |
Set the vertical scrollbar to use instead of the one that's built-in. More... | |
void | SetHScrollBar (wxScrollBar *bar) |
Set the horizontal scrollbar to use instead of the one that's built-in. More... | |
bool | GetLastKeydownProcessed () |
Can be used to prevent the EVT_CHAR handler from adding the char. More... | |
void | SetLastKeydownProcessed (bool val) |
bool | SaveFile (const wxString &filename) |
Write the contents of the editor to filename. More... | |
bool | LoadFile (const wxString &filename) |
Load the contents of filename into the editor. More... | |
wxDragResult | DoDragEnter (wxCoord x, wxCoord y, wxDragResult def) |
Allow for simulating a DnD DragEnter. More... | |
wxDragResult | DoDragOver (wxCoord x, wxCoord y, wxDragResult def) |
Allow for simulating a DnD DragOver. More... | |
void | DoDragLeave () |
Allow for simulating a DnD DragLeave. More... | |
bool | DoDropText (long x, long y, const wxString &data) |
Allow for simulating a DnD DropText. More... | |
void | SetUseAntiAliasing (bool useAA) |
Specify whether anti-aliased fonts should be used. More... | |
bool | GetUseAntiAliasing () |
Returns the current UseAntiAliasing setting. More... | |
void | AnnotationClearLine (int line) |
Clear annotations from the given line. More... | |
void | AddTextRaw (const char *text, int length=-1) |
The following methods are nearly equivalent to their similarly named cousins above. More... | |
void | InsertTextRaw (int pos, const char *text) |
Insert string at a position. More... | |
wxCharBuffer | GetCurLineRaw (int *linePos=NULL) |
Retrieve the text of the line containing the caret. More... | |
wxCharBuffer | GetLineRaw (int line) |
Retrieve the contents of a line. More... | |
wxCharBuffer | GetSelectedTextRaw () |
Retrieve the selected text. More... | |
wxCharBuffer | GetTargetTextRaw () |
Retrieve the target text. More... | |
wxCharBuffer | GetTextRangeRaw (int startPos, int endPos) |
Retrieve a range of text. More... | |
void | SetTextRaw (const char *text) |
Replace the contents of the document with the argument text. More... | |
wxCharBuffer | GetTextRaw () |
Retrieve all the text in the document. More... | |
void | AppendTextRaw (const char *text, int length=-1) |
Append a string to the end of the document without changing the selection. More... | |
virtual void | WriteText (const wxString &text) |
implement wxTextEntryBase pure virtual methodsMore... | |
virtual void | Remove (long from, long to) |
virtual void | Replace (long from, long to, const wxString &text) |
virtual void | SetInsertionPoint (long pos) |
virtual long | GetInsertionPoint () const |
virtual long | GetLastPosition () const |
virtual void | SetSelection (long from, long to) |
virtual void | SelectNone () |
virtual void | GetSelection (long *from, long *to) const |
void | GetSelection (int *from, int *to) |
kept for compatibility only More... | |
virtual bool | IsEditable () const |
virtual void | SetEditable (bool editable) |
void | SetMouseCapture (bool on) |
bool | HaveMouseCapture () const |
Static Public Member Functions | |
static wxVersionInfo | GetLibraryVersionInfo () |
Protected Attributes | |
ScintillaWX * | m_swx |
wxStopWatch | m_stopWatch |
wxScrollBar * | m_vScrollBar |
wxScrollBar * | m_hScrollBar |
bool | m_lastKeyDownConsumed |
Private Member Functions | |
DECLARE_EVENT_TABLE () | |
DECLARE_DYNAMIC_CLASS (wxScintilla) | |
Friends | |
class | ScintillaWX |
class | Platform |
Definition at line 2865 of file wxscintilla.h.
wxScintilla::wxScintilla | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = 0 , |
||
const wxString & | name = wxSCINameStr |
||
) |
|
inline |
Definition at line 2883 of file wxscintilla.h.
References Associations::ClearAll(), CCManagerHelper::FindColumn(), GetSelectedText(), NULL, ParserConsts::space, wxDefaultPosition, wxDefaultSize, wxFONTENCODING_DEFAULT, wxID_ANY, wxNullColour, and wxSCINameStr.
wxScintilla::~wxScintilla | ( | ) |
void wxScintilla::AddRefDocument | ( | void * | docPointer | ) |
Extend life of document.
int wxScintilla::AddSelection | ( | int | caret, |
int | anchor | ||
) |
Add a selection.
Referenced by MainFrame::OnEditSelectAll(), and MainFrame::OnEditSelectNextSkip().
void wxScintilla::AddStyledText | ( | const wxMemoryBuffer & | data | ) |
Add array of cells to document.
void wxScintilla::AddTabStop | ( | int | line, |
int | x | ||
) |
Add an explicit tab stop for a line.
void wxScintilla::AddText | ( | const wxString & | text | ) |
Generated method declaration section {{{.
Add text to the document at current position.
Referenced by cbStyledTextCtrl::DoSelectionBraceCompletion().
void wxScintilla::AddTextRaw | ( | const char * | text, |
int | length = -1 |
||
) |
The following methods are nearly equivalent to their similarly named cousins above.
The difference is that these methods bypass wxString and always use a char* even if used in a unicode build of wxWidgets. In that case the character data will be utf-8 encoded since that is what is used internally by Scintilla in unicode builds. Add text to the document at current position.
void wxScintilla::AddUndoAction | ( | int | token, |
int | flags | ||
) |
Add a container action to the undo stack.
void wxScintilla::Allocate | ( | int | bytes | ) |
Enlarge the document to a particular size of text bytes.
int wxScintilla::AllocateExtendedStyles | ( | int | numberStyles | ) |
Allocate some extended (>255) style numbers and return the start of the range.
int wxScintilla::AllocateSubStyles | ( | int | styleBase, |
int | numberStyles | ||
) |
Allocate a set of sub styles for a particular base style, returning start of range.
void wxScintilla::AnnotationClearAll | ( | ) |
Clear the annotations from all lines.
void wxScintilla::AnnotationClearLine | ( | int | line | ) |
Clear annotations from the given line.
int wxScintilla::AnnotationGetLines | ( | int | line | ) | const |
Get the number of annotation lines for a line.
int wxScintilla::AnnotationGetStyle | ( | int | line | ) | const |
Get the style number for the annotations for a line.
int wxScintilla::AnnotationGetStyleOffset | ( | ) | const |
Get the start of the range of style numbers used for annotations.
wxString wxScintilla::AnnotationGetStyles | ( | int | line | ) | const |
Get the annotation styles for a line.
wxString wxScintilla::AnnotationGetText | ( | int | line | ) | const |
Get the annotation text for a line.
int wxScintilla::AnnotationGetVisible | ( | ) | const |
Get the visibility for the annotations for a view.
void wxScintilla::AnnotationSetStyle | ( | int | line, |
int | style | ||
) |
Set the style number for the annotations for a line.
void wxScintilla::AnnotationSetStyleOffset | ( | int | style | ) |
Get the start of the range of style numbers used for annotations.
void wxScintilla::AnnotationSetStyles | ( | int | line, |
const wxString & | styles | ||
) |
Set the annotation styles for a line.
void wxScintilla::AnnotationSetText | ( | int | line, |
const wxString & | text | ||
) |
Set the annotation text for a line.
void wxScintilla::AnnotationSetVisible | ( | int | visible | ) |
Set the visibility for the annotations for a view.
void wxScintilla::AppendText | ( | const wxString & | text | ) |
Append a string to the end of the document without changing the selection.
Referenced by DisassemblyDlg::AddAssemblerLine(), and DisassemblyDlg::AddSourceLine().
void wxScintilla::AppendTextRaw | ( | const char * | text, |
int | length = -1 |
||
) |
Append a string to the end of the document without changing the selection.
bool wxScintilla::AutoCompActive | ( | ) |
Is there an auto-completion list visible?
Referenced by CCManager::DoBufferedCC(), InsertNewLine(), CCManager::OnCompleteCode(), MainFrame::OnEditGotoLineEnd(), MainFrame::OnEditInsertNewLine(), CCManager::OnEditorHook(), MainFrame::OnEditUndo(), cbStyledTextCtrl::OnKeyDown(), cbStyledTextCtrl::OnKillFocus(), and CCManager::OnTimer().
void wxScintilla::AutoCompCancel | ( | ) |
Remove the auto-completion list from the screen.
Referenced by InsertNewLine(), MainFrame::OnEditGotoLineEnd(), MainFrame::OnEditInsertNewLine(), CCManager::OnEditorHook(), MainFrame::OnEditUndo(), and cbStyledTextCtrl::OnKillFocus().
void wxScintilla::AutoCompComplete | ( | ) |
User has selected an item so remove the list and insert the selection.
bool wxScintilla::AutoCompGetAutoHide | ( | ) | const |
Retrieve whether or not autocompletion is hidden automatically when nothing matches.
bool wxScintilla::AutoCompGetCancelAtStart | ( | ) | const |
Retrieve whether auto-completion cancelled by backspacing before start.
int wxScintilla::AutoCompGetCaseInsensitiveBehaviour | ( | ) | const |
Get auto-completion case insensitive behaviour.
bool wxScintilla::AutoCompGetChooseSingle | ( | ) | const |
Retrieve whether a single item auto-completion list automatically choose the item.
int wxScintilla::AutoCompGetCurrent | ( | ) | const |
Get currently selected item position in the auto-completion list.
Referenced by CCManager::OnTimer().
wxString wxScintilla::AutoCompGetCurrentText | ( | ) | const |
Get currently selected item text in the auto-completion list.
bool wxScintilla::AutoCompGetDropRestOfWord | ( | ) | const |
Retrieve whether or not autocompletion deletes any word characters after the inserted text upon completion.
bool wxScintilla::AutoCompGetIgnoreCase | ( | ) | const |
Retrieve state of ignore case flag.
int wxScintilla::AutoCompGetMaxHeight | ( | ) | const |
Set the maximum height, in rows, of auto-completion and user lists.
Referenced by CCManager::OnAutocompleteSelect().
int wxScintilla::AutoCompGetMaxWidth | ( | ) | const |
Get the maximum width, in characters, of auto-completion and user lists.
int wxScintilla::AutoCompGetMulti | ( | ) | const |
Retrieve the effect of autocompleting when there are multiple selections.
int wxScintilla::AutoCompGetOrder | ( | ) | const |
Get the way autocompletion lists are ordered.
int wxScintilla::AutoCompGetSeparator | ( | ) | const |
Retrieve the auto-completion list separator character.
int wxScintilla::AutoCompGetTypeSeparator | ( | ) | const |
Retrieve the auto-completion list type-separator character.
int wxScintilla::AutoCompPosStart | ( | ) |
Retrieve the position of the caret when the auto-completion list was displayed.
void wxScintilla::AutoCompSelect | ( | const wxString & | select | ) |
Select the item in the auto-completion list that starts with a string.
Referenced by CCManager::DoBufferedCC(), and CCManager::OnCompleteCode().
void wxScintilla::AutoCompSetAutoHide | ( | bool | autoHide | ) |
Set whether or not autocompletion is hidden automatically when nothing matches.
void wxScintilla::AutoCompSetCancelAtStart | ( | bool | cancel | ) |
Should the auto-completion list be cancelled if the user backspaces to a position before where the box was created.
void wxScintilla::AutoCompSetCaseInsensitiveBehaviour | ( | int | behaviour | ) |
Set auto-completion case insensitive behaviour to either prefer case-sensitive matches or have no preference.
void wxScintilla::AutoCompSetChooseSingle | ( | bool | chooseSingle | ) |
Should a single item auto-completion list automatically choose the item.
void wxScintilla::AutoCompSetDropRestOfWord | ( | bool | dropRestOfWord | ) |
Set whether or not autocompletion deletes any word characters after the inserted text upon completion.
void wxScintilla::AutoCompSetFillUps | ( | const wxString & | characterSet | ) |
Define a set of characters that when typed will cause the autocompletion to choose the selected item.
void wxScintilla::AutoCompSetIgnoreCase | ( | bool | ignoreCase | ) |
Set whether case is significant when performing auto-completion searches.
Referenced by CCManager::OnCompleteCode().
void wxScintilla::AutoCompSetMaxHeight | ( | int | rowCount | ) |
Set the maximum height, in rows, of auto-completion and user lists.
The default is 5 rows.
Referenced by CCManager::OnCompleteCode().
void wxScintilla::AutoCompSetMaxWidth | ( | int | characterCount | ) |
Set the maximum width, in characters, of auto-completion and user lists.
Set to 0 to autosize to fit longest item, which is the default.
void wxScintilla::AutoCompSetMulti | ( | int | multi | ) |
Change the effect of autocompleting when there are multiple selections.
void wxScintilla::AutoCompSetOrder | ( | int | order | ) |
Set the way autocompletion lists are ordered.
Referenced by CCManager::OnCompleteCode().
void wxScintilla::AutoCompSetSeparator | ( | int | separatorCharacter | ) |
Change the separator character in the string setting up an auto-completion list.
Default is space but can be changed if items contain space.
Referenced by CCManager::OnCompleteCode().
void wxScintilla::AutoCompSetTypeSeparator | ( | int | separatorCharacter | ) |
Change the type-separator character in the string setting up an auto-completion list.
Default is '?' but can be changed if items contain '?'.
Referenced by CCManager::OnCompleteCode().
void wxScintilla::AutoCompShow | ( | int | lengthEntered, |
const wxString & | itemList | ||
) |
Display a auto-completion list.
The lengthEntered parameter indicates how many characters before the caret should be used to provide context.
Referenced by CCManager::DoBufferedCC(), CCManager::InjectAutoCompShow(), and CCManager::OnCompleteCode().
void wxScintilla::AutoCompStops | ( | const wxString & | characterSet | ) |
Define a set of character that when typed cancel the auto-completion list.
void wxScintilla::BackTab | ( | ) |
Dedent the selected lines.
void wxScintilla::BeginUndoAction | ( | ) |
Start a sequence of actions that is undone and redone as a unit.
May be nested.
Referenced by CodeRefactoring::DoRenameSymbols(), cbStyledTextCtrl::DoSelectionBraceCompletion(), InsertNewLine(), MainFrame::OnEditBoxCommentSelected(), MainFrame::OnEditCommentSelected(), MainFrame::OnEditEOLMode(), MainFrame::OnEditLineMove(), MainFrame::OnEditLinePaste(), cbEditor::OnEditorCharAdded(), MainFrame::OnEditStreamCommentSelected(), MainFrame::OnEditToggleCommentSelected(), MainFrame::OnEditUncommentSelected(), FindReplace::Replace(), FindReplace::ReplaceInFiles(), and cbEditor::Save().
void wxScintilla::BraceBadLight | ( | int | pos | ) |
Highlight the character at a position indicating there is no matching brace.
Referenced by cbEditor::HighlightBraces().
void wxScintilla::BraceBadLightIndicator | ( | bool | useSetting, |
int | indicator | ||
) |
Use specified indicator to highlight non matching brace instead of changing its style.
void wxScintilla::BraceHighlight | ( | int | posA, |
int | posB | ||
) |
Highlight the characters at two positions.
Referenced by cbEditor::HighlightBraces().
void wxScintilla::BraceHighlightIndicator | ( | bool | useSetting, |
int | indicator | ||
) |
Use specified indicator to highlight matching braces instead of changing their style.
int wxScintilla::BraceMatch | ( | int | pos, |
int | maxReStyle = 0 |
||
) |
Find the position of a matching brace or wxSCI_INVALID_POSITION if no match.
The maxReStyle must be 0 for now. It may be defined in a future release.
Referenced by cbStyledTextCtrl::DoBraceCompletion(), cbEditor::GotoMatchingBrace(), cbEditor::HighlightBraces(), and NativeParser::ParseLocalBlock().
bool wxScintilla::CallTipActive | ( | ) |
Is there an active call tip?
Referenced by CCManager::DoBufferedCC(), CodeCompletion::DoCodeComplete(), CCManager::DoShowTips(), CCManager::OnCompleteCode(), CCManager::OnDeactivateApp(), CCManager::OnDeactivateEd(), CCManager::OnEditorHook(), CCManager::OnEditorTooltip(), cbStyledTextCtrl::OnKeyDown(), cbStyledTextCtrl::OnKillFocus(), CCManager::OnMenuSelect(), CCManager::ProcessArrow(), cbDebuggerPlugin::ProcessValueTooltip(), and DebugInterfaceFactory::ShowValueTooltip().
void wxScintilla::CallTipCancel | ( | ) |
Remove the call tip from the screen.
Referenced by cbStyledTextCtrl::CallTipCancel(), and cbStyledTextCtrl::GetLastSelectedText().
int wxScintilla::CallTipPosAtStart | ( | ) |
Retrieve the position where the caret was before displaying the call tip.
void wxScintilla::CallTipSetBackground | ( | const wxColour & | back | ) |
Set the background colour for the call tip.
Referenced by setupColours().
void wxScintilla::CallTipSetForeground | ( | const wxColour & | fore | ) |
Set the foreground colour for the call tip.
Referenced by setupColours().
void wxScintilla::CallTipSetForegroundHighlight | ( | const wxColour & | fore | ) |
Set the foreground colour for the highlighted part of the call tip.
Referenced by setupColours().
void wxScintilla::CallTipSetHighlight | ( | int | highlightStart, |
int | highlightEnd | ||
) |
Highlight a segment of the definition.
Referenced by CCManager::DoShowTips().
void wxScintilla::CallTipSetPosAtStart | ( | int | posStart | ) |
Set the start position in order to change when backspacing removes the calltip.
void wxScintilla::CallTipSetPosition | ( | bool | above | ) |
Set position of calltip, above or below text.
void wxScintilla::CallTipShow | ( | int | pos, |
const wxString & | definition | ||
) |
Show a call tip containing a definition near position pos.
Referenced by CodeCompletion::DoCodeComplete(), and CCManager::DoShowTips().
void wxScintilla::CallTipUseStyle | ( | int | tabSize | ) |
Enable use of wxSCI_STYLE_CALLTIP and set call tip tab size in pixels.
void wxScintilla::Cancel | ( | ) |
Cancel any modes such as call tip or auto-completion list display.
bool wxScintilla::CanPaste | ( | ) | const |
Will a paste succeed?
Referenced by cbEditor::AddToContextMenu(), and cbEditor::CanPaste().
bool wxScintilla::CanRedo | ( | ) | const |
Are there any redoable actions in the undo history?
Referenced by cbEditor::CanRedo(), and cbEditor::CreateContextSubMenu().
bool wxScintilla::CanUndo | ( | ) | const |
Are there any undoable actions in the undo history?
Referenced by cbEditor::CanUndo(), and cbEditor::CreateContextSubMenu().
void wxScintilla::ChangeInsertion | ( | int | length, |
const wxString & | text | ||
) |
Change the text that is being inserted in response to wxSCI_MOD_INSERTCHECK.
int wxScintilla::ChangeLexerState | ( | int | start, |
int | end | ||
) |
Indicate that the internal state of a lexer has changed over a range and therefore there may be a need to redraw.
void wxScintilla::CharLeft | ( | ) |
Move caret left one character.
void wxScintilla::CharLeftExtend | ( | ) |
Move caret left one character extending selection to new caret position.
void wxScintilla::CharLeftRectExtend | ( | ) |
Move caret left one character, extending rectangular selection to new caret position.
int wxScintilla::CharPositionFromPoint | ( | int | x, |
int | y | ||
) |
Find the position of a character from a point within the window.
int wxScintilla::CharPositionFromPointClose | ( | int | x, |
int | y | ||
) |
Find the position of a character from a point within the window.
Return wxSCI_INVALID_POSITION if not close to text.
void wxScintilla::CharRight | ( | ) |
Move caret right one character.
Referenced by cbStyledTextCtrl::DoBraceCompletion(), and cbStyledTextCtrl::OnKeyDown().
void wxScintilla::CharRightExtend | ( | ) |
Move caret right one character extending selection to new caret position.
void wxScintilla::CharRightRectExtend | ( | ) |
Move caret right one character, extending rectangular selection to new caret position.
void wxScintilla::ChooseCaretX | ( | ) |
Set the last x chosen value to be the caret x position.
Referenced by cbEditor::GotoMatchingBrace(), and cbEditor::OnEditorCharAdded().
void wxScintilla::Clear | ( | ) |
Clear the selection.
void wxScintilla::ClearAll | ( | ) |
Delete all text in the document.
Referenced by DisassemblyDlg::AddAssemblerLine(), DisassemblyDlg::AddSourceLine(), DisassemblyDlg::Clear(), and cbEditor::Open().
void wxScintilla::ClearDocumentStyle | ( | ) |
Set all style bytes to 0, remove all folding information.
void wxScintilla::ClearRegisteredImages | ( | ) |
Clear all the registered images.
Referenced by CodeCompletion::DoCodeComplete(), CodeCompletion::DoCodeCompleteIncludes(), and CodeCompletion::DoCodeCompletePreprocessor().
void wxScintilla::ClearRepresentation | ( | const wxString & | encodedCharacter | ) |
Remove a character representation.
void wxScintilla::ClearSelections | ( | ) |
Clear selections to a single empty stream selection.
Referenced by MainFrame::OnEditSelectNextSkip().
void wxScintilla::ClearTabStops | ( | int | line | ) |
Clear explicit tabstops on a line.
void wxScintilla::CmdKeyAssign | ( | int | key, |
int | modifiers, | ||
int | cmd | ||
) |
When key+modifier combination keyDefinition is pressed perform sciCommand.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::CmdKeyClear | ( | int | key, |
int | modifiers | ||
) |
When key+modifier combination keyDefinition is pressed do nothing.
void wxScintilla::CmdKeyClearAll | ( | ) |
Drop all key mappings.
void wxScintilla::CmdKeyExecute | ( | int | cmd | ) |
Perform one of the operations defined by the wxSCI_CMD_* constants.
void wxScintilla::Colourise | ( | int | start, |
int | end | ||
) |
Colourise a segment of the document using the current lexing language.
Referenced by EditorColourSet::Apply(), cbEditor::DoFoldAll(), cbEditor::DoFoldBlockFromLine(), cbEditor::InternalSetEditorStyleAfterFileOpen(), and CodeCompletion::UpdateEditorSyntax().
int wxScintilla::ContractedFoldNext | ( | int | lineStart | ) |
Find the next line at or after lineStart that is a contracted fold header line.
Return -1 when no more lines.
Referenced by cbEditor::UpdateProjectFile().
void wxScintilla::ConvertEOLs | ( | int | eolMode | ) |
Convert all line endings in the document to one mode.
Referenced by cbEditorInternalData::EnsureConsistentLineEnds(), MainFrame::OnEditEOLMode(), FindReplace::Replace(), and FindReplace::ReplaceInFiles().
void wxScintilla::Copy | ( | ) |
Copy the selection to the clipboard.
Referenced by cbEditor::Copy(), and cbEditor::OnContextMenuEntry().
void wxScintilla::CopyAllowLine | ( | ) |
Copy the selection, if selection empty copy the line with the caret.
void wxScintilla::CopyRange | ( | int | start, |
int | end | ||
) |
Copy a range of text to the clipboard. Positions are clipped into the document.
void wxScintilla::CopyText | ( | int | length, |
const wxString & | text | ||
) |
Copy argument text to the clipboard.
int wxScintilla::CountCharacters | ( | int | start, |
int | end | ||
) |
Count characters between two positions.
bool wxScintilla::Create | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = 0 , |
||
const wxString & | name = wxSCINameStr |
||
) |
void* wxScintilla::CreateDocument | ( | ) |
Create a new document object.
Starts with reference count of 1 and not selected into editor.
void* wxScintilla::CreateLoader | ( | int | bytes | ) | const |
Create an ILoader*.
void wxScintilla::Cut | ( | ) |
Cut the selection to the clipboard.
Referenced by cbEditor::Cut(), and cbEditor::OnContextMenuEntry().
|
private |
|
private |
void wxScintilla::DeleteBack | ( | ) |
Delete the selection or if no selection, the character before the caret.
Referenced by cbStyledTextCtrl::DoBraceCompletion(), cbStyledTextCtrl::DoSelectionBraceCompletion(), and cbStyledTextCtrl::OnKeyDown().
void wxScintilla::DeleteBackNotLine | ( | ) |
Delete the selection or if no selection, the character before the caret.
Will not delete the character before at the start of a line.
void wxScintilla::DeleteRange | ( | int | start, |
int | lengthDelete | ||
) |
Delete a range of text in the document.
Referenced by MainFrame::OnEditLineMove().
void wxScintilla::DelLineLeft | ( | ) |
Delete back from the current position to the start of the line.
void wxScintilla::DelLineRight | ( | ) |
Delete forwards from the current position to the end of the line.
void wxScintilla::DelWordLeft | ( | ) |
Delete the word to the left of the caret.
void wxScintilla::DelWordRight | ( | ) |
Delete the word to the right of the caret.
void wxScintilla::DelWordRightEnd | ( | ) |
Delete the word to the right of the caret, but not the trailing non-word characters.
wxString wxScintilla::DescribeKeyWordSets | ( | ) | const |
Retrieve a '\n' separated list of descriptions of the keyword sets understood by the current lexer.
Referenced by EditorConfigurationDlg::OnEditKeywords().
int wxScintilla::DistanceToSecondaryStyles | ( | ) | const |
Where styles are duplicated by a feature such as active/inactive code return the distance between the two types.
int wxScintilla::DocLineFromVisible | ( | int | displayLine | ) |
Find the document line of a display line taking hidden lines into account.
void wxScintilla::DocumentEnd | ( | ) |
Move caret to last position in document.
void wxScintilla::DocumentEndExtend | ( | ) |
Move caret to last position in document extending selection to new caret position.
void wxScintilla::DocumentStart | ( | ) |
Move caret to first position in document.
void wxScintilla::DocumentStartExtend | ( | ) |
Move caret to first position in document extending selection to new caret position.
wxDragResult wxScintilla::DoDragEnter | ( | wxCoord | x, |
wxCoord | y, | ||
wxDragResult | def | ||
) |
Allow for simulating a DnD DragEnter.
void wxScintilla::DoDragLeave | ( | ) |
Allow for simulating a DnD DragLeave.
wxDragResult wxScintilla::DoDragOver | ( | wxCoord | x, |
wxCoord | y, | ||
wxDragResult | def | ||
) |
Allow for simulating a DnD DragOver.
bool wxScintilla::DoDropText | ( | long | x, |
long | y, | ||
const wxString & | data | ||
) |
Allow for simulating a DnD DropText.
|
overrideprotectedvirtual |
|
inlineprotectedvirtual |
Definition at line 5350 of file wxscintilla.h.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
void wxScintilla::DropSelectionN | ( | int | selection | ) |
Drop one selection.
void wxScintilla::EditToggleOvertype | ( | ) |
Switch from insert to overtype mode or the reverse.
void wxScintilla::EmptyUndoBuffer | ( | bool | collectChangeHistory = false | ) |
Delete the undo history.
Referenced by cbEditor::ClearHistory(), cbEditor::OnContextMenuEntry(), and cbEditor::Open().
void wxScintilla::EndUndoAction | ( | ) |
End a sequence of actions that is undone and redone as a unit.
Referenced by CodeRefactoring::DoRenameSymbols(), cbStyledTextCtrl::DoSelectionBraceCompletion(), InsertNewLine(), MainFrame::OnEditBoxCommentSelected(), MainFrame::OnEditCommentSelected(), MainFrame::OnEditEOLMode(), MainFrame::OnEditLineMove(), MainFrame::OnEditLinePaste(), cbEditor::OnEditorCharAdded(), MainFrame::OnEditStreamCommentSelected(), MainFrame::OnEditToggleCommentSelected(), MainFrame::OnEditUncommentSelected(), FindReplace::Replace(), FindReplace::ReplaceInFiles(), and cbEditor::Save().
void wxScintilla::EnsureCaretVisible | ( | ) |
Ensure the caret is visible.
void wxScintilla::EnsureVisible | ( | int | line | ) |
Ensure a particular line is visible by expanding any header line hiding it.
Referenced by FindReplace::Find(), cbEditor::GotoLine(), FindReplace::Replace(), and FindReplace::ReplaceInFiles().
void wxScintilla::EnsureVisibleEnforcePolicy | ( | int | line | ) |
Ensure a particular line is visible by expanding any header line hiding it.
Use the currently set visibility policy to determine which range to display.
Referenced by cbEditor::DoFoldBlockFromLine().
void wxScintilla::ExpandChildren | ( | int | line, |
int | level | ||
) |
Expand a fold header and all children. Use the level argument instead of the line's current level.
int wxScintilla::FindChangedLine | ( | const int | fromLine, |
const int | toLine | ||
) | const |
Find a changed line, if fromLine > toLine search is performed backwards.
Referenced by cbEditor::GotoNextChanged(), and cbEditor::GotoPreviousChanged().
int wxScintilla::FindColumn | ( | int | line, |
int | column | ||
) |
Find the position of a column on a line taking into account tabs and multi-byte characters.
If beyond end of line, return line end position.
int wxScintilla::FindText | ( | int | minPos, |
int | maxPos, | ||
const wxString & | text, | ||
int | flags = 0 , |
||
int * | findEnd = NULL |
||
) |
Find some text in the document.
Referenced by FindReplace::Find(), CodeRefactoring::Find(), cbSmartIndentPlugin::FindBlockStart(), cbEditor::GotoTokenPosition(), MainFrame::OnEditSelectAll(), FindReplace::Replace(), and FindReplace::ReplaceInFiles().
void wxScintilla::FoldAll | ( | int | action | ) |
Expand or contract all fold headers.
void wxScintilla::FoldChildren | ( | int | line, |
int | action | ||
) |
Expand or contract a fold header and its children.
void wxScintilla::FoldDisplayTextSetStyle | ( | int | style | ) |
Set the style of fold display text.
void wxScintilla::FoldLine | ( | int | line, |
int | action | ||
) |
Expand or contract a fold header.
Referenced by cbEditor::DoFoldAll(), and cbEditor::DoFoldBlockFromLine().
int wxScintilla::FormatRange | ( | bool | doDraw, |
int | startPos, | ||
int | endPos, | ||
wxDC * | draw, | ||
wxDC * | target, | ||
wxRect | renderRect, | ||
wxRect | pageRect | ||
) |
On Windows, will draw the document into a display context such as a printer.
Referenced by cbEditorPrintout::GetPageInfo(), and cbEditorPrintout::OnPrintPage().
void wxScintilla::FormFeed | ( | ) |
Insert a Form Feed character.
void wxScintilla::FreeSubStyles | ( | ) |
Free allocated sub styles.
wxColour wxScintilla::GetAdditionalCaretForeground | ( | ) | const |
Get the foreground colour of additional carets.
bool wxScintilla::GetAdditionalCaretsBlink | ( | ) | const |
Whether additional carets will blink.
bool wxScintilla::GetAdditionalCaretsVisible | ( | ) | const |
Whether additional carets are visible.
int wxScintilla::GetAdditionalSelAlpha | ( | ) | const |
Get the alpha of the selection.
bool wxScintilla::GetAdditionalSelectionTyping | ( | ) | const |
Whether typing can be performed into multiple selections.
bool wxScintilla::GetAllLinesVisible | ( | ) | const |
Are all lines visible?
int wxScintilla::GetAnchor | ( | ) | const |
Returns the position of the opposite end of the selection to the caret.
Referenced by cbEditor::Save().
int wxScintilla::GetAutomaticFold | ( | ) | const |
Get automatic folding behaviours.
bool wxScintilla::GetBackSpaceUnIndents | ( | ) | const |
Does a backspace pressed when caret is within indentation unindent?
bool wxScintilla::GetBufferedDraw | ( | ) | const |
Is drawing done first into a buffer or direct to the screen?
wxColour wxScintilla::GetCaretForeground | ( | ) | const |
Get the foreground colour of the caret.
Referenced by cbStyledTextCtrl::HighlightRightBrace().
int wxScintilla::GetCaretLineBackAlpha | ( | ) | const |
Get the background alpha of the caret line.
wxColour wxScintilla::GetCaretLineBackground | ( | ) | const |
Get the colour of the background of the line containing the caret.
Referenced by cbEditor::SetLanguageDependentColours().
bool wxScintilla::GetCaretLineVisible | ( | ) | const |
Is the background of the line containing the caret in a different colour?
bool wxScintilla::GetCaretLineVisibleAlways | ( | ) | const |
Is the caret line always visible?
int wxScintilla::GetCaretPeriod | ( | ) | const |
Get the time in milliseconds that the caret is on and off.
int wxScintilla::GetCaretSticky | ( | ) | const |
Can the caret preferred x position only be changed by explicit movement commands?
int wxScintilla::GetCaretStyle | ( | ) | const |
Returns the current style of the caret.
int wxScintilla::GetCaretWidth | ( | ) | const |
Returns the width of the insert mode caret.
Referenced by cbStyledTextCtrl::HighlightRightBrace().
int wxScintilla::GetCharAt | ( | int | pos | ) | const |
Returns the character byte at the position.
Referenced by CodeCompletion::DoAutocomplete(), cbStyledTextCtrl::DoBraceCompletion(), CCManager::DoUpdateCallTip(), NativeParser::FindCurrentFunctionStart(), CodeCompletion::GetAutocompList(), NativeParser::GetCallTips(), cbSmartIndentPlugin::GetFirstBraceInLine(), cbSmartIndentPlugin::GetLastNonCommentWord(), CodeCompletionHelper::GetLastNonWhitespaceChar(), cbSmartIndentPlugin::GetLastNonWhitespaceChars(), CodeCompletionHelper::GetNextNonWhitespaceChar(), cbSmartIndentPlugin::GetNextNonWhitespaceCharOfLine(), cbSmartIndentPlugin::GetNextNonWhitespaceCharOnLine(), cbEditorInternalData::GetUrl(), cbEditor::HighlightBraces(), cbStyledTextCtrl::HighlightRightBrace(), MainFrame::OnEditStreamCommentSelected(), cbStyledTextCtrl::OnKeyDown(), cbStyledTextCtrl::OnKeyUp(), CCManager::OnShowCallTip(), NativeParser::ParseLocalBlock(), and cbEditorInternalData::StripTrailingSpaces().
int wxScintilla::GetCodePage | ( | ) | const |
Get the code page used to interpret the bytes of the document as characters.
int wxScintilla::GetColumn | ( | int | pos | ) | const |
Retrieve the column number of a position, taking tab width into account.
Referenced by CCManager::DoShowTips(), MainFrame::DoUpdateStatusBar(), CCManagerHelper::FindColumn(), cbEditor::HighlightBraces(), MainFrame::OnEditBoxCommentSelected(), MainFrame::OnEditCommentSelected(), MainFrame::OnEditStreamCommentSelected(), MainFrame::OnEditToggleCommentSelected(), MainFrame::OnEditUncommentSelected(), MacrosManager::RecalcVars(), and cbEditor::Save().
int wxScintilla::GetControlCharSymbol | ( | ) | const |
Get the way control characters are displayed.
Retrieve the text of the line containing the caret.
Referenced by CodeCompletion::DoCodeCompleteIncludes(), cbEditor::GotoMatchingBrace(), and cbEditor::OnEditorCharAdded().
wxCharBuffer wxScintilla::GetCurLineRaw | ( | int * | linePos = NULL | ) |
Retrieve the text of the line containing the caret.
Returns the index of the caret on the line.
int wxScintilla::GetCurrentLine | ( | ) |
Manually declared methods.
Returns the line number of the line with the caret.
Referenced by cbEditor::AddBreakpoint(), ConfirmReplaceDlg::CalcPosition(), DisassemblyDlg::CenterCurrentLine(), CodeCompletion::DoAutocomplete(), CodeCompletion::DoCodeCompleteIncludes(), CodeRefactoring::DoFindReferences(), MainFrame::DoUpdateStatusBar(), CodeCompletion::EditorEventHook(), cbEditor::FoldBlockFromLine(), CodeCompletion::GetAutocompList(), CodeCompletion::GotoFunctionPrevNext(), cbEditor::GotoMatchingBrace(), cbEditor::GotoNextChanged(), cbEditor::GotoPreviousChanged(), cbEditor::HasBreakpoint(), cbStyledTextCtrl::HighlightRightBrace(), cbEditor::LineHasMarker(), cbEditor::MarkerNext(), cbEditor::MarkerPrevious(), cbEditor::MarkerToggle(), DisassemblyDlg::OnAdjustLine(), CCManager::OnAutocompleteSelect(), CodeCompletion::OnGotoDeclaration(), DebuggerMenuHandler::OnRunToCursor(), DebuggerMenuHandler::OnSetNextStatement(), CodeCompletion::ParseFunctionsAndFillToolbar(), MacrosManager::RecalcVars(), cbEditor::RemoveBreakpoint(), cbEditor::ToggleBreakpoint(), cbEditor::ToggleFoldBlockFromLine(), and cbEditor::UnfoldBlockFromLine().
int wxScintilla::GetCurrentPos | ( | ) | const |
Returns the position of the caret.
Referenced by NativeParser::AI(), cbStyledTextCtrl::AllowTabSmartJump(), ConfirmReplaceDlg::CalcPosition(), FindReplace::CalculateFindReplaceStartEnd(), EditorBase::DisplayContextMenu(), CodeCompletion::DoAllMethodsImpl(), CodeCompletion::DoAutocomplete(), cbStyledTextCtrl::DoBraceCompletion(), CodeCompletion::DoClassMethodDeclImpl(), CodeCompletion::DoCodeComplete(), cbStyledTextCtrl::DoSelectionBraceCompletion(), CCManager::DoUpdateCallTip(), MainFrame::DoUpdateStatusBar(), CodeCompletionHelper::EditorHasNameUnderCursor(), cbStyledTextCtrl::EnableTabSmartJump(), NativeParser::FindCurrentFunctionStart(), FindReplace::FindSelectedText(), NativeParser::GetCallTips(), cbDebuggerPlugin::GetEditorWordAtCaret(), cbSmartIndentPlugin::GetFirstBraceInLine(), cbSmartIndentPlugin::GetLastNonCommentWord(), cbSmartIndentPlugin::GetLastNonWhitespaceChars(), cbEditor::GetLineIndentInSpaces(), cbEditorInternalData::GetLineIndentString(), cbSmartIndentPlugin::GetNextNonWhitespaceCharOfLine(), cbSmartIndentPlugin::GetNextNonWhitespaceCharOnLine(), GetSelectedText(), CodeRefactoring::GetSymbolUnderCursor(), cbEditorInternalData::GetUrl(), cbEditor::GotoMatchingBrace(), cbEditor::GotoNextChanged(), cbEditor::GotoPreviousChanged(), cbEditor::GotoTokenPosition(), cbEditor::HighlightBraces(), cbStyledTextCtrl::HighlightRightBrace(), InsertNewLine(), CCManager::OnCompleteCode(), MainFrame::OnEditLinePaste(), cbEditor::OnEditorCharAdded(), CCManager::OnEditorHook(), MainFrame::OnEditStreamCommentSelected(), CodeCompletion::OnGotoDeclaration(), cbStyledTextCtrl::OnKeyDown(), cbStyledTextCtrl::OnKeyUp(), CCManager::OnMenuSelect(), cbStyledTextCtrl::OnMouseMiddleDown(), CCManager::OnShowCallTip(), CCManager::OnTimer(), CodeRefactoring::Parse(), NativeParser::ParseFunctionArguments(), NativeParser::ParseLocalBlock(), NativeParser::ParseUsingNamespace(), MacrosManager::RecalcVars(), cbEditor::Reload(), cbEditor::Save(), FindReplace::ShowFindDialog(), and cbEditor::UpdateProjectFile().
void* wxScintilla::GetDirectFunction | ( | ) | const |
Retrieve a pointer to a function that processes messages for this Scintilla.
void* wxScintilla::GetDirectPointer | ( | ) | const |
Retrieve a pointer value to use as the first argument when calling the function returned by GetDirectFunction.
void* wxScintilla::GetDocPointer | ( | ) |
Retrieve a pointer to the document object.
Referenced by cbEditor::Split().
wxColour wxScintilla::GetEdgeColour | ( | ) | const |
Retrieve the colour used in edge indication.
int wxScintilla::GetEdgeColumn | ( | ) | const |
Retrieve the column number which text should be kept within.
int wxScintilla::GetEdgeMode | ( | ) | const |
Retrieve the edge highlight mode.
Referenced by cbEditor::Print().
|
inlineprotectedvirtual |
Definition at line 5351 of file wxscintilla.h.
bool wxScintilla::GetEndAtLastLine | ( | ) | const |
Retrieve whether the maximum scroll position has the last line at the bottom of the view.
int wxScintilla::GetEndStyled | ( | ) | const |
Retrieve the position of the last correctly styled character.
int wxScintilla::GetEOLMode | ( | ) | const |
Retrieve the current end of line mode - one of wxSCI_EOL_CRLF, wxSCI_EOL_CR, or wxSCI_EOL_LF.
Referenced by CodeCompletion::DoAllMethodsImpl(), CodeCompletion::DoClassMethodDeclImpl(), MainFrame::DoUpdateStatusBar(), cbEditorInternalData::EnsureConsistentLineEnds(), cbEditorInternalData::EnsureFinalLineEnd(), FindReplace::Find(), InsertNewLine(), MainFrame::OnEditBoxCommentSelected(), MainFrame::OnEditEOLMode(), MainFrame::OnEditMenuUpdateUI(), cbEditor::OnEditorCharAdded(), FindReplace::Replace(), and FindReplace::ReplaceInFiles().
int wxScintilla::GetExtraAscent | ( | ) | const |
Get extra ascent for each line.
int wxScintilla::GetExtraDescent | ( | ) | const |
Get extra descent for each line.
int wxScintilla::GetFirstVisibleLine | ( | ) | const |
Retrieve the display line at the top of the display.
Referenced by CCManagerHelper::IsPosVisible(), cbStyledTextCtrl::MakeNearbyLinesVisible(), DisassemblyDlg::OnAdjustLine(), DisassemblyDlg::SetActiveAddress(), and cbEditor::UpdateProjectFile().
bool wxScintilla::GetFoldExpanded | ( | int | line | ) | const |
Is a header line expanded?
Referenced by cbEditor::DoFoldAll(), cbEditor::DoFoldBlockFromLine(), and cbEditor::OnEditorModified().
int wxScintilla::GetFoldLevel | ( | int | line | ) | const |
Retrieve the fold level of a line.
Referenced by cbEditor::DoFoldAll(), cbEditor::DoFoldBlockFromLine(), cbEditor::FixFoldState(), and cbEditor::SaveFoldState().
int wxScintilla::GetFoldParent | ( | int | line | ) | const |
Find the parent line of a child line.
Referenced by cbEditor::DoFoldBlockFromLine(), and cbEditor::FixFoldState().
int wxScintilla::GetFontQuality | ( | ) | const |
Retrieve the quality level for text.
int wxScintilla::GetGapPosition | ( | ) | const |
Return a position which, to avoid performance costs, should not be within the range of a call to GetRangePointer.
int wxScintilla::GetHighlightGuide | ( | ) | const |
Get the highlighted indentation guide column.
wxColour wxScintilla::GetHotspotActiveBackground | ( | ) | const |
Get the back colour for active hotspots.
wxColour wxScintilla::GetHotspotActiveForeground | ( | ) | const |
Get the fore colour for active hotspots.
bool wxScintilla::GetHotspotActiveUnderline | ( | ) | const |
Get whether underlining for active hotspots.
bool wxScintilla::GetHotspotSingleLine | ( | ) | const |
Get the HotspotSingleLine property.
int wxScintilla::GetIdentifier | ( | ) | const |
Get the identifier.
int wxScintilla::GetIdleStyling | ( | ) | const |
Retrieve the limits to idle styling.
int wxScintilla::GetIMEInteraction | ( | ) | const |
Is the IME displayed in a window or inline?
int wxScintilla::GetIndent | ( | ) | const |
Retrieve indentation size.
int wxScintilla::GetIndentationGuides | ( | ) | const |
Are the indentation guides visible?
int wxScintilla::GetIndicatorCurrent | ( | ) | const |
Get the current indicator.
int wxScintilla::GetIndicatorValue | ( | ) | const |
Get the current indicator value.
|
inlinevirtual |
Definition at line 5286 of file wxscintilla.h.
int wxScintilla::GetLastChild | ( | int | line, |
int | level | ||
) | const |
Find the last child line of a header line.
Referenced by cbEditor::DoFoldAll(), and cbEditor::OnEditorModified().
|
inline |
Can be used to prevent the EVT_CHAR handler from adding the char.
Definition at line 5164 of file wxscintilla.h.
|
inlinevirtual |
Definition at line 5287 of file wxscintilla.h.
int wxScintilla::GetLayoutCache | ( | ) | const |
Retrieve the degree of caching of layout information.
int wxScintilla::GetLength | ( | ) | const |
Returns the number of bytes in the document.
Referenced by NativeParser::AI(), FindReplace::CalculateFindReplaceStartEnd(), cbEditor::CanSelectAll(), cbEditorPrintout::cbEditorPrintout(), cbStyledTextCtrl::DoBraceCompletion(), CodeCompletion::EditorEventHook(), FindReplace::Find(), CodeRefactoring::Find(), NativeParser::FindCurrentFunctionStart(), CodeCompletionHelper::GetNextNonWhitespaceChar(), cbStyledTextCtrl::HighlightRightBrace(), CCManager::OnEditorTooltip(), MainFrame::OnEditSelectAll(), MainFrame::OnEditStreamCommentSelected(), CodeCompletion::OnRealtimeParsingTimer(), MainFrame::OnSearchGotoLine(), NativeParser::ParseFunctionArguments(), NativeParser::ParseLocalBlock(), NativeParser::ParseUsingNamespace(), and FindReplace::Replace().
int wxScintilla::GetLexer | ( | ) | const |
Retrieve the lexing language of the document.
Referenced by CodeCompletion::DoCodeCompletePreprocessor(), cbEditorInternalData::GetUrl(), cbStyledTextCtrl::IsCharacter(), cbStyledTextCtrl::IsComment(), cbStyledTextCtrl::IsPreprocessor(), cbStyledTextCtrl::IsString(), OverrideUseTabsPerLanguage(), cbEditorInternalData::StripTrailingSpaces(), and CodeCompletion::UpdateEditorSyntax().
wxString wxScintilla::GetLexerLanguage | ( | ) | const |
Retrieve the lexing language of the document.
|
static |
Referenced by dlgAbout::dlgAbout().
wxString wxScintilla::GetLine | ( | int | line | ) | const |
Retrieve the contents of a line.
Referenced by CodeCompletion::DoAutocomplete(), CodeCompletionHelper::EditorHasNameUnderCursor(), CodeRefactoring::Find(), FindReplace::FindInFiles(), cbEditor::GetLineIndentInSpaces(), cbEditorInternalData::GetLineIndentString(), cbEditor::GotoMatchingBrace(), cbEditor::OnEditorCharAdded(), MainFrame::OnEditToggleCommentSelected(), MainFrame::OnEditUncommentSelected(), DebuggerMenuHandler::OnRunToCursor(), and DisassemblyDlg::SetActiveAddress().
int wxScintilla::GetLineCount | ( | ) | const |
Returns the number of lines in the document. There is always at least one.
Referenced by cbEditorInternalData::DetectIndentStyle(), cbEditor::DoFoldAll(), cbEditorInternalData::EnsureFinalLineEnd(), cbEditor::FixFoldState(), cbEditorInternalData::GetUrl(), cbEditor::GotoMatchingBrace(), cbEditor::GotoNextChanged(), cbEditor::GotoPreviousChanged(), cbEditor::GotoTokenPosition(), cbEditor::MarkerPrevious(), MainFrame::OnEditLineMove(), cbEditor::SaveFoldState(), DisassemblyDlg::SetActiveAddress(), cbEditorInternalData::SetLineNumberColWidth(), and cbEditorInternalData::StripTrailingSpaces().
int wxScintilla::GetLineEndPosition | ( | int | line | ) | const |
Get the position after the last visible characters on a line.
Referenced by CodeCompletion::DoAllMethodsImpl(), CodeCompletion::DoAutocomplete(), CCManager::DoShowTips(), CCManagerHelper::FindColumn(), cbEditorInternalData::GetUrl(), cbStyledTextCtrl::HighlightRightBrace(), MainFrame::OnEditBoxCommentSelected(), MainFrame::OnEditCommentSelected(), MainFrame::OnEditLineMove(), MainFrame::OnEditStreamCommentSelected(), NativeParser::ParseLocalBlock(), and cbEditorInternalData::StripTrailingSpaces().
int wxScintilla::GetLineEndTypesActive | ( | ) | const |
Get the line end types currently recognised. May be a subset of the allowed types due to lexer limitation.
int wxScintilla::GetLineEndTypesAllowed | ( | ) | const |
Get the line end types currently allowed.
int wxScintilla::GetLineEndTypesSupported | ( | ) | const |
Bit set of LineEndType enumertion for which line ends beyond the standard LF, CR, and CRLF are supported by the lexer.
int wxScintilla::GetLineIndentation | ( | int | line | ) | const |
Retrieve the number of columns that a line is indented.
int wxScintilla::GetLineIndentPosition | ( | int | line | ) | const |
Retrieve the position before the first non indentation character on a line.
Referenced by CodeCompletion::GetAutocompList(), and cbStyledTextCtrl::HighlightRightBrace().
wxCharBuffer wxScintilla::GetLineRaw | ( | int | line | ) |
Retrieve the contents of a line.
int wxScintilla::GetLineSelEndPosition | ( | int | line | ) |
Retrieve the position of the end of the selection at the given line (wxSCI_INVALID_POSITION if no selection on this line).
int wxScintilla::GetLineSelStartPosition | ( | int | line | ) |
Retrieve the position of the start of the selection at the given line (wxSCI_INVALID_POSITION if no selection on this line).
int wxScintilla::GetLineState | ( | int | line | ) | const |
Retrieve the extra styling information for a line.
bool wxScintilla::GetLineVisible | ( | int | line | ) | const |
Is a line visible?
Referenced by cbEditor::FixFoldState(), and DisassemblyDlg::SetActiveAddress().
int wxScintilla::GetMainSelection | ( | ) | const |
Which selection is the main selection.
Referenced by MainFrame::OnEditSelectAll().
wxColour wxScintilla::GetMarginBackground | ( | int | margin | ) | const |
Retrieve the background colour of a margin.
int wxScintilla::GetMarginCount | ( | ) | const |
How many margins are there?.
int wxScintilla::GetMarginCursor | ( | int | margin | ) | const |
Retrieve the cursor shown in a margin.
int wxScintilla::GetMarginLeft | ( | ) | const |
Returns the size in pixels of the left margin.
int wxScintilla::GetMarginMask | ( | int | margin | ) | const |
Retrieve the marker mask of a margin.
Referenced by cbEditor::InternalSetEditorStyleAfterFileOpen(), and cbEditor::InternalSetEditorStyleBeforeFileOpen().
int wxScintilla::GetMarginOptions | ( | ) | const |
Get the margin options.
int wxScintilla::GetMarginRight | ( | ) | const |
Returns the size in pixels of the right margin.
bool wxScintilla::GetMarginSensitive | ( | int | margin | ) | const |
Retrieve the mouse click sensitivity of a margin.
int wxScintilla::GetMarginType | ( | int | margin | ) | const |
Retrieve the type of a margin.
Referenced by cbEditor::Print().
int wxScintilla::GetMarginWidth | ( | int | margin | ) | const |
Retrieve the width of a margin in pixels.
Referenced by CCManager::DoShowTips(), cbEditor::OnBeforeBuildContextMenu(), cbEditor::Print(), and cbEditor::Split().
int wxScintilla::GetMarkerSymbolDefined | ( | int | markerNumber | ) |
Which symbol was defined for markerNumber with MarkerDefine.
int wxScintilla::GetMaxLineState | ( | ) | const |
Retrieve the last line number that has line state.
int wxScintilla::GetModEventMask | ( | ) | const |
Get which document modification events are sent to the container.
bool wxScintilla::GetModify | ( | ) | const |
Is the document different from when it was last saved?
Referenced by NativeParser::FindCurrentFunctionStart(), cbEditor::GetModified(), and cbEditor::OnEditorChange().
bool wxScintilla::GetMouseDownCaptures | ( | ) | const |
Get whether mouse gets captured.
int wxScintilla::GetMouseDwellTime | ( | ) | const |
Retrieve the time the mouse must sit still to generate a mouse dwell event.
bool wxScintilla::GetMouseSelectionRectangularSwitch | ( | ) | const |
Whether switching to rectangular mode while selecting with the mouse is allowed.
bool wxScintilla::GetMouseWheelCaptures | ( | ) | const |
Get whether mouse wheel can be active outside the window.
int wxScintilla::GetMultiPaste | ( | ) | const |
Retrieve the effect of pasting when there are multiple selections.
bool wxScintilla::GetMultipleSelection | ( | ) | const |
Whether multiple selections can be made.
int wxScintilla::GetNextTabStop | ( | int | line, |
int | x | ||
) |
Find the next explicit tab stop position on a line after a position.
bool wxScintilla::GetOvertype | ( | ) | const |
Returns true if overtype mode is active otherwise false is returned.
Referenced by MainFrame::DoUpdateStatusBar().
bool wxScintilla::GetPasteConvertEndings | ( | ) | const |
Get convert-on-paste setting.
int wxScintilla::GetPhasesDraw | ( | ) | const |
How many phases is drawing done in?
int wxScintilla::GetPositionCacheSize | ( | ) | const |
How many entries are allocated to the position cache?
int wxScintilla::GetPrimaryStyleFromStyle | ( | int | style | ) | const |
For a secondary style, return the primary style, else return the argument.
int wxScintilla::GetPrintColourMode | ( | ) | const |
Returns the print colour mode.
int wxScintilla::GetPrintMagnification | ( | ) | const |
Returns the print magnification.
int wxScintilla::GetPrintWrapMode | ( | ) | const |
Is printing line wrapped?
Retrieve a "property" value previously set with SetProperty.
Retrieve a "property" value previously set with SetProperty, with "$()" variable replacement on returned buffer.
int wxScintilla::GetPropertyInt | ( | const wxString & | key, |
int | defaultValue = 0 |
||
) | const |
Retrieve a "property" value previously set with SetProperty, interpreted as an int AFTER any "$()" variable replacement.
wxString wxScintilla::GetPunctuationChars | ( | ) | const |
Get the set of characters making up punctuation characters.
const char* wxScintilla::GetRangePointer | ( | int | position, |
int | rangeLength | ||
) | const |
Return a read-only pointer to a range of characters in the document.
May move the gap so that the range is contiguous, but will only move up to rangeLength bytes.
bool wxScintilla::GetReadOnly | ( | ) | const |
int wxScintilla::GetRectangularSelectionAnchor | ( | ) | const |
Return the anchor position of the rectangular selection.
int wxScintilla::GetRectangularSelectionAnchorVirtualSpace | ( | ) | const |
Return the virtual space of the anchor of the rectangular selection.
int wxScintilla::GetRectangularSelectionCaret | ( | ) | const |
Return the caret position of the rectangular selection.
int wxScintilla::GetRectangularSelectionCaretVirtualSpace | ( | ) | const |
Return the virtual space of the caret of the rectangular selection.
int wxScintilla::GetRectangularSelectionModifier | ( | ) | const |
Get the modifier key used for rectangular selection.
Set the way a character is drawn.
int wxScintilla::GetSCICursor | ( | ) | const |
Get cursor type.
bool wxScintilla::GetSCIFocus | ( | ) | const |
Get internal focus flag.
int wxScintilla::GetScrollWidth | ( | ) | const |
Retrieve the document width assumed for scrolling.
bool wxScintilla::GetScrollWidthTracking | ( | ) | const |
Retrieve whether the scroll width tracks wide lines.
int wxScintilla::GetSearchFlags | ( | ) | const |
Get the search flags used by SearchInTarget.
int wxScintilla::GetSelAlpha | ( | ) | const |
Get the alpha of the selection.
wxString wxScintilla::GetSelectedText | ( | ) |
Retrieve the selected text.
Referenced by cbEditorPrintout::cbEditorPrintout(), EditorBase::DisplayContextMenu(), FindReplace::FindNext(), FindReplace::FindSelectedText(), cbDebuggerPlugin::GetEditorWordAtCaret(), GetSelectedText(), cbEditorInternalData::GetUrl(), cbStyledTextCtrl::OnKeyDown(), cbStyledTextCtrl::OnMouseMiddleDown(), PrintDialog::PrintDialog(), FindReplace::Replace(), FindReplace::ReplaceInFiles(), and FindReplace::ShowFindDialog().
wxCharBuffer wxScintilla::GetSelectedTextRaw | ( | ) |
Retrieve the selected text.
|
inlinevirtual |
Definition at line 5310 of file wxscintilla.h.
|
inline |
kept for compatibility only
Definition at line 5319 of file wxscintilla.h.
bool wxScintilla::GetSelectionEmpty | ( | ) | const |
Is every selected range empty?
Referenced by cbEditor::AddToContextMenu(), and cbEditor::CreateContextSubMenu().
int wxScintilla::GetSelectionEnd | ( | ) | const |
Returns the position at the end of the selection.
Referenced by FindReplace::CalculateFindReplaceStartEnd(), cbEditorPrintout::cbEditorPrintout(), cbDebuggerPlugin::GetEditorWordAtCaret(), cbEditor::HasSelection(), cbEditor::OnBeforeBuildContextMenu(), MainFrame::OnEditBoxCommentSelected(), MainFrame::OnEditCommentSelected(), MainFrame::OnEditLineMove(), MainFrame::OnEditStreamCommentSelected(), MainFrame::OnEditToggleCommentSelected(), MainFrame::OnEditUncommentSelected(), cbStyledTextCtrl::OnMouseMiddleDown(), FindReplace::Replace(), FindReplace::ReplaceInFiles(), and FindReplace::ShowFindDialog().
int wxScintilla::GetSelectionMode | ( | ) | const |
Get the mode of the current selection.
int wxScintilla::GetSelectionNAnchor | ( | int | selection | ) | const |
Return the anchor position of the nth selection.
Referenced by MainFrame::OnEditSelectAll(), and MainFrame::OnEditSelectNextSkip().
int wxScintilla::GetSelectionNAnchorVirtualSpace | ( | int | selection | ) | const |
Return the virtual space of the anchor of the nth selection.
int wxScintilla::GetSelectionNCaret | ( | int | selection | ) | const |
Return the caret position of the nth selection.
Referenced by MainFrame::OnEditSelectAll(), and MainFrame::OnEditSelectNextSkip().
int wxScintilla::GetSelectionNCaretVirtualSpace | ( | int | selection | ) | const |
Return the virtual space of the caret of the nth selection.
int wxScintilla::GetSelectionNEnd | ( | int | selection | ) | const |
Returns the position at the end of the selection.
int wxScintilla::GetSelectionNStart | ( | int | selection | ) | const |
Returns the position at the start of the selection.
int wxScintilla::GetSelections | ( | ) | const |
How many selections are there?
Referenced by cbStyledTextCtrl::DoSelectionBraceCompletion(), MainFrame::OnEditLineMove(), MainFrame::OnEditSelectAll(), and MainFrame::OnEditSelectNextSkip().
int wxScintilla::GetSelectionStart | ( | ) | const |
Returns the position at the start of the selection.
Referenced by FindReplace::CalculateFindReplaceStartEnd(), cbEditorPrintout::cbEditorPrintout(), FindReplace::FindInFiles(), cbDebuggerPlugin::GetEditorWordAtCaret(), cbEditor::HasSelection(), cbEditor::OnBeforeBuildContextMenu(), MainFrame::OnEditBoxCommentSelected(), MainFrame::OnEditCommentSelected(), MainFrame::OnEditLineMove(), MainFrame::OnEditStreamCommentSelected(), MainFrame::OnEditToggleCommentSelected(), MainFrame::OnEditUncommentSelected(), cbStyledTextCtrl::OnMouseMiddleDown(), FindReplace::Replace(), FindReplace::ReplaceInFiles(), and FindReplace::ShowFindDialog().
bool wxScintilla::GetSelEOLFilled | ( | ) | const |
Is the selection end of line filled?
int wxScintilla::GetStatus | ( | ) | const |
Get error status.
int wxScintilla::GetStyleAt | ( | int | pos | ) | const |
Returns the style byte at the position.
Referenced by cbStyledTextCtrl::AllowTabSmartJump(), CodeCompletion::DoAutocomplete(), cbStyledTextCtrl::DoBraceCompletion(), cbStyledTextCtrl::EmulateDwellStart(), CodeCompletion::GetAutocompList(), NativeParser::GetCallTips(), cbSmartIndentPlugin::GetFirstBraceInLine(), cbSmartIndentPlugin::GetLastNonCommentWord(), CodeCompletionHelper::GetLastNonWhitespaceChar(), cbSmartIndentPlugin::GetLastNonWhitespaceChars(), CodeCompletionHelper::GetNextNonWhitespaceChar(), CodeRefactoring::GetSymbolUnderCursor(), CodeCompletion::GetTokenAt(), cbEditorInternalData::GetUrl(), cbStyledTextCtrl::HighlightRightBrace(), cbEditor::OnEditorDwellStart(), CCManager::OnMenuSelect(), CCManager::OnShowCallTip(), NativeParser::ParseLocalBlock(), and CodeRefactoring::VerifyResult().
wxMemoryBuffer wxScintilla::GetStyledText | ( | int | startPos, |
int | endPos | ||
) |
Retrieve a buffer of cells.
int wxScintilla::GetStyleFromSubStyle | ( | int | subStyle | ) | const |
For a sub style, return the base style, else return the argument.
wxString wxScintilla::GetSubStyleBases | ( | ) | const |
Get the set of base styles that can be extended with sub styles.
int wxScintilla::GetSubStylesLength | ( | int | styleBase | ) | const |
The number of sub styles associated with a base style.
int wxScintilla::GetSubStylesStart | ( | int | styleBase | ) | const |
The starting style number for the sub styles associated with a base style.
int wxScintilla::GetTabDrawMode | ( | ) | const |
Retrieve the current tab draw mode.
Returns one of wxSCI_TD_* constants.
bool wxScintilla::GetTabIndents | ( | ) | const |
Does a tab pressed when caret is within indentation indent?
int wxScintilla::GetTabWidth | ( | ) | const |
Retrieve the visible size of a tab.
Referenced by CodeCompletion::DoAllMethodsImpl(), CodeCompletion::DoClassMethodDeclImpl(), cbSmartIndentPlugin::GetFirstBraceInLine(), cbEditor::GetLineIndentInSpaces(), and cbSmartIndentPlugin::Indent().
wxString wxScintilla::GetTag | ( | int | tagNumber | ) | const |
Retrieve the value of a tag from a regular expression search.
int wxScintilla::GetTargetEnd | ( | ) | const |
Get the position that ends the target.
int wxScintilla::GetTargetStart | ( | ) | const |
Get the position that starts the target.
wxString wxScintilla::GetTargetText | ( | ) | const |
Retrieve the text in the target.
wxCharBuffer wxScintilla::GetTargetTextRaw | ( | ) |
Retrieve the target text.
int wxScintilla::GetTechnology | ( | ) | const |
Get the tech.
wxString wxScintilla::GetText | ( | ) | const |
Retrieve all the text in the document.
Referenced by CrashHandlerSaveEditorFiles(), FindReplace::FindInFiles(), FileManager::Load(), CodeCompletion::OnGotoFunction(), DisassemblyDlg::OnSave(), CodeCompletion::ParseFunctionsAndFillToolbar(), cbEditor::Save(), cbEditor::SaveFoldState(), CodeRefactoring::SearchInFiles(), and CodeRefactoring::VerifyResult().
int wxScintilla::GetTextLength | ( | ) | const |
Retrieve the number of characters in the document.
wxString wxScintilla::GetTextRange | ( | int | startPos, |
int | endPos | ||
) |
Retrieve a range of text.
Referenced by NativeParser::AI(), EditorBase::DisplayContextMenu(), CodeCompletion::DoCodeCompletePreprocessor(), CCManager::DoUpdateCallTip(), CodeCompletionHelper::EditorHasNameUnderCursor(), FindReplace::Find(), CodeCompletion::GetAutocompList(), NativeParser::GetCallTips(), cbDebuggerPlugin::GetEditorWordAtCaret(), cbSmartIndentPlugin::GetLastNonCommentWord(), cbSmartIndentPlugin::GetLastNonWhitespaceChars(), GetSelectedText(), CodeRefactoring::GetSymbolUnderCursor(), cbEditorInternalData::GetUrl(), CCManager::OnCompleteCode(), MainFrame::OnEditLineMove(), CCManager::OnEditorTooltip(), MainFrame::OnEditSelectNext(), MainFrame::OnEditSelectNextSkip(), MainFrame::OnEditStreamCommentSelected(), CodeCompletion::OnGotoDeclaration(), CCManager::OnShowCallTip(), NativeParser::ParseLocalBlock(), NativeParser::ParseUsingNamespace(), FindReplace::Replace(), FindReplace::ReplaceInFiles(), and FindReplace::ShowFindDialog().
wxCharBuffer wxScintilla::GetTextRangeRaw | ( | int | startPos, |
int | endPos | ||
) |
Retrieve a range of text.
wxCharBuffer wxScintilla::GetTextRaw | ( | ) |
Retrieve all the text in the document.
bool wxScintilla::GetTwoPhaseDraw | ( | ) | const |
Is drawing done in two phases with backgrounds drawn before foregrounds?
bool wxScintilla::GetUndoCollection | ( | ) | const |
Is undo history being collected?
bool wxScintilla::GetUseAntiAliasing | ( | ) |
Returns the current UseAntiAliasing setting.
bool wxScintilla::GetUseHorizontalScrollBar | ( | ) | const |
Is the horizontal scroll bar visible?
bool wxScintilla::GetUseTabs | ( | ) | const |
Retrieve whether tabs will be used in indentation.
Referenced by CodeCompletion::DoAllMethodsImpl(), CodeCompletion::DoClassMethodDeclImpl(), cbSmartIndentPlugin::GetFirstBraceInLine(), and cbSmartIndentPlugin::Indent().
bool wxScintilla::GetUseVerticalScrollBar | ( | ) | const |
Is the vertical scroll bar visible?
|
inlineprotected |
Definition at line 5346 of file wxscintilla.h.
bool wxScintilla::GetViewEOL | ( | ) | const |
Are the end of line characters visible?
int wxScintilla::GetViewWhiteSpace | ( | ) | const |
Are white space characters currently visible? Returns one of wxSCI_WS_* constants.
int wxScintilla::GetVirtualSpaceOptions | ( | ) | const |
Return options for virtual space behaviour.
wxString wxScintilla::GetWhitespaceChars | ( | ) | const |
Get the set of characters making up whitespace for when moving or selecting by word.
int wxScintilla::GetWhitespaceSize | ( | ) | const |
Get the size of the dots used to mark space characters.
wxString wxScintilla::GetWordChars | ( | ) | const |
Get the set of characters making up words for when moving or selecting by word.
int wxScintilla::GetWrapIndentMode | ( | ) | const |
Retrieve how wrapped sublines are placed. Default is wxSCI_WRAPINDENT_FIXED.
int wxScintilla::GetWrapMode | ( | ) | const |
Retrieve whether text is word wrapped.
int wxScintilla::GetWrapStartIndent | ( | ) | const |
Retrive the start indent for wrapped lines.
int wxScintilla::GetWrapVisualFlags | ( | ) | const |
Retrive the display mode of visual flags for wrapped lines.
int wxScintilla::GetWrapVisualFlagsLocation | ( | ) | const |
Retrive the location of visual flags for wrapped lines.
int wxScintilla::GetXOffset | ( | ) | const |
Get the xOffset (ie, horizontal scroll position).
int wxScintilla::GetZoom | ( | ) | const |
Retrieve the zoom level.
Referenced by cbEditor::OnZoom(), cbEditorInternalData::SetFoldingColWidth(), cbEditor::SetZoom(), cbEditor::Split(), and cbEditor::UpdateProjectFile().
void wxScintilla::GotoLine | ( | int | line | ) |
Set caret to start of a line and ensure it is visible.
Referenced by FindReplace::Find(), cbEditor::GotoLine(), cbEditor::GotoNextChanged(), cbEditor::GotoPreviousChanged(), MainFrame::OnEditLinePaste(), and DisassemblyDlg::SetActiveAddress().
void wxScintilla::GotoPos | ( | int | caret | ) |
Set caret to a position and ensure it is visible.
Referenced by CodeCompletion::DoAllMethodsImpl(), CodeCompletion::DoClassMethodDeclImpl(), cbEditor::GotoMatchingBrace(), cbEditor::GotoTokenPosition(), cbEditor::OnBeforeBuildContextMenu(), MainFrame::OnEditLinePaste(), cbEditor::OnEditorCharAdded(), MainFrame::OnEditStreamCommentSelected(), cbStyledTextCtrl::OnKeyDown(), cbEditor::Reload(), FindReplace::Replace(), FindReplace::ReplaceInFiles(), cbEditor::SetProjectFile(), and CodeRefactoring::VerifyResult().
bool wxScintilla::HaveMouseCapture | ( | ) | const |
Referenced by cbStyledTextCtrl::OnContextMenu().
void wxScintilla::HideLines | ( | int | lineStart, |
int | lineEnd | ||
) |
Make a range of lines invisible.
Referenced by cbEditor::DoFoldAll().
void wxScintilla::HideSelection | ( | bool | hide | ) |
Draw the selection in normal style or with selection highlighted.
void wxScintilla::Home | ( | ) |
Move caret to first position on line.
void wxScintilla::HomeDisplay | ( | ) |
Move caret to first position on display line.
Referenced by InsertNewLine().
void wxScintilla::HomeDisplayExtend | ( | ) |
Move caret to first position on display line extending selection to new caret position.
void wxScintilla::HomeExtend | ( | ) |
Move caret to first position on line extending selection to new caret position.
void wxScintilla::HomeRectExtend | ( | ) |
Move caret to first position on line, extending rectangular selection to new caret position.
void wxScintilla::HomeWrap | ( | ) |
Like Home but when word-wrap is enabled goes first to start of display line HomeDisplay, then to start of document line Home.
void wxScintilla::HomeWrapExtend | ( | ) |
Like HomeExtend but when word-wrap is enabled extends first to start of display line HomeDisplayExtend, then to start of document line HomeExtend.
int wxScintilla::IndicatorAllOnFor | ( | int | pos | ) |
Are any indicators present at pos?
void wxScintilla::IndicatorClearRange | ( | int | start, |
int | lengthClear | ||
) |
Turn a indicator off over a range.
Referenced by cbStyledTextCtrl::HighlightRightBrace(), and MainFrame::OnEditSelectAll().
int wxScintilla::IndicatorEnd | ( | int | indicator, |
int | pos | ||
) |
Where does a particular indicator end?
void wxScintilla::IndicatorFillRange | ( | int | start, |
int | lengthFill | ||
) |
Turn a indicator on over a range.
Referenced by cbStyledTextCtrl::HighlightRightBrace(), and MainFrame::OnEditSelectNextSkip().
int wxScintilla::IndicatorGetAlpha | ( | int | indicator | ) | const |
Get the alpha fill colour of the given indicator.
int wxScintilla::IndicatorGetFlags | ( | int | indicator | ) | const |
Retrieve the attributes of an indicator.
wxColour wxScintilla::IndicatorGetForeground | ( | int | indicator | ) | const |
Retrieve the foreground colour of an indicator.
Referenced by cbEditor::Split().
wxColour wxScintilla::IndicatorGetHoverForeground | ( | int | indicator | ) | const |
Retrieve the foreground hover colour of an indicator.
int wxScintilla::IndicatorGetHoverStyle | ( | int | indicator | ) | const |
Retrieve the hover style of an indicator.
int wxScintilla::IndicatorGetOutlineAlpha | ( | int | indicator | ) | const |
Get the alpha outline colour of the given indicator.
int wxScintilla::IndicatorGetStyle | ( | int | indicator | ) | const |
Retrieve the style of an indicator.
Referenced by cbEditor::Split().
bool wxScintilla::IndicatorGetUnder | ( | int | indicator | ) | const |
Retrieve whether indicator drawn under or over text.
Referenced by cbEditor::Split().
void wxScintilla::IndicatorSetAlpha | ( | int | indicator, |
int | alpha | ||
) |
Set the alpha fill colour of the given indicator.
void wxScintilla::IndicatorSetFlags | ( | int | indicator, |
int | flags | ||
) |
Set the attributes of an indicator.
void wxScintilla::IndicatorSetForeground | ( | int | indicator, |
const wxColour & | fore | ||
) |
Set the foreground colour of an indicator.
Referenced by cbStyledTextCtrl::HighlightRightBrace(), and cbEditor::Split().
void wxScintilla::IndicatorSetHoverForeground | ( | int | indicator, |
const wxColour & | fore | ||
) |
Set the foreground hover colour of an indicator.
void wxScintilla::IndicatorSetHoverStyle | ( | int | indicator, |
int | indicatorStyle | ||
) |
Set a hover indicator to plain, squiggle or TT.
void wxScintilla::IndicatorSetOutlineAlpha | ( | int | indicator, |
int | alpha | ||
) |
Set the alpha outline colour of the given indicator.
void wxScintilla::IndicatorSetStyle | ( | int | indicator, |
int | indicatorStyle | ||
) |
Set an indicator to plain, squiggle or TT.
Referenced by cbStyledTextCtrl::HighlightRightBrace(), and cbEditor::Split().
void wxScintilla::IndicatorSetUnder | ( | int | indicator, |
bool | under | ||
) |
Set an indicator to draw under text or over(default).
Referenced by cbStyledTextCtrl::HighlightRightBrace(), and cbEditor::Split().
int wxScintilla::IndicatorStart | ( | int | indicator, |
int | pos | ||
) |
Where does a particular indicator start?
int wxScintilla::IndicatorValueAt | ( | int | indicator, |
int | pos | ||
) |
What value does a particular indicator have at a position?
void wxScintilla::InsertText | ( | int | pos, |
const wxString & | text | ||
) |
Insert string at a position.
Referenced by cbStyledTextCtrl::DoBraceCompletion(), cbStyledTextCtrl::DoSelectionBraceCompletion(), cbEditorInternalData::EnsureFinalLineEnd(), InsertNewLine(), MainFrame::OnEditBoxCommentSelected(), MainFrame::OnEditCommentSelected(), MainFrame::OnEditLineMove(), cbEditor::OnEditorCharAdded(), MainFrame::OnEditStreamCommentSelected(), MainFrame::OnEditToggleCommentSelected(), cbStyledTextCtrl::OnMouseMiddleDown(), and cbEditor::Open().
void wxScintilla::InsertTextRaw | ( | int | pos, |
const char * | text | ||
) |
Insert string at a position.
|
inlinevirtual |
Definition at line 5330 of file wxscintilla.h.
bool wxScintilla::IsRangeWord | ( | int | start, |
int | end | ||
) |
Is the range start..end considered a word?
void wxScintilla::LineCopy | ( | ) |
Copy the line containing the caret.
Referenced by MainFrame::OnEditLineCopy().
void wxScintilla::LineCut | ( | ) |
Cut the line containing the caret.
Referenced by MainFrame::OnEditLineCut().
void wxScintilla::LineDelete | ( | ) |
Delete the line containing the caret.
Referenced by MainFrame::OnEditLineDelete().
void wxScintilla::LineDown | ( | ) |
Move caret down one line.
Referenced by InsertNewLine().
void wxScintilla::LineDownExtend | ( | ) |
Move caret down one line extending selection to new caret position.
void wxScintilla::LineDownRectExtend | ( | ) |
Move caret down one line, extending rectangular selection to new caret position.
void wxScintilla::LineDuplicate | ( | ) |
Duplicate the current line.
Referenced by MainFrame::OnEditLineDuplicate().
void wxScintilla::LineEnd | ( | ) |
Move caret to last position on line.
Referenced by MainFrame::OnEditGotoLineEnd().
void wxScintilla::LineEndDisplay | ( | ) |
Move caret to last position on display line.
Referenced by InsertNewLine().
void wxScintilla::LineEndDisplayExtend | ( | ) |
Move caret to last position on display line extending selection to new caret position.
void wxScintilla::LineEndExtend | ( | ) |
Move caret to last position on line extending selection to new caret position.
void wxScintilla::LineEndRectExtend | ( | ) |
Move caret to last position on line, extending rectangular selection to new caret position.
void wxScintilla::LineEndWrap | ( | ) |
Like LineEnd but when word-wrap is enabled goes first to end of display line LineEndDisplay, then to start of document line LineEnd.
void wxScintilla::LineEndWrapExtend | ( | ) |
Like LineEndExtend but when word-wrap is enabled extends first to end of display line LineEndDisplayExtend, then to start of document line LineEndExtend.
int wxScintilla::LineFromPosition | ( | int | pos | ) | const |
Retrieve the line containing a position.
Referenced by NativeParser::AI(), CodeCompletion::DoAllMethodsImpl(), CodeCompletion::DoClassMethodDeclImpl(), CCManager::DoShowTips(), CCManager::DoUpdateCallTip(), CodeCompletionHelper::EditorHasNameUnderCursor(), FindReplace::Find(), CodeRefactoring::Find(), NativeParser::FindCurrentFunctionStart(), FindReplace::FindInFiles(), cbEditor::GetLineIndentInSpaces(), cbEditorInternalData::GetLineIndentString(), cbEditor::GotoNextChanged(), cbEditor::GotoPreviousChanged(), cbStyledTextCtrl::HighlightRightBrace(), CCManagerHelper::IsPosVisible(), cbEditor::OnBeforeBuildContextMenu(), MainFrame::OnEditBoxCommentSelected(), MainFrame::OnEditCommentSelected(), MainFrame::OnEditLineMove(), MainFrame::OnEditLinePaste(), cbEditor::OnEditorCharAdded(), cbEditor::OnEditorModified(), CCManager::OnEditorTooltip(), MainFrame::OnEditSelectAll(), MainFrame::OnEditStreamCommentSelected(), MainFrame::OnEditToggleCommentSelected(), MainFrame::OnEditUncommentSelected(), cbEditor::OnMarginClick(), MainFrame::OnSearchGotoLine(), CCManager::OnShowCallTip(), NativeParser::ParseFunctionArguments(), NativeParser::ParseLocalBlock(), FindReplace::Replace(), FindReplace::ReplaceInFiles(), and FindReplace::ShowFindDialog().
int wxScintilla::LineLength | ( | int | line | ) | const |
How many characters are on a line, including end of line characters?
Referenced by cbEditor::GotoTokenPosition(), MainFrame::OnEditBoxCommentSelected(), MainFrame::OnEditCommentSelected(), MainFrame::OnEditToggleCommentSelected(), and MainFrame::OnEditUncommentSelected().
void wxScintilla::LineScroll | ( | int | columns, |
int | lines | ||
) |
Scroll horizontally and vertically.
Referenced by cbStyledTextCtrl::MakeNearbyLinesVisible().
void wxScintilla::LineScrollDown | ( | ) |
Scroll the document down, keeping the caret visible.
void wxScintilla::LineScrollUp | ( | ) |
Scroll the document up, keeping the caret visible.
void wxScintilla::LinesJoin | ( | ) |
Join the lines in the target.
int wxScintilla::LinesOnScreen | ( | ) | const |
Retrieves the number of lines completely visible.
Referenced by DisassemblyDlg::CenterLine(), CCManager::DoShowTips(), FindReplace::Find(), CCManagerHelper::IsPosVisible(), cbStyledTextCtrl::MakeNearbyLinesVisible(), DisassemblyDlg::OnAdjustLine(), and DisassemblyDlg::SetActiveAddress().
void wxScintilla::LinesSplit | ( | int | pixelWidth | ) |
Split the lines in the target into lines that are less wide than pixelWidth where possible.
void wxScintilla::LineTranspose | ( | ) |
Switch the current line with the previous.
Referenced by MainFrame::OnEditLineTranspose().
void wxScintilla::LineUp | ( | ) |
Move caret up one line.
void wxScintilla::LineUpExtend | ( | ) |
Move caret up one line extending selection to new caret position.
void wxScintilla::LineUpRectExtend | ( | ) |
Move caret up one line, extending rectangular selection to new caret position.
bool wxScintilla::LoadFile | ( | const wxString & | filename | ) |
Load the contents of filename into the editor.
Referenced by EditorConfigurationDlg::CreateColoursSample().
void wxScintilla::LoadLexerLibrary | ( | const wxString & | path | ) |
Load a lexer library (dll / so).
void wxScintilla::LowerCase | ( | ) |
Transform the selection to lower case.
Referenced by cbEditor::OnContextMenuEntry(), and MainFrame::OnEditLowerCase().
int wxScintilla::MarginGetStyle | ( | int | line | ) | const |
Get the style number for the text margin for a line.
int wxScintilla::MarginGetStyleOffset | ( | ) | const |
Get the start of the range of style numbers used for margin text.
wxString wxScintilla::MarginGetStyles | ( | int | line | ) | const |
Get the styles in the text margin for a line.
wxString wxScintilla::MarginGetText | ( | int | line | ) | const |
Get the text in the text margin for a line.
void wxScintilla::MarginSetStyle | ( | int | line, |
int | style | ||
) |
Set the style number for the text margin for a line.
void wxScintilla::MarginSetStyleOffset | ( | int | style | ) |
Get the start of the range of style numbers used for margin text.
void wxScintilla::MarginSetStyles | ( | int | line, |
const wxString & | styles | ||
) |
Set the style in the text margin for a line.
void wxScintilla::MarginSetText | ( | int | line, |
const wxString & | text | ||
) |
Set the text in the text margin for a line.
void wxScintilla::MarginTextClearAll | ( | ) |
Clear the margin text on all lines.
int wxScintilla::MarkerAdd | ( | int | line, |
int | markerNumber | ||
) |
Add a marker to a line, returning an ID which can be used to find or delete the marker.
Referenced by cbEditor::BreakpointMarkerToggle(), EditorConfigurationDlg::CreateColoursSample(), cbEditor::MarkerToggle(), cbEditor::MarkLine(), cbEditor::OnContextMenuEntry(), and DisassemblyDlg::SetActiveAddress().
void wxScintilla::MarkerAddSet | ( | int | line, |
int | markerSet | ||
) |
Add a set of markers to a line.
void wxScintilla::MarkerDefine | ( | int | markerNumber, |
int | markerSymbol, | ||
const wxColour & | foreground = wxNullColour , |
||
const wxColour & | background = wxNullColour |
||
) |
Set the symbol used for a particular marker number, and optionally the fore and background colours.
Referenced by cbEditor::CreateEditor(), cbEditor::InternalSetEditorStyleBeforeFileOpen(), and cbEditor::SetMarkerStyle().
void wxScintilla::MarkerDefineBitmap | ( | int | markerNumber, |
const wxBitmap & | bmp | ||
) |
Define a marker from a bitmap.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::MarkerDefineRGBAImage | ( | int | markerNumber, |
const unsigned char * | pixels | ||
) |
Define a marker from RGBA data.
It has the width and height from RGBAImageSetWidth/Height
void wxScintilla::MarkerDelete | ( | int | line, |
int | markerNumber | ||
) |
Delete a marker from a line.
Referenced by cbEditor::BreakpointMarkerToggle(), cbEditor::MarkerToggle(), and cbEditor::OnContextMenuEntry().
void wxScintilla::MarkerDeleteAll | ( | int | markerNumber | ) |
Delete all markers with a particular number from all lines.
Referenced by DisassemblyDlg::Clear(), cbEditor::ClearAllBookmarks(), EditorConfigurationDlg::CreateColoursSample(), cbEditor::MarkLine(), cbEditor::OnContextMenuEntry(), and DisassemblyDlg::SetActiveAddress().
void wxScintilla::MarkerDeleteHandle | ( | int | markerHandle | ) |
Delete a marker.
void wxScintilla::MarkerEnableHighlight | ( | bool | enabled | ) |
Enable/disable highlight for current folding bloc (smallest one that contains the caret)
int wxScintilla::MarkerGet | ( | int | line | ) |
Get a bit mask of all the markers set on a line.
Referenced by cbEditor::BreakpointMarkerToggle(), and cbEditor::LineHasMarker().
int wxScintilla::MarkerLineFromHandle | ( | int | markerHandle | ) |
Retrieve the line number at which a particular marker is located.
int wxScintilla::MarkerNext | ( | int | lineStart, |
int | markerMask | ||
) |
Find the next line at or after lineStart that includes a marker in mask.
Return -1 when no more lines.
Referenced by cbEditor::MarkerNext(), and cbEditor::RefreshBreakpointMarkers().
int wxScintilla::MarkerPrevious | ( | int | lineStart, |
int | markerMask | ||
) |
Find the previous line before lineStart that includes a marker in mask.
Referenced by cbEditor::MarkerPrevious().
void wxScintilla::MarkerSetAlpha | ( | int | markerNumber, |
int | alpha | ||
) |
Set the alpha used for a marker that is drawn in the text area, not the margin.
void wxScintilla::MarkerSetBackground | ( | int | markerNumber, |
const wxColour & | back | ||
) |
Set the background colour used for a particular marker number.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen(), cbEditor::SetLanguageDependentColours(), and cbEditor::SetMarkerStyle().
void wxScintilla::MarkerSetBackgroundSelected | ( | int | markerNumber, |
const wxColour & | back | ||
) |
Set the background colour used for a particular marker number when its folding block is selected.
void wxScintilla::MarkerSetForeground | ( | int | markerNumber, |
const wxColour & | fore | ||
) |
Set the foreground colour used for a particular marker number.
Referenced by cbEditor::SetMarkerStyle().
void wxScintilla::MoveCaretInsideView | ( | ) |
Move the caret inside current view if it's not there already.
void wxScintilla::MoveSelectedLinesDown | ( | ) |
Move the selected lines down one line, shifting the line below before the selection.
void wxScintilla::MoveSelectedLinesUp | ( | ) |
Move the selected lines up one line, shifting the line above after the selection.
void wxScintilla::MultiEdgeAddLine | ( | int | column, |
const wxColour & | edgeColour | ||
) |
Add a new vertical edge to the view.
void wxScintilla::MultiEdgeClearAll | ( | ) |
Clear all vertical edges.
void wxScintilla::MultipleSelectAddEach | ( | ) |
Add each occurrence of the main selection in the target to the set of selections.
If the current selection is empty then select word around caret.
void wxScintilla::MultipleSelectAddNext | ( | ) |
Add the next occurrence of the main selection to the set of selections as main.
If the current selection is empty then select word around caret.
void wxScintilla::NewLine | ( | ) |
Insert a new line, may use a CRLF, CR or LF depending on EOL mode.
Referenced by MainFrame::OnEditInsertNewLine().
|
protected |
Turn notifications from Scintilla into events.
|
protected |
|
protected |
|
protected |
Referenced by cbStyledTextCtrl::GetLastSelectedText().
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by cbStyledTextCtrl::GetLastSelectedText().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by cbStyledTextCtrl::GetLastSelectedText().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Event handlers.
|
protected |
|
protected |
|
protected |
|
protected |
void wxScintilla::PageDown | ( | ) |
Move caret one page down.
void wxScintilla::PageDownExtend | ( | ) |
Move caret one page down extending selection to new caret position.
void wxScintilla::PageDownRectExtend | ( | ) |
Move caret one page down, extending rectangular selection to new caret position.
void wxScintilla::PageUp | ( | ) |
Move caret one page up.
void wxScintilla::PageUpExtend | ( | ) |
Move caret one page up extending selection to new caret position.
void wxScintilla::PageUpRectExtend | ( | ) |
Move caret one page up, extending rectangular selection to new caret position.
void wxScintilla::ParaDown | ( | ) |
Move caret down one paragraph (delimited by empty lines).
Referenced by MainFrame::OnEditParaDown().
void wxScintilla::ParaDownExtend | ( | ) |
Extend selection down one paragraph (delimited by empty lines).
Referenced by MainFrame::OnEditParaDownExtend().
void wxScintilla::ParaUp | ( | ) |
Move caret up one paragraph (delimited by empty lines).
Referenced by MainFrame::OnEditParaUp().
void wxScintilla::ParaUpExtend | ( | ) |
Extend selection up one paragraph (delimited by empty lines).
Referenced by MainFrame::OnEditParaUpExtend().
void wxScintilla::Paste | ( | ) |
Paste the contents of the clipboard into the document replacing the selection.
Referenced by cbEditor::OnContextMenuEntry(), MainFrame::OnEditLinePaste(), and cbEditor::Paste().
wxPoint wxScintilla::PointFromPosition | ( | int | pos | ) |
Retrieve the point in the window where a position is displayed.
Referenced by ConfirmReplaceDlg::CalcPosition(), EditorBase::DisplayContextMenu(), CCManager::DoShowTips(), and CCManager::OnMenuSelect().
int wxScintilla::PositionAfter | ( | int | pos | ) |
Given a valid document position, return the next position taking code page into account.
Maximum value returned is the last position in the document.
int wxScintilla::PositionBefore | ( | int | pos | ) |
Given a valid document position, return the previous position taking code page into account.
Returns 0 if passed 0.
int wxScintilla::PositionFromLine | ( | int | line | ) | const |
Retrieve the position at the start of a line.
Referenced by NativeParser::AI(), CodeCompletion::DoAllMethodsImpl(), CodeCompletion::DoClassMethodDeclImpl(), CodeCompletion::DoCodeCompleteIncludes(), CCManager::DoShowTips(), CCManager::DoUpdateCallTip(), cbEditorInternalData::EnsureFinalLineEnd(), CCManagerHelper::FindColumn(), NativeParser::FindCurrentFunctionStart(), cbEditor::GotoMatchingBrace(), MainFrame::OnEditBoxCommentSelected(), MainFrame::OnEditCommentSelected(), MainFrame::OnEditLineMove(), CCManager::OnEditorTooltip(), MainFrame::OnEditStreamCommentSelected(), MainFrame::OnEditToggleCommentSelected(), MainFrame::OnEditUncommentSelected(), CCManager::OnShowCallTip(), NativeParser::ParseFunctionArguments(), and cbEditorInternalData::StripTrailingSpaces().
int wxScintilla::PositionFromPoint | ( | wxPoint | pt | ) | const |
Find the position from a point within the window.
Referenced by CCManager::DoShowTips(), cbStyledTextCtrl::EmulateDwellStart(), cbDebuggerPlugin::GetEditorWordAtCaret(), cbEditor::OnBeforeBuildContextMenu(), cbEditor::OnEditorDwellStart(), and cbStyledTextCtrl::OnMouseMiddleDown().
int wxScintilla::PositionFromPointClose | ( | int | x, |
int | y | ||
) |
Find the position from a point within the window but return wxSCI_INVALID_POSITION if not close to text.
Referenced by cbDebuggerPlugin::GetEditorWordAtCaret(), and CCManager::OnEditorTooltip().
int wxScintilla::PositionRelative | ( | int | pos, |
int | relative | ||
) |
Given a valid document position, return a position that differs in a number of characters.
Returned value is always between 0 and last position in document.
void* wxScintilla::PrivateLexerCall | ( | int | operation, |
void * | pointer | ||
) |
For private communication between an application and a known lexer.
wxString wxScintilla::PropertyNames | ( | ) | const |
Retrieve a '\n' separated list of properties understood by the current lexer.
int wxScintilla::PropertyType | ( | const wxString & | name | ) |
Retrieve the type of a property.
void wxScintilla::Redo | ( | ) |
Redoes the next action on the undo history.
Referenced by cbEditor::OnContextMenuEntry(), and cbEditor::Redo().
void wxScintilla::RegisterImage | ( | int | type, |
const wxBitmap & | bmp | ||
) |
Register an image for use in autocompletion lists.
Referenced by CodeCompletion::DoCodeComplete(), CodeCompletion::DoCodeCompleteIncludes(), and CodeCompletion::DoCodeCompletePreprocessor().
void wxScintilla::RegisterRGBAImage | ( | int | type, |
const unsigned char * | pixels | ||
) |
Register an RGBA image for use in autocompletion lists.
It has the width and height from RGBAImageSetWidth/Height
void wxScintilla::ReleaseAllExtendedStyles | ( | ) |
Release all extended (>255) style numbers.
void wxScintilla::ReleaseDocument | ( | void * | docPointer | ) |
Release a reference to the document, deleting document if it fades to black.
|
inlinevirtual |
Definition at line 5256 of file wxscintilla.h.
References wxT.
|
inlinevirtual |
Definition at line 5260 of file wxscintilla.h.
void wxScintilla::ReplaceSelection | ( | const wxString & | text | ) |
Replace the selected text with the argument text.
Referenced by cbEditor::OnContextMenuEntry(), FindReplace::Replace(), and FindReplace::ReplaceInFiles().
int wxScintilla::ReplaceTarget | ( | const wxString & | text | ) |
Replace the target text with the argument text.
Text is counted so it can contain NULs. Returns the length of the replacement text.
Referenced by CodeCompletion::DoAllMethodsImpl(), CodeCompletion::DoClassMethodDeclImpl(), CodeRefactoring::DoRenameSymbols(), MainFrame::OnEditStreamCommentSelected(), MainFrame::OnEditToggleCommentSelected(), MainFrame::OnEditUncommentSelected(), and cbEditorInternalData::StripTrailingSpaces().
int wxScintilla::ReplaceTargetRE | ( | const wxString & | text | ) |
Replace the target text with the argument text after \d processing.
Text is counted so it can contain NULs. Looks for \d where d is between 1 and 9 and replaces these with the strings matched in the last search operation which were surrounded by \( and \). Returns the length of the replacement text including any change caused by processing the \d patterns.
Referenced by FindReplace::Replace(), and FindReplace::ReplaceInFiles().
void wxScintilla::RGBAImageSetHeight | ( | int | height | ) |
Set the height for future RGBA image data.
void wxScintilla::RGBAImageSetScale | ( | int | scalePercent | ) |
Set the scale factor in percent for future RGBA image data.
void wxScintilla::RGBAImageSetWidth | ( | int | width | ) |
Set the width for future RGBA image data.
void wxScintilla::RotateSelection | ( | ) |
Set the main selection to the next selection.
bool wxScintilla::SaveFile | ( | const wxString & | filename | ) |
Write the contents of the editor to filename.
void wxScintilla::ScrollRange | ( | int | secondary, |
int | primary | ||
) |
Scroll the argument positions and the range between them into view giving priority to the primary position then the secondary position.
This may be used to make a search match visible.
void wxScintilla::ScrollToColumn | ( | int | column | ) |
Scroll enough to make the given column visible.
Referenced by cbEditor::SetProjectFile().
void wxScintilla::ScrollToEnd | ( | ) |
Scroll to end of document.
void wxScintilla::ScrollToLine | ( | int | line | ) |
Scroll enough to make the given line visible.
Referenced by cbEditor::SetProjectFile().
void wxScintilla::ScrollToStart | ( | ) |
Scroll to start of document.
void wxScintilla::SearchAnchor | ( | ) |
Sets the current caret position to be the search anchor.
int wxScintilla::SearchInTarget | ( | const wxString & | text | ) |
Search for a counted string in the target and set the target to the found range.
Text is counted so it can contain NULs. Returns length of range or -1 for failure in which case target is not moved.
int wxScintilla::SearchNext | ( | int | searchFlags, |
const wxString & | text | ||
) |
Find some text starting at the search anchor.
Does not ensure the selection is visible.
int wxScintilla::SearchPrev | ( | int | searchFlags, |
const wxString & | text | ||
) |
Find some text starting at the search anchor and moving backwards.
Does not ensure the selection is visible.
void wxScintilla::SelectAll | ( | ) |
Select all the text in the document.
Referenced by cbEditor::OnContextMenuEntry(), and cbEditor::SelectAll().
void wxScintilla::SelectionDuplicate | ( | ) |
Duplicate the selection. If selection empty duplicate the line containing the caret.
bool wxScintilla::SelectionIsRectangle | ( | ) | const |
Is the selection rectangular? The alternative is the more common stream selection.
|
inlinevirtual |
Definition at line 5302 of file wxscintilla.h.
Send a message to Scintilla.
NB: this method is not really const as it can modify the control but it has to be declared as such as it's called from both const and non-const methods and we can't distinguish between the two
Referenced by cbEditor::DoIndent(), and cbEditor::DoUnIndent().
void wxScintilla::SetAdditionalCaretForeground | ( | const wxColour & | fore | ) |
Set the foreground colour of additional carets.
void wxScintilla::SetAdditionalCaretsBlink | ( | bool | additionalCaretsBlink | ) |
Set whether additional carets will blink.
void wxScintilla::SetAdditionalCaretsVisible | ( | bool | additionalCaretsVisible | ) |
Set whether additional carets are visible.
void wxScintilla::SetAdditionalSelAlpha | ( | int | alpha | ) |
Set the alpha of the selection.
void wxScintilla::SetAdditionalSelBackground | ( | const wxColour & | back | ) |
Set the background colour of additional selections.
Must have previously called SetSelBack with non-zero first argument for this to have an effect.
void wxScintilla::SetAdditionalSelectionTyping | ( | bool | additionalSelectionTyping | ) |
Set whether typing can be performed into multiple selections.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen(), and MainFrame::OnEditSelectAll().
void wxScintilla::SetAdditionalSelForeground | ( | const wxColour & | fore | ) |
Set the foreground colour of additional selections.
Must have previously called SetSelFore with non-zero first argument for this to have an effect.
void wxScintilla::SetAnchor | ( | int | anchor | ) |
Set the selection anchor to a position.
The anchor is the opposite end of the selection from the caret.
void wxScintilla::SetAutomaticFold | ( | int | automaticFold | ) |
Set automatic folding behaviours.
void wxScintilla::SetBackSpaceUnIndents | ( | bool | bsUnIndents | ) |
Sets whether a backspace pressed when caret is within indentation unindents.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetBufferedDraw | ( | bool | buffered | ) |
If drawing is buffered then each line of text is drawn into a bitmap buffer before drawing it to the screen to avoid flicker.
void wxScintilla::SetCaretForeground | ( | const wxColour & | fore | ) |
Set the foreground colour of the caret.
Referenced by cbStyledTextCtrl::HighlightRightBrace(), and cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetCaretLineBackAlpha | ( | int | alpha | ) |
Set background alpha of the caret line.
void wxScintilla::SetCaretLineBackground | ( | const wxColour & | back | ) |
Set the colour of the background of the line containing the caret.
Referenced by EditorColourSet::Apply().
void wxScintilla::SetCaretLineVisible | ( | bool | show | ) |
Display the background of the line containing the caret in a different colour.
Referenced by EditorConfigurationDlg::CreateColoursSample(), and cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetCaretLineVisibleAlways | ( | bool | alwaysVisible | ) |
Sets the caret line to always visible.
void wxScintilla::SetCaretPeriod | ( | int | periodMilliseconds | ) |
Get the time in milliseconds that the caret is on and off. 0 = steady on.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetCaretSticky | ( | int | useCaretStickyBehaviour | ) |
Stop the caret preferred x position changing when the user types.
void wxScintilla::SetCaretStyle | ( | int | caretStyle | ) |
Set the style of the caret to be drawn.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetCaretWidth | ( | int | pixelWidth | ) |
Set the width of the insert mode caret.
Referenced by cbStyledTextCtrl::HighlightRightBrace(), and cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetChangeCollection | ( | bool | collectChange | ) |
Choose between collecting actions into the changes history and discarding them.
Referenced by MainFrame::OnFileNewWhat(), FindReplace::Replace(), FindReplace::ReplaceInFiles(), and cbEditor::SetChangeCollection().
void wxScintilla::SetCharsDefault | ( | ) |
Reset the set of characters for whitespace and word characters to the defaults.
void wxScintilla::SetCodePage | ( | int | codePage | ) |
Set the code page used to interpret the bytes of the document as characters.
void wxScintilla::SetControlCharSymbol | ( | int | symbol | ) |
Change the way control characters are displayed: If symbol is < 32, keep the drawn way, else, use the given character.
void wxScintilla::SetCurrentPos | ( | int | caret | ) |
Sets the position of the caret.
void wxScintilla::SetDocPointer | ( | void * | docPointer | ) |
Change the document object used.
Referenced by cbEditor::Split().
void wxScintilla::SetEdgeColour | ( | const wxColour & | edgeColour | ) |
Change the colour used in edge indication.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetEdgeColumn | ( | int | column | ) |
Set the column number of the edge.
If text goes past the edge then it is highlighted.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetEdgeMode | ( | int | edgeMode | ) |
The edge may be displayed by a line (wxSCI_EDGE_LINE/wxSCI_EDGE_MULTILINE) or by highlighting text that goes beyond it (wxSCI_EDGE_BACKGROUND) or not displayed at all (wxSCI_EDGE_NONE).
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen(), and cbEditor::Print().
|
inlinevirtual |
Definition at line 5331 of file wxscintilla.h.
void wxScintilla::SetEmptySelection | ( | int | caret | ) |
Set caret to a position, while removing any existing selection.
void wxScintilla::SetEndAtLastLine | ( | bool | endAtLastLine | ) |
Sets the scroll range so that maximum scroll position has the last line at the bottom of the view (default).
Setting this to false allows scrolling one page below the last line.
void wxScintilla::SetEOLMode | ( | int | eolMode | ) |
Set the current end of line mode.
Referenced by cbEditor::InternalSetEditorStyleAfterFileOpen(), and MainFrame::OnEditEOLMode().
void wxScintilla::SetExtraAscent | ( | int | extraAscent | ) |
Set extra ascent for each line.
void wxScintilla::SetExtraDescent | ( | int | extraDescent | ) |
Set extra descent for each line.
void wxScintilla::SetFirstVisibleLine | ( | int | displayLine | ) |
Scroll so that a display line is at the top of the display.
Referenced by DisassemblyDlg::CenterLine().
void wxScintilla::SetFoldExpanded | ( | int | line, |
bool | expanded | ||
) |
Show the children of a header line.
Referenced by cbEditor::DoFoldAll(), cbEditor::FixFoldState(), and cbEditor::OnEditorModified().
void wxScintilla::SetFoldFlags | ( | int | flags | ) |
Set some style options for folding.
Referenced by cbEditor::InternalSetEditorStyleAfterFileOpen(), and cbEditor::UnderlineFoldedLines().
void wxScintilla::SetFoldLevel | ( | int | line, |
int | level | ||
) |
Set the fold level of a line.
This encodes an integer level along with flags indicating whether the line is a header and whether it is effectively white space.
Referenced by cbEditor::SaveFoldState().
void wxScintilla::SetFoldMarginColour | ( | bool | useSetting, |
const wxColour & | back | ||
) |
Set one of the colours used as a chequerboard pattern in the fold margin.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetFoldMarginHiColour | ( | bool | useSetting, |
const wxColour & | fore | ||
) |
Set the other colour used as a chequerboard pattern in the fold margin.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetFontQuality | ( | int | fontQuality | ) |
Choose the quality level for text.
void wxScintilla::SetHighlightGuide | ( | int | column | ) |
Set the highlighted indentation guide column.
0 = no highlighted guide.
Referenced by cbEditor::HighlightBraces().
void wxScintilla::SetHotspotActiveBackground | ( | bool | useSetting, |
const wxColour & | back | ||
) |
Set a back colour for active hotspots.
void wxScintilla::SetHotspotActiveForeground | ( | bool | useSetting, |
const wxColour & | fore | ||
) |
Set a fore colour for active hotspots.
void wxScintilla::SetHotspotActiveUnderline | ( | bool | underline | ) |
Enable / Disable underlining active hotspots.
void wxScintilla::SetHotspotSingleLine | ( | bool | singleLine | ) |
Limit hotspots to single line so hotspots on two lines don't merge.
void wxScintilla::SetHScrollBar | ( | wxScrollBar * | bar | ) |
Set the horizontal scrollbar to use instead of the one that's built-in.
void wxScintilla::SetIdentifier | ( | int | identifier | ) |
Set the identifier reported as idFrom in notification messages.
void wxScintilla::SetIdentifiers | ( | int | style, |
const wxString & | identifiers | ||
) |
Set the identifiers that are shown in a particular style.
void wxScintilla::SetIdleStyling | ( | int | idleStyling | ) |
Sets limits to idle styling.
void wxScintilla::SetIMEInteraction | ( | int | imeInteraction | ) |
Choose to display the the IME in a winow or inline.
void wxScintilla::SetIndent | ( | int | indentSize | ) |
Set the number of spaces used for one level of indentation.
void wxScintilla::SetIndentationGuides | ( | int | indentView | ) |
Show or hide indentation guides.
Referenced by EditorConfigurationDlg::CreateColoursSample(), and cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetIndicatorCurrent | ( | int | indicator | ) |
Set the indicator used for IndicatorFillRange and IndicatorClearRange.
Referenced by cbStyledTextCtrl::HighlightRightBrace().
void wxScintilla::SetIndicatorValue | ( | int | value | ) |
Set the value used for IndicatorFillRange.
|
inlinevirtual |
Definition at line 5282 of file wxscintilla.h.
void wxScintilla::SetKeyWords | ( | int | keyWordSet, |
const wxString & | keyWords | ||
) |
Set up the key words used by the lexer.
Referenced by EditorColourSet::Apply(), EditorManager::CollectDefines(), and CodeCompletion::UpdateEditorSyntax().
|
inline |
Definition at line 5165 of file wxscintilla.h.
References NULL.
void wxScintilla::SetLayoutCache | ( | int | cacheMode | ) |
Sets the degree of caching of layout information.
void wxScintilla::SetLexer | ( | int | lexer | ) |
Set the lexing language of the document.
Referenced by EditorColourSet::Apply().
void wxScintilla::SetLexerLanguage | ( | const wxString & | language | ) |
Set the lexing language of the document based on string name.
void wxScintilla::SetLineEndTypesAllowed | ( | int | lineEndBitSet | ) |
Set the line end types that the application wants to use. May not be used if incompatible with lexer or encoding.
void wxScintilla::SetLineIndentation | ( | int | line, |
int | indentation | ||
) |
Change the indentation of a line to a number of columns.
void wxScintilla::SetLineState | ( | int | line, |
int | state | ||
) |
Used to hold extra styling information for each line.
void wxScintilla::SetMainSelection | ( | int | selection | ) |
Set the main selection.
void wxScintilla::SetMarginBackground | ( | int | margin, |
const wxColour & | back | ||
) |
Set the background colour of a margin. Only visible for wxSCI_MARGIN_COLOUR.
void wxScintilla::SetMarginCount | ( | int | margins | ) |
Allocate a non-standard number of margins.
void wxScintilla::SetMarginCursor | ( | int | margin, |
int | cursor | ||
) |
Set the cursor shown when the mouse is inside a margin.
void wxScintilla::SetMarginLeft | ( | int | pixelWidth | ) |
Sets the size in pixels of the left margin.
void wxScintilla::SetMarginMask | ( | int | margin, |
int | mask | ||
) |
Set a mask that determines which markers are displayed in a margin.
Referenced by cbEditor::DoInitializations(), cbEditor::InternalSetEditorStyleAfterFileOpen(), and cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetMarginOptions | ( | int | marginOptions | ) |
Set the margin options.
void wxScintilla::SetMarginRight | ( | int | pixelWidth | ) |
Sets the size in pixels of the right margin.
void wxScintilla::SetMargins | ( | int | left, |
int | right | ||
) |
Set the left and right margin in the edit area, measured in pixels.
void wxScintilla::SetMarginSensitive | ( | int | margin, |
bool | sensitive | ||
) |
Make a margin sensitive or insensitive to mouse clicks.
Referenced by cbEditor::InternalSetEditorStyleAfterFileOpen(), and cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetMarginType | ( | int | margin, |
int | marginType | ||
) |
Set a margin to be either numeric or symbolic.
Referenced by EditorConfigurationDlg::CreateColoursSample(), cbEditor::InternalSetEditorStyleAfterFileOpen(), cbEditor::InternalSetEditorStyleBeforeFileOpen(), and cbEditor::Print().
void wxScintilla::SetMarginWidth | ( | int | margin, |
int | pixelWidth | ||
) |
Set the width of a margin to a width expressed in pixels.
Referenced by EditorConfigurationDlg::CreateColoursSample(), cbEditor::InternalSetEditorStyleAfterFileOpen(), cbEditor::InternalSetEditorStyleBeforeFileOpen(), cbEditor::Print(), cbEditorInternalData::SetFoldingColWidth(), cbEditorInternalData::SetLineNumberColWidth(), and cbEditor::Split().
void wxScintilla::SetModEventMask | ( | int | eventMask | ) |
Set which document modification events are sent to the container.
Referenced by cbEditor::Open().
void wxScintilla::SetMouseCapture | ( | bool | on | ) |
Referenced by cbStyledTextCtrl::OnContextMenu().
void wxScintilla::SetMouseDownCaptures | ( | bool | captures | ) |
Set whether the mouse is captured when its button is pressed.
void wxScintilla::SetMouseDwellTime | ( | int | periodMilliseconds | ) |
Sets the time the mouse must sit still to generate a mouse dwell event.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetMouseSelectionRectangularSwitch | ( | bool | mouseSelectionRectangularSwitch | ) |
Set whether switching to rectangular mode while selecting with the mouse is allowed.
void wxScintilla::SetMouseWheelCaptures | ( | bool | captures | ) |
Set whether the mouse wheel can be active outside the window.
void wxScintilla::SetMultiPaste | ( | int | multiPaste | ) |
Change the effect of pasting when there are multiple selections.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen(), and MainFrame::OnEditSelectAll().
void wxScintilla::SetMultipleSelection | ( | bool | multipleSelection | ) |
Set whether multiple selections can be made.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetOvertype | ( | bool | overType | ) |
Set to overtype (true) or insert mode.
void wxScintilla::SetPasteConvertEndings | ( | bool | convert | ) |
Enable/Disable convert-on-paste for line endings.
void wxScintilla::SetPhasesDraw | ( | int | phases | ) |
In one phase draw, text is drawn in a series of rectangular blocks with no overlap.
In two phase draw, text is drawn in a series of lines allowing runs to overlap horizontally. In multiple phase draw, each element is drawn over the whole drawing area, allowing text to overlap from one line to the next.
void wxScintilla::SetPositionCacheSize | ( | int | size | ) |
Set number of entries in position cache.
void wxScintilla::SetPrintColourMode | ( | int | mode | ) |
Modify colours when printing for clearer printed text.
Referenced by cbEditor::Print().
void wxScintilla::SetPrintMagnification | ( | int | magnification | ) |
Sets the print magnification added to the point size of each style for printing.
Referenced by cbEditor::Print().
void wxScintilla::SetPrintWrapMode | ( | int | wrapMode | ) |
Set printing to line wrapped (wxSCI_WRAP_WORD) or not line wrapped (wxSCI_WRAP_NONE).
Set up a value that may be used by a lexer for some optional feature.
Referenced by cbEditor::InternalSetEditorStyleAfterFileOpen().
void wxScintilla::SetPunctuationChars | ( | const wxString & | characters | ) |
Set the set of characters making up punctuation characters Should be called after SetWordChars.
void wxScintilla::SetReadOnly | ( | bool | readOnly | ) |
Set to read only or read write.
Referenced by DisassemblyDlg::AddAssemblerLine(), DisassemblyDlg::AddSourceLine(), DisassemblyDlg::Clear(), and cbEditor::SetReadOnly().
void wxScintilla::SetRectangularSelectionAnchor | ( | int | anchor | ) |
Set the anchor position of the rectangular selection.
void wxScintilla::SetRectangularSelectionAnchorVirtualSpace | ( | int | space | ) |
Set the virtual space of the anchor of the rectangular selection.
void wxScintilla::SetRectangularSelectionCaret | ( | int | caret | ) |
Set the caret position of the rectangular selection.
void wxScintilla::SetRectangularSelectionCaretVirtualSpace | ( | int | space | ) |
Set the virtual space of the caret of the rectangular selection.
void wxScintilla::SetRectangularSelectionModifier | ( | int | modifier | ) |
On GTK+, allow selecting the modifier key to use for mouse-based rectangular selection.
Often the window manager requires Alt+Mouse Drag for moving windows. Valid values are wxSCI_KEYMOD_CTRL (default), wxSCI_KEYMOD_ALT, or wxSCI_KEYMOD_SUPER.
void wxScintilla::SetRepresentation | ( | const wxString & | encodedCharacter, |
const wxString & | representation | ||
) |
Set the way a character is drawn.
void wxScintilla::SetSavePoint | ( | ) |
Remember the current position in the undo history as the position at which the document was saved.
Referenced by cbEditor::Save(), and cbEditor::SetModified().
void wxScintilla::SetSCICursor | ( | int | cursorType | ) |
Sets the cursor to one of the wxSCI_CURSOR* values.
void wxScintilla::SetSCIFocus | ( | bool | focus | ) |
Change internal focus flag.
Referenced by FindReplace::Find(), FindReplace::FindInFiles(), and FindReplace::Replace().
void wxScintilla::SetScrollWidth | ( | int | pixelWidth | ) |
Sets the document width assumed for scrolling.
void wxScintilla::SetScrollWidthTracking | ( | bool | tracking | ) |
Sets whether the maximum width line displayed is used to set scroll width.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetSearchFlags | ( | int | searchFlags | ) |
Set the search flags used by SearchInTarget.
void wxScintilla::SetSelAlpha | ( | int | alpha | ) |
Set the alpha of the selection.
void wxScintilla::SetSelBackground | ( | bool | useSetting, |
const wxColour & | back | ||
) |
Set the background colour of the main and additional selections and whether to use this setting.
Referenced by EditorColourSet::Apply().
|
inlinevirtual |
Definition at line 5289 of file wxscintilla.h.
Referenced by MainFrame::OnEditSelectNext().
void wxScintilla::SetSelectionEnd | ( | int | caret | ) |
Sets the position that ends the selection - this becomes the caret.
Referenced by FindReplace::FindSelectedText().
int wxScintilla::SetSelectionInt | ( | int | caret, |
int | anchor | ||
) |
Set a simple selection.
Referenced by cbEditor::GotoTokenPosition().
void wxScintilla::SetSelectionMode | ( | int | selectionMode | ) |
Set the selection mode to stream (wxSCI_SEL_STREAM) or rectangular (wxSCI_SEL_RECTANGLE/wxSCI_SEL_THIN) or by lines (wxSCI_SEL_LINES).
void wxScintilla::SetSelectionNAnchor | ( | int | selection, |
int | anchor | ||
) |
Set the anchor position of the nth selection.
Referenced by MainFrame::OnEditSelectNextSkip().
void wxScintilla::SetSelectionNAnchorVirtualSpace | ( | int | selection, |
int | space | ||
) |
Set the virtual space of the anchor of the nth selection.
Referenced by cbEditor::Save().
void wxScintilla::SetSelectionNCaret | ( | int | selection, |
int | caret | ||
) |
Set the caret position of the nth selection.
Referenced by MainFrame::OnEditSelectNextSkip().
void wxScintilla::SetSelectionNCaretVirtualSpace | ( | int | selection, |
int | space | ||
) |
Set the virtual space of the caret of the nth selection.
Referenced by cbEditor::Save().
void wxScintilla::SetSelectionNEnd | ( | int | selection, |
int | caret | ||
) |
Sets the position that ends the selection - this becomes the currentPosition.
void wxScintilla::SetSelectionNStart | ( | int | selection, |
int | anchor | ||
) |
Sets the position that starts the selection - this becomes the anchor.
void wxScintilla::SetSelectionStart | ( | int | anchor | ) |
Sets the position that starts the selection - this becomes the anchor.
Referenced by FindReplace::FindSelectedText().
void wxScintilla::SetSelectionVoid | ( | int | startPos, |
int | endPos | ||
) |
Select a range of text.
Referenced by FindReplace::Find(), MainFrame::OnEditBoxCommentSelected(), MainFrame::OnEditCommentSelected(), MainFrame::OnEditLineMove(), MainFrame::OnEditStreamCommentSelected(), MainFrame::OnEditToggleCommentSelected(), MainFrame::OnEditUncommentSelected(), cbStyledTextCtrl::OnMouseMiddleDown(), FindReplace::Replace(), and FindReplace::ReplaceInFiles().
void wxScintilla::SetSelEOLFilled | ( | bool | filled | ) |
Set the selection to have its end of line filled or not.
void wxScintilla::SetSelForeground | ( | bool | useSetting, |
const wxColour & | fore | ||
) |
Set the foreground colour of the main and additional selections and whether to use this setting.
Referenced by EditorColourSet::Apply().
void wxScintilla::SetStatus | ( | int | status | ) |
Change error status - 0 = OK.
void wxScintilla::SetStyleBytes | ( | int | length, |
char * | styleBytes | ||
) |
Set the styles for a segment of the document.
void wxScintilla::SetStyling | ( | int | length, |
int | style | ||
) |
Change style from current styling position for length characters to a style and move the current styling position to after this newly styled segment.
void wxScintilla::SetTabDrawMode | ( | int | tabDrawMode | ) |
Set how tabs are drawn when visible.
void wxScintilla::SetTabIndents | ( | bool | tabIndents | ) |
Sets whether a tab pressed when caret is within indentation indents.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetTabWidth | ( | int | tabWidth | ) |
Change the visible size of a tab to be a multiple of the width of a space character.
Referenced by EditorConfigurationDlg::CreateColoursSample(), cbEditor::InternalSetEditorStyleAfterFileOpen(), and cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetTargetEnd | ( | int | end | ) |
Sets the position that ends the target which is used for updating the document without affecting the scroll position.
Referenced by CodeCompletion::DoAllMethodsImpl(), CodeCompletion::DoClassMethodDeclImpl(), CodeRefactoring::DoRenameSymbols(), MainFrame::OnEditStreamCommentSelected(), MainFrame::OnEditToggleCommentSelected(), MainFrame::OnEditUncommentSelected(), FindReplace::Replace(), FindReplace::ReplaceInFiles(), and cbEditorInternalData::StripTrailingSpaces().
void wxScintilla::SetTargetRange | ( | int | start, |
int | end | ||
) |
Sets both the start and end of the target in one call.
void wxScintilla::SetTargetStart | ( | int | start | ) |
Sets the position that starts the target which is used for updating the document without affecting the scroll position.
Referenced by CodeCompletion::DoAllMethodsImpl(), CodeCompletion::DoClassMethodDeclImpl(), CodeRefactoring::DoRenameSymbols(), MainFrame::OnEditStreamCommentSelected(), MainFrame::OnEditToggleCommentSelected(), MainFrame::OnEditUncommentSelected(), FindReplace::Replace(), FindReplace::ReplaceInFiles(), and cbEditorInternalData::StripTrailingSpaces().
void wxScintilla::SetTechnology | ( | int | technology | ) |
Set the technology used.
void wxScintilla::SetText | ( | const wxString & | text | ) |
Replace the contents of the document with the argument text.
Referenced by ScriptBindings::cbEditor_SetText(), DisassemblyDlg::Clear(), FindReplace::FindInFiles(), EditorManager::New(), cbEditor::SaveFoldState(), CodeRefactoring::SearchInFiles(), and CodeRefactoring::VerifyResult().
void wxScintilla::SetTextRaw | ( | const char * | text | ) |
Replace the contents of the document with the argument text.
void wxScintilla::SetTwoPhaseDraw | ( | bool | twoPhase | ) |
In twoPhaseDraw mode, drawing is performed in two phases, first the background and then the foreground.
This avoids chopping off characters that overlap the next run.
void wxScintilla::SetUndoCollection | ( | bool | collectUndo | ) |
Choose between collecting actions into the undo history and discarding them.
void wxScintilla::SetUseAntiAliasing | ( | bool | useAA | ) |
Specify whether anti-aliased fonts should be used.
Will have no effect on some platforms, but on some (wxMac for example) can greatly improve performance.
void wxScintilla::SetUseHorizontalScrollBar | ( | bool | visible | ) |
Show or hide the horizontal scroll bar.
void wxScintilla::SetUseTabs | ( | bool | useTabs | ) |
Indentation will only use space characters if useTabs is false, otherwise it will use a combination of tabs and spaces.
Referenced by cbEditor::InternalSetEditorStyleAfterFileOpen(), cbEditor::InternalSetEditorStyleBeforeFileOpen(), and OverrideUseTabsPerLanguage().
void wxScintilla::SetUseVerticalScrollBar | ( | bool | visible | ) |
Show or hide the vertical scroll bar.
|
inlineprotected |
Definition at line 5347 of file wxscintilla.h.
void wxScintilla::SetViewEOL | ( | bool | visible | ) |
Make the end of line characters visible or invisible.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetViewWhiteSpace | ( | int | viewWS | ) |
Make white space characters invisible, always visible or visible outside indentation.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetVirtualSpaceOptions | ( | int | virtualSpaceOptions | ) |
Set options for virtual space behaviour.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetVisiblePolicy | ( | int | visiblePolicy, |
int | visibleSlop | ||
) |
Set the way the display area is determined when a particular line is to be moved to by Find, FindNext, GotoLine, etc.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetVScrollBar | ( | wxScrollBar * | bar | ) |
Set the vertical scrollbar to use instead of the one that's built-in.
void wxScintilla::SetWhitespaceBackground | ( | bool | useSetting, |
const wxColour & | back | ||
) |
Set the background colour of all whitespace and whether to use this setting.
void wxScintilla::SetWhitespaceChars | ( | const wxString & | characters | ) |
Set the set of characters making up whitespace for when moving or selecting by word.
Should be called after SetWordChars.
void wxScintilla::SetWhitespaceForeground | ( | bool | useSetting, |
const wxColour & | fore | ||
) |
Set the foreground colour of all whitespace and whether to use this setting.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetWhitespaceSize | ( | int | size | ) |
Set the size of the dots used to mark space characters.
void wxScintilla::SetWordChars | ( | const wxString & | characters | ) |
Set the set of characters making up words for when moving or selecting by word.
First sets defaults like SetCharsDefault.
void wxScintilla::SetWrapIndentMode | ( | int | wrapIndentMode | ) |
Sets how wrapped sublines are placed. Default is wxSCI_WRAPINDENT_FIXED.
void wxScintilla::SetWrapMode | ( | int | wrapMode | ) |
Sets whether text is word wrapped.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetWrapStartIndent | ( | int | indent | ) |
Set the start indent for wrapped lines.
void wxScintilla::SetWrapVisualFlags | ( | int | wrapVisualFlags | ) |
Set the display mode of visual flags for wrapped lines.
void wxScintilla::SetWrapVisualFlagsLocation | ( | int | wrapVisualFlagsLocation | ) |
Set the location of visual flags for wrapped lines.
void wxScintilla::SetXCaretPolicy | ( | int | caretPolicy, |
int | caretSlop | ||
) |
Set the way the caret is kept visible when going sideways.
The exclusion zone is given in pixels.
void wxScintilla::SetXOffset | ( | int | xOffset | ) |
Set the xOffset (ie, horizontal scroll position).
void wxScintilla::SetYCaretPolicy | ( | int | caretPolicy, |
int | caretSlop | ||
) |
Set the way the line the caret is on is kept visible.
The exclusion zone is given in lines.
Referenced by cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::SetZoom | ( | int | zoomInPoints | ) |
Set the zoom level.
This number of points is added to the size of all fonts. It may be positive to magnify or negative to reduce.
Referenced by MainFrame::OnEditZoomReset(), cbEditor::SetProjectFile(), cbEditor::SetZoom(), and cbEditor::Split().
void wxScintilla::ShowLines | ( | int | lineStart, |
int | lineEnd | ||
) |
Make a range of lines visible.
Referenced by cbEditor::DoFoldAll(), cbEditor::FixFoldState(), and cbEditor::OnEditorModified().
void wxScintilla::StartRecord | ( | ) |
Start notifying the container of all key presses and commands.
void wxScintilla::StartStyling | ( | int | start | ) |
Set the current styling position to start.
void wxScintilla::StopRecord | ( | ) |
Stop notifying the container of all key presses and commands.
void wxScintilla::StutteredPageDown | ( | ) |
Move caret to bottom of page, or one page down if already at bottom of page.
void wxScintilla::StutteredPageDownExtend | ( | ) |
Move caret to bottom of page, or one page down if already at bottom of page, extending selection to new caret position.
void wxScintilla::StutteredPageUp | ( | ) |
Move caret to top of page, or one page up if already at top of page.
void wxScintilla::StutteredPageUpExtend | ( | ) |
Move caret to top of page, or one page up if already at top of page, extending selection to new caret position.
void wxScintilla::StyleClearAll | ( | ) |
Clear all the styles and make equivalent to the global default style.
Referenced by EditorColourSet::Apply(), and cbEditor::InternalSetEditorStyleBeforeFileOpen().
wxColour wxScintilla::StyleGetBackground | ( | int | style | ) | const |
Get the background colour of a style.
bool wxScintilla::StyleGetBold | ( | int | style | ) | const |
Get is a style bold or not.
int wxScintilla::StyleGetCase | ( | int | style | ) | const |
Get is a style mixed case, or to force upper or lower case.
bool wxScintilla::StyleGetChangeable | ( | int | style | ) | const |
Get is a style changeable or not (read only).
Experimental feature, currently buggy.
int wxScintilla::StyleGetCharacterSet | ( | int | style | ) | const |
Get the character get of the font in a style.
bool wxScintilla::StyleGetEOLFilled | ( | int | style | ) | const |
Get is a style to have its end of line filled or not.
wxString wxScintilla::StyleGetFaceName | ( | int | style | ) |
Get the font facename of a style.
wxFont wxScintilla::StyleGetFont | ( | int | style | ) |
Get the font of a style.
Referenced by cbEditorInternalData::SetFoldingColWidth().
wxColour wxScintilla::StyleGetForeground | ( | int | style | ) | const |
Get the foreground colour of a style.
bool wxScintilla::StyleGetHotSpot | ( | int | style | ) | const |
Get is a style a hotspot or not.
bool wxScintilla::StyleGetItalic | ( | int | style | ) | const |
Get is a style italic or not.
int wxScintilla::StyleGetSize | ( | int | style | ) | const |
Get the size of characters of a style.
int wxScintilla::StyleGetSizeFractional | ( | int | style | ) | const |
Get the size of characters of a style in points multiplied by 100.
bool wxScintilla::StyleGetUnderline | ( | int | style | ) | const |
Get is a style underlined or not.
bool wxScintilla::StyleGetVisible | ( | int | style | ) | const |
Get is a style visible or not.
int wxScintilla::StyleGetWeight | ( | int | style | ) | const |
Get the weight of characters of a style.
void wxScintilla::StyleResetDefault | ( | ) |
Reset the default style to its state at startup.
void wxScintilla::StyleSetBackground | ( | int | style, |
const wxColour & | back | ||
) |
Set the background colour of a style.
Referenced by EditorColourSet::Apply(), and EditorColourSet::DoApplyStyle().
void wxScintilla::StyleSetBold | ( | int | style, |
bool | bold | ||
) |
Set a style to be bold or not.
Referenced by EditorColourSet::DoApplyStyle().
void wxScintilla::StyleSetCase | ( | int | style, |
int | caseVisible | ||
) |
Set a style to be mixed case, or to force upper or lower case.
void wxScintilla::StyleSetChangeable | ( | int | style, |
bool | changeable | ||
) |
Set a style to be changeable or not (read only).
Experimental feature, currently buggy.
void wxScintilla::StyleSetCharacterSet | ( | int | style, |
int | characterSet | ||
) |
Set the character set of the font in a style.
void wxScintilla::StyleSetEOLFilled | ( | int | style, |
bool | eolFilled | ||
) |
Set a style to have its end of line filled or not.
void wxScintilla::StyleSetFaceName | ( | int | style, |
const wxString & | fontName | ||
) |
Set the font of a style.
void wxScintilla::StyleSetFont | ( | int | styleNum, |
const wxFont & | font | ||
) |
Set style size, face, bold, italic, and underline attributes from a wxFont's attributes.
Referenced by EditorConfigurationDlg::ApplyColours(), and cbEditor::InternalSetEditorStyleBeforeFileOpen().
void wxScintilla::StyleSetFontAttr | ( | int | styleNum, |
int | size, | ||
const wxString & | faceName, | ||
bool | bold, | ||
bool | italic, | ||
bool | underline, | ||
wxFontEncoding | encoding = wxFONTENCODING_DEFAULT |
||
) |
Set all font style attributes at once.
void wxScintilla::StyleSetFontEncoding | ( | int | style, |
wxFontEncoding | encoding | ||
) |
Set the font encoding to be used by a style.
void wxScintilla::StyleSetForeground | ( | int | style, |
const wxColour & | fore | ||
) |
Set the foreground colour of a style.
Referenced by EditorColourSet::Apply(), and EditorColourSet::DoApplyStyle().
void wxScintilla::StyleSetHotSpot | ( | int | style, |
bool | hotspot | ||
) |
Set a style to be a hotspot or not.
void wxScintilla::StyleSetItalic | ( | int | style, |
bool | italic | ||
) |
Set a style to be italic or not.
Referenced by EditorColourSet::DoApplyStyle().
void wxScintilla::StyleSetSize | ( | int | style, |
int | sizePoints | ||
) |
Set the size of characters of a style.
void wxScintilla::StyleSetSizeFractional | ( | int | style, |
int | sizeHundredthPoints | ||
) |
Set the size of characters of a style. Size is in points multiplied by 100.
void wxScintilla::StyleSetSpec | ( | int | styleNum, |
const wxString & | spec | ||
) |
Extract style settings from a spec-string which is composed of one or more of the following comma separated elements:
bold turns on bold italic turns on italics fore:[name or #RRGGBB] sets the foreground colour back:[name or #RRGGBB] sets the background colour face:[facename] sets the font face name to use size:[num] sets the font size in points eol turns on eol filling underline turns on underlining
void wxScintilla::StyleSetUnderline | ( | int | style, |
bool | underline | ||
) |
Set a style to be underlined or not.
Referenced by EditorColourSet::DoApplyStyle().
void wxScintilla::StyleSetVisible | ( | int | style, |
bool | visible | ||
) |
Set a style to be visible or not.
void wxScintilla::StyleSetWeight | ( | int | style, |
int | weight | ||
) |
Set the weight of characters of a style.
void wxScintilla::SwapMainAnchorCaret | ( | ) |
Swap that caret and anchor of the main selection.
void wxScintilla::Tab | ( | ) |
If selection is empty or all on one line replace the selection with a tab character.
If more than one line selected, indent the lines.
void wxScintilla::TargetFromSelection | ( | ) |
Make the target range start and end be the same as the selection range start and end.
void wxScintilla::TargetWholeDocument | ( | ) |
Sets the target to the whole document.
int wxScintilla::TextHeight | ( | int | line | ) |
Retrieve the height of a particular line of text in pixels.
Referenced by ConfirmReplaceDlg::CalcPosition(), and CCManager::OnAutocompleteSelect().
int wxScintilla::TextWidth | ( | int | style, |
const wxString & | text | ||
) |
Measure the pixel width of some text in a particular style.
Does not handle tab or control characters.
Referenced by CCManager::DoShowTips(), and cbEditorInternalData::SetLineNumberColWidth().
void wxScintilla::ToggleCaretSticky | ( | ) |
Switch between sticky and non-sticky: meant to be bound to a key.
void wxScintilla::ToggleFold | ( | int | line | ) |
Switch a header line between expanded and contracted.
Referenced by cbEditor::FixFoldState(), cbEditor::OnMarginClick(), and cbEditor::SetProjectFile().
void wxScintilla::ToggleFoldShowText | ( | int | line, |
const wxString & | text | ||
) |
Switch a header line between expanded and contracted and show some text after the line.
void wxScintilla::Undo | ( | ) |
Undo one action in the undo history.
Referenced by cbEditor::OnContextMenuEntry(), and cbEditor::Undo().
void wxScintilla::UpperCase | ( | ) |
Transform the selection to upper case.
Referenced by cbEditor::OnContextMenuEntry(), and MainFrame::OnEditUpperCase().
void wxScintilla::UsePopUp | ( | int | popUpMode | ) |
Set whether a pop up menu is displayed automatically when the user presses the wrong mouse button on certain areas.
Referenced by cbEditor::CreateEditor().
void wxScintilla::UserListShow | ( | int | listType, |
const wxString & | itemList | ||
) |
Display a list of strings and send notification when user chooses one.
void wxScintilla::VCHome | ( | ) |
Move caret to before first visible character on line.
If already there move to first character on line.
void wxScintilla::VCHomeDisplay | ( | ) |
Move caret to before first visible character on display line.
If already there move to first character on display line.
void wxScintilla::VCHomeDisplayExtend | ( | ) |
Like VCHomeDisplay but extending selection to new caret position.
void wxScintilla::VCHomeExtend | ( | ) |
Like VCHome but extending selection to new caret position.
void wxScintilla::VCHomeRectExtend | ( | ) |
Move caret to before first visible character on line.
If already there move to first character on line. In either case, extend rectangular selection to new caret position.
void wxScintilla::VCHomeWrap | ( | ) |
Like VCHome but when word-wrap is enabled goes first to start of display line VCHomeDisplay, then behaves like VCHome.
void wxScintilla::VCHomeWrapExtend | ( | ) |
Like VCHomeExtend but when word-wrap is enabled extends first to start of display line VCHomeDisplayExtend, then behaves like VCHomeExtend.
void wxScintilla::VerticalCentreCaret | ( | ) |
Centre current line in window.
int wxScintilla::VisibleFromDocLine | ( | int | docLine | ) |
Find the display line of a document line taking hidden lines into account.
Referenced by CCManagerHelper::IsPosVisible(), and cbStyledTextCtrl::MakeNearbyLinesVisible().
int wxScintilla::WordEndPosition | ( | int | pos, |
bool | onlyWordCharacters | ||
) |
Get position of end of word.
Referenced by EditorBase::DisplayContextMenu(), CodeCompletionHelper::EditorHasNameUnderCursor(), FindReplace::FindSelectedText(), CodeCompletion::GetAutocompList(), NativeParser::GetCallTips(), cbDebuggerPlugin::GetEditorWordAtCaret(), cbSmartIndentPlugin::GetLastNonCommentWord(), GetSelectedText(), CodeRefactoring::GetSymbolUnderCursor(), CodeCompletion::GetTokenAt(), CCManager::OnCompleteCode(), CCManager::OnEditorTooltip(), MainFrame::OnEditSelectNext(), MainFrame::OnEditStreamCommentSelected(), CodeCompletion::OnGotoDeclaration(), CodeRefactoring::Parse(), NativeParser::ParseLocalBlock(), and FindReplace::ShowFindDialog().
void wxScintilla::WordLeft | ( | ) |
Move caret left one word.
void wxScintilla::WordLeftEnd | ( | ) |
Move caret left one word, position cursor at end of word.
void wxScintilla::WordLeftEndExtend | ( | ) |
Move caret left one word, position cursor at end of word, extending selection to new caret position.
void wxScintilla::WordLeftExtend | ( | ) |
Move caret left one word extending selection to new caret position.
void wxScintilla::WordPartLeft | ( | ) |
Move to the previous change in capitalisation.
Referenced by MainFrame::OnEditWordPartLeft().
void wxScintilla::WordPartLeftExtend | ( | ) |
Move to the previous change in capitalisation extending selection to new caret position.
Referenced by MainFrame::OnEditWordPartLeftExtend().
void wxScintilla::WordPartRight | ( | ) |
Move to the change next in capitalisation.
Referenced by MainFrame::OnEditWordPartRight().
void wxScintilla::WordPartRightExtend | ( | ) |
Move to the next change in capitalisation extending selection to new caret position.
Referenced by MainFrame::OnEditWordPartRightExtend().
void wxScintilla::WordRight | ( | ) |
Move caret right one word.
void wxScintilla::WordRightEnd | ( | ) |
Move caret right one word, position cursor at end of word.
void wxScintilla::WordRightEndExtend | ( | ) |
Move caret right one word, position cursor at end of word, extending selection to new caret position.
void wxScintilla::WordRightExtend | ( | ) |
Move caret right one word extending selection to new caret position.
int wxScintilla::WordStartPosition | ( | int | pos, |
bool | onlyWordCharacters | ||
) |
Get position of start of word.
Referenced by EditorBase::DisplayContextMenu(), CodeCompletion::DoAutocomplete(), CCManager::DoShowTips(), CCManager::DoUpdateCallTip(), CodeCompletionHelper::EditorHasNameUnderCursor(), FindReplace::FindSelectedText(), CodeCompletion::GetAutocompList(), NativeParser::GetCallTips(), cbDebuggerPlugin::GetEditorWordAtCaret(), cbSmartIndentPlugin::GetLastNonCommentWord(), GetSelectedText(), CodeRefactoring::GetSymbolUnderCursor(), CCManager::OnCompleteCode(), CCManager::OnEditorHook(), CCManager::OnEditorTooltip(), MainFrame::OnEditSelectNext(), MainFrame::OnEditStreamCommentSelected(), CodeCompletion::OnGotoDeclaration(), CCManager::OnShowCallTip(), NativeParser::ParseLocalBlock(), and FindReplace::ShowFindDialog().
int wxScintilla::WrapCount | ( | int | docLine | ) |
The number of display lines needed to wrap a document line.
|
inlinevirtual |
Definition at line 5251 of file wxscintilla.h.
wxScintilla::wxDEPRECATED_MSG | ( | "This method uses a function deprecated in the Scintilla library." | ) |
Divide each styling byte into lexical class bits (default: 5) and indicator bits (default: 3).
If a lexer requires more than 32 lexical states, then this is used to expand the possible states.
wxScintilla::wxDEPRECATED_MSG | ( | "This method uses a function deprecated in the Scintilla library." | ) | const |
Retrieve number of bits in style bytes used to hold the lexical state.
wxScintilla::wxDEPRECATED_MSG | ( | "This method uses a function deprecated in the Scintilla library." | ) | const |
Retrieve the number of bits the current lexer needs for styling.
void wxScintilla::ZoomIn | ( | ) |
Magnify the displayed text by increasing the sizes by 1 point.
Referenced by MainFrame::OnEditZoomIn().
void wxScintilla::ZoomOut | ( | ) |
Make the displayed text smaller by decreasing the sizes by 1 point.
Referenced by MainFrame::OnEditZoomOut().
|
friend |
Definition at line 5401 of file wxscintilla.h.
|
friend |
Definition at line 5400 of file wxscintilla.h.
|
protected |
Definition at line 5396 of file wxscintilla.h.
|
protected |
Definition at line 5398 of file wxscintilla.h.
|
protected |
Definition at line 5394 of file wxscintilla.h.
|
protected |
Definition at line 5393 of file wxscintilla.h.
|
protected |
Definition at line 5395 of file wxscintilla.h.