NAME

Win32::Mechanize::NotepadPlusPlus::Editor - The editor object for Notepad++ automation

SYNOPSIS

use Win32::Mechanize::NotepadPlusPlus qw/:main/;
my $editor = editor();

DESCRIPTION

The editor object for Notepad++ automation using Win32::Mechanize::NotepadPlusPlus

Object Creation

The Editor objects are created as appropriate, both with the original

use Win32::Mechanize::NotepadPlusPlus;

or, as needed when the Notepad object creates a hidden Scintilla using

notepad()->createScintilla;

PythonScript API: Reordered to ScintillaDocs.html order

Text retrieval and modification

editor()->setText(text)

Replace the contents of the document with the argument text.

See Scintilla documentation for SCI_SETTEXT

editor()->getText()

Retrieve all the text in the document. Returns number of characters retrieved.

See Scintilla documentation for SCI_GETTEXT

editor()->setSavePoint()

Remember the current position in the undo history as the position at which the document was saved.

See Scintilla documentation for SCI_SETSAVEPOINT

editor()->getLine(line)

Retrieve the contents of a line. Returns the length of the line.

See Scintilla documentation for SCI_GETLINE

editor()->replaceSel(text)

Replace the selected text with the argument text.

See Scintilla documentation for SCI_REPLACESEL

editor()->setReadOnly(readOnly)

Set to read only or read write.

See Scintilla documentation for SCI_SETREADONLY

editor()->getReadOnly()

In read-only mode?

See Scintilla documentation for SCI_GETREADONLY

editor()->getTextRange(start, end)

Retrieve a range of text.

See Scintilla documentation for SCI_GETTEXTRANGE

editor()->allocate(bytes)

Enlarge the document to a particular size of text bytes.

See Scintilla documentation for SCI_ALLOCATE

editor()->addText(text)

Add text to the document at current position.

See Scintilla documentation for SCI_ADDTEXT

editor()->addStyledText($text, $style)
editor()->addStyledText($text, \@style_array)

Add text with associated style indices.

editor()->addStyledText("Hello World", 3); # applies style-number-3 to all the characters in the string

This first form applies one style index $style to all the characters in $text.

@style_array = (1,2,3)
editor()->addStyledText("One", \@style_array ); # applies style 1 to "O", 2 to "n", and 3 to "e"
editor()->addStyledText("Two", [9,8,7] );       # applies style 9 to "T", 8 to "w", and 7 to "o"

This second form requires an array-reference \@style_array (or [list of styles]), with one style index per character in $text.

If there is a size mismatch, it will die:

editor()->addStyledText("LongWord", [1,2]);     # will die, because there are not enough elements in the anonymous array

See Scintilla documentation for SCI_ADDSTYLEDTEXT

editor()->appendText(text)

Append a string to the end of the document without changing the selection.

See Scintilla documentation for SCI_APPENDTEXT

editor()->insertText(pos, text)

Insert string at a position.

See Scintilla documentation for SCI_INSERTTEXT

editor()->changeInsertion(length,text)

Change the text that is being inserted in response to SC_MOD_INSERTCHECK.

(This is only meaningful in a notification handler for the SC_MOD_INSERTCHECK notification, and will not be implemented in this module until notifications and callbacks are implemented.)

See Scintilla documentation for SCI_CHANGEINSERTION

editor()->clearAll()

Delete all text in the document.

See Scintilla documentation for SCI_CLEARALL

editor()->deleteRange(pos, deleteLength)

Delete a range of text in the document.

See Scintilla documentation for SCI_DELETERANGE

editor()->clearDocumentStyle()

Set all style bytes to 0, remove all folding information.

See Scintilla documentation for SCI_CLEARDOCUMENTSTYLE

editor()->getCharAt(pos)

Returns the character byte at the position.

See Scintilla documentation for SCI_GETCHARAT

editor()->getStyleAt(pos)

Returns the style byte at the position.

See Scintilla documentation for SCI_GETSTYLEAT

editor()->getStyledText(start, end)

Retrieve a buffer of cells. Returns the number of bytes in the buffer not including terminating NULs.

See Scintilla documentation for SCI_GETSTYLEDTEXT

editor()->releaseAllExtendedStyles()

Release all extended (>255) style numbers

See Scintilla documentation for SCI_RELEASEALLEXTENDEDSTYLES

editor()->allocateExtendedStyles(numberStyles)

Allocate some extended (>255) style numbers and return the start of the range

See Scintilla documentation for SCI_ALLOCATEEXTENDEDSTYLES

editor()->targetAsUTF8()

Returns the target converted to UTF8. Return the length in bytes.

See Scintilla documentation for SCI_TARGETASUTF8

editor()->encodedFromUTF8()

Translates a UTF8 string into the document encoding. Return the length of the result in bytes. On error return 0.

See Scintilla documentation for SCI_ENCODEDFROMUTF8

editor()->setLengthForEncode(bytes)

Set the length of the utf8 argument for calling EncodedFromUTF8. Set to -1 and the string will be measured to the first nul.

See Scintilla documentation for SCI_SETLENGTHFORENCODE

Searching

editor()->setTargetStart(pos)

Sets the position that starts the target which is used for updating the document without affecting the scroll position.

See Scintilla documentation for SCI_SETTARGETSTART

editor()->getTargetStart()

Get the position that starts the target.

See Scintilla documentation for SCI_GETTARGETSTART

editor()->setTargetEnd(pos)

Sets the position that ends the target which is used for updating the document without affecting the scroll position.

See Scintilla documentation for SCI_SETTARGETEND

editor()->getTargetEnd()

Get the position that ends the target.

See Scintilla documentation for SCI_GETTARGETEND

editor()->setTargetRange(start,end)

Sets both the start and end of the target in one call.

See Scintilla documentation for SCI_SETTARGETRANGE

editor()->targetFromSelection()

Make the target range start and end be the same as the selection range start and end.

See Scintilla documentation for SCI_TARGETFROMSELECTION

editor()->targetWholeDocument()

Sets the target to the whole document.

See Scintilla documentation for SCI_TARGETWHOLEDOCUMENT

editor()->setSearchFlags(flags)

Set the search flags used by SearchInTarget.

See Scintilla documentation for SCI_SETSEARCHFLAGS

editor()->getSearchFlags()

Get the search flags used by SearchInTarget.

See Scintilla documentation for SCI_GETSEARCHFLAGS

editor()->searchInTarget(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.

See Scintilla documentation for SCI_SEARCHINTARGET

editor()->getTargetText()

Retrieve the text in the target.

See Scintilla documentation for SCI_GETTARGETTEXT

editor()->replaceTarget(text)

Replace the target text with the argument text. Text is counted so it can contain NULs. Returns the length of the replacement text.

See Scintilla documentation for SCI_REPLACETARGET

editor()->replaceTargetRE(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.

See Scintilla documentation for SCI_REPLACETARGETRE

editor()->getTag(tagNumber)

Retrieve the value of a tag from a regular expression search.

See Scintilla documentation for SCI_GETTAG

editor()->findText(flags, start, end, ft)

Find some text in the document.

See Scintilla documentation for SCI_FINDTEXT

editor()->searchAnchor()

Sets the current caret position to be the search anchor.

See Scintilla documentation for SCI_SEARCHANCHOR

editor()->searchNext(flags, text)

Find some text starting at the search anchor. Does not ensure the selection is visible.

See Scintilla documentation for SCI_SEARCHNEXT

editor()->searchPrev(flags, text)

Find some text starting at the search anchor and moving backwards. Does not ensure the selection is visible.

See Scintilla documentation for SCI_SEARCHPREV

Overtype

editor()->setOvertype(overtype)

Set to overtype (true) or insert mode.

See Scintilla documentation for SCI_SETOVERTYPE

editor()->getOvertype()

Returns true if overtype mode is active otherwise false is returned.

See Scintilla documentation for SCI_GETOVERTYPE

Cut, Copy, and Paste

editor()->cut()

Cut the selection to the clipboard.

See Scintilla documentation for SCI_CUT

editor()->copy()

Copy the selection to the clipboard.

See Scintilla documentation for SCI_COPY

editor()->paste()

Paste the contents of the clipboard into the document replacing the selection.

See Scintilla documentation for SCI_PASTE

editor()->clear()

Clear the selection.

See Scintilla documentation for SCI_CLEAR

editor()->canPaste()

Will a paste succeed?

See Scintilla documentation for SCI_CANPASTE

editor()->copyRange(start, end)

Copy a range of text to the clipboard. Positions are clipped into the document.

See Scintilla documentation for SCI_COPYRANGE

editor()->copyText(text)

Copy argument text to the clipboard.

See Scintilla documentation for SCI_COPYTEXT

editor()->copyAllowLine()

Copy the selection, if selection empty copy the line with the caret

See Scintilla documentation for SCI_COPYALLOWLINE

editor()->setPasteConvertEndings(convert)

Enable/Disable convert-on-paste for line endings

See Scintilla documentation for SCI_SETPASTECONVERTENDINGS

editor()->getPasteConvertEndings()

Get convert-on-paste setting

See Scintilla documentation for SCI_GETPASTECONVERTENDINGS

Error handling

editor()->setStatus(statusCode)

Change error status - 0 = OK.

See Scintilla documentation for SCI_SETSTATUS

editor()->getStatus()

Get error status.

See Scintilla documentation for SCI_GETSTATUS

Undo and redo

editor()->undo()

Undo one action in the undo history.

See Scintilla documentation for SCI_UNDO

editor()->canUndo()

Are there any undoable actions in the undo history?

See Scintilla documentation for SCI_CANUNDO

editor()->emptyUndoBuffer()

Delete the undo history.

See Scintilla documentation for SCI_EMPTYUNDOBUFFER

editor()->canRedo()

Are there any redoable actions in the undo history?

See Scintilla documentation for SCI_CANREDO

editor()->redo()

Redoes the next action on the undo history.

See Scintilla documentation for SCI_REDO

editor()->setUndoCollection(collectUndo)

Choose between collecting actions into the undo history and discarding them.

See Scintilla documentation for SCI_SETUNDOCOLLECTION

editor()->getUndoCollection()

Is undo history being collected?

See Scintilla documentation for SCI_GETUNDOCOLLECTION

editor()->beginUndoAction()

Start a sequence of actions that is undone and redone as a unit. May be nested.

See Scintilla documentation for SCI_BEGINUNDOACTION

editor()->endUndoAction()

End a sequence of actions that is undone and redone as a unit.

See Scintilla documentation for SCI_ENDUNDOACTION

editor()->addUndoAction(token, flags)

Add a container action to the undo stack

See Scintilla documentation for SCI_ADDUNDOACTION

Selection and information

editor()->getTextLength()

Retrieve the number of characters in the document.

See Scintilla documentation for SCI_GETTEXTLENGTH

editor()->getLength()

Returns the number of bytes in the document.

See Scintilla documentation for SCI_GETLENGTH

editor()->getLineCount()

Returns the number of lines in the document. There is always at least one.

See Scintilla documentation for SCI_GETLINECOUNT

editor()->linesOnScreen()

Retrieves the number of lines completely visible.

See Scintilla documentation for SCI_LINESONSCREEN

editor()->getModify()

Is the document different from when it was last saved?

See Scintilla documentation for SCI_GETMODIFY

editor()->setSel(start, end)

Select a range of text.

See Scintilla documentation for SCI_SETSEL

editor()->gotoPos(pos)

Set caret to a position and ensure it is visible.

See Scintilla documentation for SCI_GOTOPOS

editor()->gotoLine(line)

Set caret to start of a line and ensure it is visible.

See Scintilla documentation for SCI_GOTOLINE

editor()->setCurrentPos(pos)

Sets the position of the caret.

See Scintilla documentation for SCI_SETCURRENTPOS

editor()->getCurrentPos()

Returns the position of the caret.

See Scintilla documentation for SCI_GETCURRENTPOS

editor()->setAnchor(posAnchor)

Set the selection anchor to a position. The anchor is the opposite end of the selection from the caret.

See Scintilla documentation for SCI_SETANCHOR

editor()->getAnchor()

Returns the position of the opposite end of the selection to the caret.

See Scintilla documentation for SCI_GETANCHOR

editor()->setSelectionStart(pos)

Sets the position that starts the selection - this becomes the anchor.

See Scintilla documentation for SCI_SETSELECTIONSTART

editor()->getSelectionStart()

Returns the position at the start of the selection.

See Scintilla documentation for SCI_GETSELECTIONSTART

editor()->setSelectionEnd(pos)

Sets the position that ends the selection - this becomes the currentPosition.

See Scintilla documentation for SCI_SETSELECTIONEND

editor()->getSelectionEnd()

Returns the position at the end of the selection.

See Scintilla documentation for SCI_GETSELECTIONEND

editor()->setEmptySelection(pos)

Set caret to a position, while removing any existing selection.

See Scintilla documentation for SCI_SETEMPTYSELECTION

editor()->selectAll()

Select all the text in the document.

See Scintilla documentation for SCI_SELECTALL

editor()->lineFromPosition(pos)

Retrieve the line containing a position.

See Scintilla documentation for SCI_LINEFROMPOSITION

editor()->positionFromLine(line)

Retrieve the position at the start of a line.

See Scintilla documentation for SCI_POSITIONFROMLINE

editor()->getLineEndPosition(line)

Get the position after the last visible characters on a line.

See Scintilla documentation for SCI_GETLINEENDPOSITION

editor()->lineLength(line)

How many characters are on a line, including end of line characters?

See Scintilla documentation for SCI_LINELENGTH

editor()->getColumn(pos)

Retrieve the column number of a position, taking tab width into account.

See Scintilla documentation for SCI_GETCOLUMN

editor()->findColumn(line, 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.

See Scintilla documentation for SCI_FINDCOLUMN

editor()->positionFromPoint(x, y)

Find the position from a point within the window.

See Scintilla documentation for SCI_POSITIONFROMPOINT

editor()->positionFromPointClose(x, y)

Find the position from a point within the window but return INVALID_POSITION if not close to text.

See Scintilla documentation for SCI_POSITIONFROMPOINTCLOSE

editor()->charPositionFromPoint(x, y)

Find the position of a character from a point within the window.

See Scintilla documentation for SCI_CHARPOSITIONFROMPOINT

editor()->charPositionFromPointClose(x, y)

Find the position of a character from a point within the window. Return INVALID_POSITION if not close to text.

See Scintilla documentation for SCI_CHARPOSITIONFROMPOINTCLOSE

editor()->pointXFromPosition(pos)

Retrieve the x value of the point in the window where a position is displayed.

See Scintilla documentation for SCI_POINTXFROMPOSITION

editor()->pointYFromPosition(pos)

Retrieve the y value of the point in the window where a position is displayed.

See Scintilla documentation for SCI_POINTYFROMPOSITION

editor()->hideSelection(normal)

Draw the selection in normal style or with selection highlighted.

See Scintilla documentation for SCI_HIDESELECTION

editor()->getSelText()

Retrieve the selected text. Return the length of the text.

See Scintilla documentation for SCI_GETSELTEXT

editor()->getCurLine()

Retrieve the text of the line containing the caret. Returns the index of the caret on the line.

See Scintilla documentation for SCI_GETCURLINE

editor()->selectionIsRectangle()

Is the selection rectangular? The alternative is the more common stream selection.

See Scintilla documentation for SCI_SELECTIONISRECTANGLE

editor()->setSelectionMode(mode)

Set the selection mode to stream (SC_SEL_STREAM) or rectangular (SC_SEL_RECTANGLE/SC_SEL_THIN) or by lines (SC_SEL_LINES).

See Scintilla documentation for SCI_SETSELECTIONMODE

editor()->getSelectionMode()

Get the mode of the current selection.

See Scintilla documentation for SCI_GETSELECTIONMODE

editor()->getMoveExtendsSelection

Get whether or not regular caret moves will extend or reduce the selection.

See Scintilla documentation for SCI_GETMOVEEXTENDSSELECTION

editor()->getLineSelStartPosition(line)

Retrieve the position of the start of the selection at the given line (INVALID_POSITION if no selection on this line).

See Scintilla documentation for SCI_GETLINESELSTARTPOSITION

editor()->getLineSelEndPosition(line)

Retrieve the position of the end of the selection at the given line (INVALID_POSITION if no selection on this line).

See Scintilla documentation for SCI_GETLINESELENDPOSITION

editor()->moveCaretInsideView()

Move the caret inside current view if it’s not there already.

See Scintilla documentation for SCI_MOVECARETINSIDEVIEW

editor()->positionBefore(pos)

Given a valid document position, return the previous position taking code page into account. Returns 0 if passed 0.

See Scintilla documentation for SCI_POSITIONBEFORE

editor()->positionAfter(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.

See Scintilla documentation for SCI_POSITIONAFTER

editor()->textWidth(style, text)

Measure the pixel width of some text in a particular style. NUL terminated text argument. Does not handle tab or control characters.

See Scintilla documentation for SCI_TEXTWIDTH

editor()->textHeight(line)

Retrieve the height of a particular line of text in pixels.

See Scintilla documentation for SCI_TEXTHEIGHT

editor()->chooseCaretX()

Set the last x chosen value to be the caret x position.

See Scintilla documentation for SCI_CHOOSECARETX

editor()->moveSelectedLinesUp()

Move the selected lines up one line, shifting the line above after the selection

See Scintilla documentation for SCI_MOVESELECTEDLINESUP

editor()->moveSelectedLinesDown()

Move the selected lines down one line, shifting the line below before the selection

See Scintilla documentation for SCI_MOVESELECTEDLINESDOWN

editor()->setMouseSelectionRectangularSwitch(mouseSelectionRectangularSwitch)

Set whether switching to rectangular mode while selecting with the mouse is allowed.

See Scintilla documentation for SCI_SETMOUSESELECTIONRECTANGULARSWITCH

editor()->getMouseSelectionRectangularSwitch()

Whether switching to rectangular mode while selecting with the mouse is allowed.

See Scintilla documentation for SCI_GETMOUSESELECTIONRECTANGULARSWITCH

By character or UTF-16 code unit

editor()->positionRelative(pos, 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.

See Scintilla documentation for SCI_POSITIONRELATIVE

editor()->positionRelativeCodeUnits(pos, relative)

Given a valid document position, return a position that differs in a number of UTF-16 code units. Returned value is always between 0 and last position in document. The result may point half way (2 bytes) inside a non-BMP character.

See Scintilla documentation for SCI_POSITIONRELATIVECODEUNITS

editor()->countCharacters(startPos, endPos)

Count characters between two positions.

See Scintilla documentation for SCI_COUNTCHARACTERS

editor()->countCodeUnits(start, end)

Count code units between two positions.

See Scintilla documentation for SCI_COUNTCODEUNITS

editor()->getLineCharacterIndex()

Retrieve line character index state.

See Scintilla documentation for SCI_GETLINECHARACTERINDEX

editor()->allocateLineCharacterIndex(lineCharacterIndex)

Request line character index be created or its use count increased.

See Scintilla documentation for SCI_ALLOCATELINECHARACTERINDEX

editor()->releaseLineCharacterIndex(lineCharacterIndex)

Decrease use count of line character index and remove if 0.

See Scintilla documentation for SCI_RELEASELINECHARACTERINDEX

editor()->lineFromIndexPosition(pos, lineCharacterIndex)

Retrieve the document line containing a position measured in index units.

See Scintilla documentation for SCI_LINEFROMINDEXPOSITION

editor()->indexPositionFromLine(line, lineCharacterIndex)

Retrieve the position measured in index units at the start of a document line.

See Scintilla documentation for SCI_INDEXPOSITIONFROMLINE

Multiple Selection and Virtual Space

editor()->setMultipleSelection(multipleSelection)

Set whether multiple selections can be made

See Scintilla documentation for SCI_SETMULTIPLESELECTION

editor()->getMultipleSelection()

Whether multiple selections can be made

See Scintilla documentation for SCI_GETMULTIPLESELECTION

editor()->setAdditionalSelectionTyping(additionalSelectionTyping)

Set whether typing can be performed into multiple selections

See Scintilla documentation for SCI_SETADDITIONALSELECTIONTYPING

editor()->getAdditionalSelectionTyping()

Whether typing can be performed into multiple selections

See Scintilla documentation for SCI_GETADDITIONALSELECTIONTYPING

editor()->setMultiPaste(multiPaste)

Change the effect of pasting when there are multiple selections.

See Scintilla documentation for SCI_SETMULTIPASTE

editor()->getMultiPaste()

Retrieve the effect of pasting when there are multiple selections..

See Scintilla documentation for SCI_GETMULTIPASTE

editor()->setVirtualSpaceOptions(virtualSpaceOptions)

Returns the position at the end of the selection.

See Scintilla documentation for SCI_SETVIRTUALSPACEOPTIONS

editor()->getVirtualSpaceOptions()

Returns the position at the end of the selection.

See Scintilla documentation for SCI_GETVIRTUALSPACEOPTIONS

editor()->setRectangularSelectionModifier(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 SCMOD_CTRL(default), SCMOD_ALT, or SCMOD_SUPER.

See Scintilla documentation for SCI_SETRECTANGULARSELECTIONMODIFIER

editor()->getRectangularSelectionModifier()

Get the modifier key used for rectangular selection.

See Scintilla documentation for SCI_GETRECTANGULARSELECTIONMODIFIER

editor()->getSelections()

How many selections are there?

See Scintilla documentation for SCI_GETSELECTIONS

editor()->getSelectionEmpty()

Is every selected range empty?

See Scintilla documentation for SCI_GETSELECTIONEMPTY

editor()->clearSelections()

Clear selections to a single empty stream selection

See Scintilla documentation for SCI_CLEARSELECTIONS

editor()->setSelection(caret, anchor)

Set a simple selection

See Scintilla documentation for SCI_SETSELECTION

editor()->addSelection(caret, anchor)

Add a selection

See Scintilla documentation for SCI_ADDSELECTION

editor()->dropSelectionN(selection)

Drop one selection

See Scintilla documentation for SCI_DROPSELECTIONN

editor()->setMainSelection(selection)

Set the main selection

See Scintilla documentation for SCI_SETMAINSELECTION

editor()->getMainSelection()

Which selection is the main selection

See Scintilla documentation for SCI_GETMAINSELECTION

editor()->setSelectionNCaret(selection, pos)

Which selection is the main selection

See Scintilla documentation for SCI_SETSELECTIONNCARET

editor()->getSelectionNCaret(selection)

Which selection is the main selection

See Scintilla documentation for SCI_GETSELECTIONNCARET

editor()->setSelectionNCaretVirtualSpace(selection, space)

Which selection is the main selection

See Scintilla documentation for SCI_SETSELECTIONNCARETVIRTUALSPACE

editor()->getSelectionNCaretVirtualSpace(selection)

Which selection is the main selection

See Scintilla documentation for SCI_GETSELECTIONNCARETVIRTUALSPACE

editor()->setSelectionNAnchor(selection, posAnchor)

Which selection is the main selection

See Scintilla documentation for SCI_SETSELECTIONNANCHOR

editor()->getSelectionNAnchor(selection)

Which selection is the main selection

See Scintilla documentation for SCI_GETSELECTIONNANCHOR

editor()->setSelectionNAnchorVirtualSpace(selection, space)

Which selection is the main selection

See Scintilla documentation for SCI_SETSELECTIONNANCHORVIRTUALSPACE

editor()->getSelectionNAnchorVirtualSpace(selection)

Which selection is the main selection

See Scintilla documentation for SCI_GETSELECTIONNANCHORVIRTUALSPACE

editor()->setSelectionNStart(selection, pos)

Sets the position that starts the selection - this becomes the anchor.

See Scintilla documentation for SCI_SETSELECTIONNSTART

editor()->getSelectionNStart(selection)

Returns the position at the start of the selection.

See Scintilla documentation for SCI_GETSELECTIONNSTART

editor()->setSelectionNEnd(selection, pos)

Sets the position that ends the selection - this becomes the currentPosition.

See Scintilla documentation for SCI_SETSELECTIONNEND

editor()->getSelectionNEnd(selection)

Returns the position at the end of the selection.

See Scintilla documentation for SCI_GETSELECTIONNEND

editor()->setRectangularSelectionCaret(pos)

Returns the position at the end of the selection.

See Scintilla documentation for SCI_SETRECTANGULARSELECTIONCARET

editor()->getRectangularSelectionCaret()

Returns the position at the end of the selection.

See Scintilla documentation for SCI_GETRECTANGULARSELECTIONCARET

editor()->setRectangularSelectionCaretVirtualSpace(space)

Returns the position at the end of the selection.

See Scintilla documentation for SCI_SETRECTANGULARSELECTIONCARETVIRTUALSPACE

editor()->getRectangularSelectionCaretVirtualSpace()

Returns the position at the end of the selection.

See Scintilla documentation for SCI_GETRECTANGULARSELECTIONCARETVIRTUALSPACE

editor()->setRectangularSelectionAnchor(posAnchor)

Returns the position at the end of the selection.

See Scintilla documentation for SCI_SETRECTANGULARSELECTIONANCHOR

editor()->getRectangularSelectionAnchor()

Returns the position at the end of the selection.

See Scintilla documentation for SCI_GETRECTANGULARSELECTIONANCHOR

editor()->setRectangularSelectionAnchorVirtualSpace(space)

Returns the position at the end of the selection.

See Scintilla documentation for SCI_SETRECTANGULARSELECTIONANCHORVIRTUALSPACE

editor()->getRectangularSelectionAnchorVirtualSpace()

Returns the position at the end of the selection.

See Scintilla documentation for SCI_GETRECTANGULARSELECTIONANCHORVIRTUALSPACE

editor()->setAdditionalSelAlpha(alpha)

Set the alpha of the selection.

See Scintilla documentation for SCI_SETADDITIONALSELALPHA

editor()->getAdditionalSelAlpha()

Get the alpha of the selection.

See Scintilla documentation for SCI_GETADDITIONALSELALPHA

editor()->setAdditionalSelFore(fore)

Set the foreground colour of additional selections. Must have previously called SetSelFore with non-zero first argument for this to have an effect.

See Scintilla documentation for SCI_SETADDITIONALSELFORE

editor()->setAdditionalSelBack(back)

Set the background colour of additional selections. Must have previously called SetSelBack with non-zero first argument for this to have an effect.

See Scintilla documentation for SCI_SETADDITIONALSELBACK

editor()->setAdditionalCaretFore(fore)

Set the foreground colour of additional carets.

See Scintilla documentation for SCI_SETADDITIONALCARETFORE

editor()->getAdditionalCaretFore()

Get the foreground colour of additional carets.

See Scintilla documentation for SCI_GETADDITIONALCARETFORE

editor()->setAdditionalCaretsBlink(additionalCaretsBlink)

Set whether additional carets will blink

See Scintilla documentation for SCI_SETADDITIONALCARETSBLINK

editor()->getAdditionalCaretsBlink()

Whether additional carets will blink

See Scintilla documentation for SCI_GETADDITIONALCARETSBLINK

editor()->setAdditionalCaretsVisible(additionalCaretsBlink)

Set whether additional carets are visible

See Scintilla documentation for SCI_SETADDITIONALCARETSVISIBLE

editor()->getAdditionalCaretsVisible()

Whether additional carets are visible

See Scintilla documentation for SCI_GETADDITIONALCARETSVISIBLE

editor()->swapMainAnchorCaret()

Swap that caret and anchor of the main selection.

See Scintilla documentation for SCI_SWAPMAINANCHORCARET

editor()->rotateSelection()

Set the main selection to the next selection.

See Scintilla documentation for SCI_ROTATESELECTION

editor()->multipleSelectAddNext

TODO

See Scintilla documentation for SCI_MULTIPLESELECTADDNEXT

editor()->multipleSelectAddEach

TODO

See Scintilla documentation for SCI_MULTIPLESELECTADDEACH

Scrolling and automatic scrolling

editor()->setFirstVisibleLine(lineDisplay)

Scroll so that a display line is at the top of the display.

See Scintilla documentation for SCI_SETFIRSTVISIBLELINE

editor()->getFirstVisibleLine()

Retrieve the display line at the top of the display.

See Scintilla documentation for SCI_GETFIRSTVISIBLELINE

editor()->setXOffset(newOffset)

Get and Set the xOffset (ie, horizontal scroll position).

See Scintilla documentation for SCI_SETXOFFSET

editor()->getXOffset()

Get and Set the xOffset (ie, horizontal scroll position).

See Scintilla documentation for SCI_GETXOFFSET

editor()->lineScroll(columns, lines)

Scroll horizontally and vertically.

See Scintilla documentation for SCI_LINESCROLL

editor()->scrollCaret()

Ensure the caret is visible.

See Scintilla documentation for SCI_SCROLLCARET

editor()->scrollRange(secondary, 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.

See Scintilla documentation for SCI_SCROLLRANGE

editor()->setXCaretPolicy(caretPolicy, caretSlop)

Set the way the caret is kept visible when going sideways. The exclusion zone is given in pixels.

See Scintilla documentation for SCI_SETXCARETPOLICY

editor()->setYCaretPolicy(caretPolicy, caretSlop)

Set the way the line the caret is on is kept visible. The exclusion zone is given in lines.

See Scintilla documentation for SCI_SETYCARETPOLICY

editor()->setVisiblePolicy(visiblePolicy, visibleSlop)

Set the way the display area is determined when a particular line is to be moved to by Find, FindNext, GotoLine, etc.

See Scintilla documentation for SCI_SETVISIBLEPOLICY

editor()->setHScrollBar(show)

Show or hide the horizontal scroll bar.

See Scintilla documentation for SCI_SETHSCROLLBAR

editor()->getHScrollBar()

Is the horizontal scroll bar visible?

See Scintilla documentation for SCI_GETHSCROLLBAR

editor()->setVScrollBar(show)

Show or hide the vertical scroll bar.

See Scintilla documentation for SCI_SETVSCROLLBAR

editor()->getVScrollBar()

Is the vertical scroll bar visible?

See Scintilla documentation for SCI_GETVSCROLLBAR

editor()->setScrollWidth(pixelWidth)

Sets the document width assumed for scrolling.

See Scintilla documentation for SCI_SETSCROLLWIDTH

editor()->getScrollWidth()

Retrieve the document width assumed for scrolling.

See Scintilla documentation for SCI_GETSCROLLWIDTH

editor()->setScrollWidthTracking(tracking)

Sets whether the maximum width line displayed is used to set scroll width.

See Scintilla documentation for SCI_SETSCROLLWIDTHTRACKING

editor()->getScrollWidthTracking()

Retrieve whether the scroll width tracks wide lines.

See Scintilla documentation for SCI_GETSCROLLWIDTHTRACKING

editor()->setEndAtLastLine(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.

See Scintilla documentation for SCI_SETENDATLASTLINE

editor()->getEndAtLastLine()

Retrieve whether the maximum scroll position has the last line at the bottom of the view.

See Scintilla documentation for SCI_GETENDATLASTLINE

White space

editor()->setViewWS(viewWS)

Make white space characters invisible, always visible or visible outside indentation.

See Scintilla documentation for SCI_SETVIEWWS

editor()->getViewWS()

Are white space characters currently visible? Returns one of SCWS_* constants.

See Scintilla documentation for SCI_GETVIEWWS

editor()->setWhitespaceFore(useSetting, fore)

Set the foreground colour of all whitespace and whether to use this setting.

See Scintilla documentation for SCI_SETWHITESPACEFORE

editor()->setWhitespaceBack(useSetting, back)

Set the background colour of all whitespace and whether to use this setting.

See Scintilla documentation for SCI_SETWHITESPACEBACK

editor()->setWhitespaceSize(size)

Set the size of the dots used to mark space characters.

See Scintilla documentation for SCI_SETWHITESPACESIZE

editor()->getWhitespaceSize()

Get the size of the dots used to mark space characters.

See Scintilla documentation for SCI_GETWHITESPACESIZE

editor()->setTabDrawMode

TODO

See Scintilla documentation for SCI_SETTABDRAWMODE

editor()->getTabDrawMode

TODO

See Scintilla documentation for SCI_GETTABDRAWMODE

editor()->setExtraAscent(extraAscent)

Set extra ascent for each line

See Scintilla documentation for SCI_SETEXTRAASCENT

editor()->getExtraAscent()

Get extra ascent for each line

See Scintilla documentation for SCI_GETEXTRAASCENT

editor()->setExtraDescent(extraDescent)

Set extra descent for each line

See Scintilla documentation for SCI_SETEXTRADESCENT

editor()->getExtraDescent()

Get extra descent for each line

See Scintilla documentation for SCI_GETEXTRADESCENT

Cursor

editor()->setCursor(cursorType)

Sets the cursor to one of the SC_CURSOR* values.

See Scintilla documentation for SCI_SETCURSOR

editor()->getCursor()

Get cursor type.

See Scintilla documentation for SCI_GETCURSOR

Mouse capture

editor()->setMouseDownCaptures(captures)

Set whether the mouse is captured when its button is pressed.

See Scintilla documentation for SCI_SETMOUSEDOWNCAPTURES

editor()->getMouseDownCaptures()

Get whether mouse gets captured.

See Scintilla documentation for SCI_GETMOUSEDOWNCAPTURES

editor()->setMouseWheelCaptures

TODO

See Scintilla documentation for SCI_SETMOUSEWHEELCAPTURES

editor()->getMouseWheelCaptures

TODO

See Scintilla documentation for SCI_GETMOUSEWHEELCAPTURES

Line endings

editor()->setEOLMode(eolMode)

Set the current end of line mode.

See Scintilla documentation for SCI_SETEOLMODE

editor()->getEOLMode()

Retrieve the current end of line mode - one of CRLF, CR, or LF.

See Scintilla documentation for SCI_GETEOLMODE

editor()->convertEOLs(eolMode)

Convert all line endings in the document to one mode.

See Scintilla documentation for SCI_CONVERTEOLS

editor()->setViewEOL(visible)

Make the end of line characters visible or invisible.

See Scintilla documentation for SCI_SETVIEWEOL

editor()->getViewEOL()

Are the end of line characters visible?

See Scintilla documentation for SCI_GETVIEWEOL

editor()->getLineEndTypesSupported()

Bit set of LineEndType enumertion for which line ends beyond the standard LF, CR, and CRLF are supported by the lexer.

See Scintilla documentation for SCI_GETLINEENDTYPESSUPPORTED

editor()->setLineEndTypesAllowed(lineEndBitSet)

Set the line end types that the application wants to use. May not be used if incompatible with lexer or encoding.

See Scintilla documentation for SCI_SETLINEENDTYPESALLOWED

editor()->getLineEndTypesAllowed()

Get the line end types currently allowed.

See Scintilla documentation for SCI_GETLINEENDTYPESALLOWED

editor()->getLineEndTypesActive()

Get the line end types currently recognised. May be a subset of the allowed types due to lexer limitation.

See Scintilla documentation for SCI_GETLINEENDTYPESACTIVE

Words

editor()->wordStartPosition(pos, onlyWordCharacters)

Get position of start of word.

See Scintilla documentation for SCI_WORDSTARTPOSITION

editor()->wordEndPosition(pos, onlyWordCharacters)

Get position of end of word.

See Scintilla documentation for SCI_WORDENDPOSITION

editor()->isRangeWord

TODO

See Scintilla documentation for SCI_ISRANGEWORD

editor()->setWordChars(characters)

Set the set of characters making up words for when moving or selecting by word. First sets defaults like SetCharsDefault.

See Scintilla documentation for SCI_SETWORDCHARS

editor()->getWordChars()

Get the set of characters making up words for when moving or selecting by word. Retuns the number of characters

See Scintilla documentation for SCI_GETWORDCHARS

editor()->setWhitespaceChars(characters)

Set the set of characters making up whitespace for when moving or selecting by word. Should be called after SetWordChars.

See Scintilla documentation for SCI_SETWHITESPACECHARS

editor()->getWhitespaceChars()

Get the set of characters making up whitespace for when moving or selecting by word.

See Scintilla documentation for SCI_GETWHITESPACECHARS

editor()->setPunctuationChars(characters)

Set the set of characters making up punctuation characters Should be called after SetWordChars.

See Scintilla documentation for SCI_SETPUNCTUATIONCHARS

editor()->getPunctuationChars()

Get the set of characters making up punctuation characters

See Scintilla documentation for SCI_GETPUNCTUATIONCHARS

editor()->setCharsDefault()

Reset the set of characters for whitespace and word characters to the defaults.

See Scintilla documentation for SCI_SETCHARSDEFAULT

editor()->setCharacterCategoryOptimization

TODO

See Scintilla documentation for SCI_SETCHARACTERCATEGORYOPTIMIZATION

editor()->getCharacterCategoryOptimization

TODO

See Scintilla documentation for SCI_GETCHARACTERCATEGORYOPTIMIZATION

Styling

editor()->getEndStyled()

Retrieve the position of the last correctly styled character.

See Scintilla documentation for SCI_GETENDSTYLED

editor()->startStyling(pos, mask)

Set the current styling position to pos and the styling mask to mask. The styling mask can be used to protect some bits in each styling byte from modification.

See Scintilla documentation for SCI_STARTSTYLING

editor()->setStyling(length, 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.

See Scintilla documentation for SCI_SETSTYLING

editor()->setStylingEx(styles)

Set the styles for a segment of the document.

See Scintilla documentation for SCI_SETSTYLINGEX

editor()->setIdleStyling

TODO

See Scintilla documentation for SCI_SETIDLESTYLING

editor()->getIdleStyling

TODO

See Scintilla documentation for SCI_GETIDLESTYLING

editor()->setLineState(line, state)

Used to hold extra styling information for each line.

See Scintilla documentation for SCI_SETLINESTATE

editor()->getLineState(line)

Retrieve the extra styling information for a line.

See Scintilla documentation for SCI_GETLINESTATE

editor()->getMaxLineState()

Retrieve the last line number that has line state.

See Scintilla documentation for SCI_GETMAXLINESTATE

Style definition

editor()->styleResetDefault()

Reset the default style to its state at startup

See Scintilla documentation for SCI_STYLERESETDEFAULT

editor()->styleClearAll()

Clear all the styles and make equivalent to the global default style.

See Scintilla documentation for SCI_STYLECLEARALL

editor()->styleSetFont(style, fontName)

Set the font of a style.

See Scintilla documentation for SCI_STYLESETFONT

editor()->styleGetFont(style)

Get the font of a style. Returns the length of the fontName

See Scintilla documentation for SCI_STYLEGETFONT

editor()->styleSetSize(style, sizePoints)

Set the size of characters of a style.

See Scintilla documentation for SCI_STYLESETSIZE

editor()->styleGetSize(style)

Get the size of characters of a style.

See Scintilla documentation for SCI_STYLEGETSIZE

editor()->styleSetSizeFractional(style, caseForce)

Set the size of characters of a style. Size is in points multiplied by 100.

See Scintilla documentation for SCI_STYLESETSIZEFRACTIONAL

editor()->styleGetSizeFractional(style)

Get the size of characters of a style in points multiplied by 100

See Scintilla documentation for SCI_STYLEGETSIZEFRACTIONAL

editor()->styleSetBold(style, bold)

Set a style to be bold or not.

See Scintilla documentation for SCI_STYLESETBOLD

editor()->styleGetBold(style)

Get is a style bold or not.

See Scintilla documentation for SCI_STYLEGETBOLD

editor()->styleSetWeight(style, weight)

Set the weight of characters of a style.

See Scintilla documentation for SCI_STYLESETWEIGHT

editor()->styleGetWeight(style)

Get the weight of characters of a style.

See Scintilla documentation for SCI_STYLEGETWEIGHT

editor()->styleSetItalic(style, italic)

Set a style to be italic or not.

See Scintilla documentation for SCI_STYLESETITALIC

editor()->styleGetItalic(style)

Get is a style italic or not.

See Scintilla documentation for SCI_STYLEGETITALIC

editor()->styleSetUnderline(style, underline)

Set a style to be underlined or not.

See Scintilla documentation for SCI_STYLESETUNDERLINE

editor()->styleGetUnderline(style)

Get is a style underlined or not.

See Scintilla documentation for SCI_STYLEGETUNDERLINE

editor()->styleSetFore(style, fore)

Set the foreground colour of a style.

See Scintilla documentation for SCI_STYLESETFORE

editor()->styleGetFore(style)

Get the foreground colour of a style.

See Scintilla documentation for SCI_STYLEGETFORE

editor()->styleSetBack(style, back)

Set the background colour of a style.

See Scintilla documentation for SCI_STYLESETBACK

editor()->styleGetBack(style)

Get the background colour of a style.

See Scintilla documentation for SCI_STYLEGETBACK

editor()->styleSetEOLFilled(style, filled)

Set a style to have its end of line filled or not.

See Scintilla documentation for SCI_STYLESETEOLFILLED

editor()->styleGetEOLFilled(style)

Get is a style to have its end of line filled or not.

See Scintilla documentation for SCI_STYLEGETEOLFILLED

editor()->styleSetCharacterset

TODO

See Scintilla documentation for SCI_STYLESETCHARACTERSET

editor()->styleGetCharacterset

TODO

See Scintilla documentation for SCI_STYLEGETCHARACTERSET

editor()->styleSetCase(style, caseForce)

Set a style to be mixed case, or to force upper or lower case.

See Scintilla documentation for SCI_STYLESETCASE

editor()->styleGetCase(style)

Get is a style mixed case, or to force upper or lower case.

See Scintilla documentation for SCI_STYLEGETCASE

editor()->styleSetVisible(style, visible)

Set a style to be visible or not.

See Scintilla documentation for SCI_STYLESETVISIBLE

editor()->styleGetVisible(style)

Get is a style visible or not.

See Scintilla documentation for SCI_STYLEGETVISIBLE

editor()->styleSetChangeable(style, changeable)

Set a style to be changeable or not (read only). Experimental feature, currently buggy.

See Scintilla documentation for SCI_STYLESETCHANGEABLE

editor()->styleGetChangeable(style)

Get is a style changeable or not (read only). Experimental feature, currently buggy.

See Scintilla documentation for SCI_STYLEGETCHANGEABLE

editor()->styleSetHotSpot(style, hotspot)

Set a style to be a hotspot or not.

See Scintilla documentation for SCI_STYLESETHOTSPOT

editor()->styleGetHotSpot(style)

Get is a style a hotspot or not.

See Scintilla documentation for SCI_STYLEGETHOTSPOT

Caret, selection, and hotspot styles

editor()->setSelFore(useSetting, fore)

Set the foreground colour of the main and additional selections and whether to use this setting.

See Scintilla documentation for SCI_SETSELFORE

editor()->setSelBack(useSetting, back)

Set the background colour of the main and additional selections and whether to use this setting.

See Scintilla documentation for SCI_SETSELBACK

editor()->getSelAlpha()

Get the alpha of the selection.

See Scintilla documentation for SCI_GETSELALPHA

editor()->setSelAlpha(alpha)

Set the alpha of the selection.

See Scintilla documentation for SCI_SETSELALPHA

editor()->getSelEOLFilled()

Is the selection end of line filled?

See Scintilla documentation for SCI_GETSELEOLFILLED

editor()->setSelEOLFilled(filled)

Set the selection to have its end of line filled or not.

See Scintilla documentation for SCI_SETSELEOLFILLED

editor()->setCaretFore(fore)

Set the foreground colour of the caret.

See Scintilla documentation for SCI_SETCARETFORE

editor()->getCaretFore()

Get the foreground colour of the caret.

See Scintilla documentation for SCI_GETCARETFORE

editor()->getCaretLineVisible()

Is the background of the line containing the caret in a different colour?

See Scintilla documentation for SCI_GETCARETLINEVISIBLE

editor()->setCaretLineVisible(show)

Display the background of the line containing the caret in a different colour.

See Scintilla documentation for SCI_SETCARETLINEVISIBLE

editor()->getCaretLineBack()

Get the colour of the background of the line containing the caret.

See Scintilla documentation for SCI_GETCARETLINEBACK

editor()->setCaretLineBack(back)

Set the colour of the background of the line containing the caret.

See Scintilla documentation for SCI_SETCARETLINEBACK

editor()->setCaretLineBackAlpha(alpha)

Set background alpha of the caret line.

See Scintilla documentation for SCI_SETCARETLINEBACKALPHA

editor()->getCaretLineBackAlpha()

Get the background alpha of the caret line.

See Scintilla documentation for SCI_GETCARETLINEBACKALPHA

editor()->setCaretLineFrame

TODO

See Scintilla documentation for SCI_SETCARETLINEFRAME

editor()->getCaretLineFrame

TODO

See Scintilla documentation for SCI_GETCARETLINEFRAME

editor()->getCaretLineVisibleAlways()

Is the caret line always visible?

See Scintilla documentation for SCI_GETCARETLINEVISIBLEALWAYS

editor()->setCaretLineVisibleAlways(alwaysVisible)

Sets the caret line to always visible.

See Scintilla documentation for SCI_SETCARETLINEVISIBLEALWAYS

editor()->getCaretPeriod()

Get the time in milliseconds that the caret is on and off.

See Scintilla documentation for SCI_GETCARETPERIOD

editor()->setCaretPeriod(periodMilliseconds)

Get the time in milliseconds that the caret is on and off. 0 = steady on.

See Scintilla documentation for SCI_SETCARETPERIOD

editor()->setCaretStyle(caretStyle)

Set the style of the caret to be drawn.

See Scintilla documentation for SCI_SETCARETSTYLE

editor()->getCaretStyle()

Returns the current style of the caret.

See Scintilla documentation for SCI_GETCARETSTYLE

editor()->setCaretWidth(pixelWidth)

Set the width of the insert mode caret.

See Scintilla documentation for SCI_SETCARETWIDTH

editor()->getCaretWidth()

Returns the width of the insert mode caret.

See Scintilla documentation for SCI_GETCARETWIDTH

editor()->setHotspotActiveFore(useSetting, fore)

Set a fore colour for active hotspots.

See Scintilla documentation for SCI_SETHOTSPOTACTIVEFORE

editor()->getHotspotActiveFore()

Get the fore colour for active hotspots.

See Scintilla documentation for SCI_GETHOTSPOTACTIVEFORE

editor()->setHotspotActiveBack(useSetting, back)

Set a back colour for active hotspots.

See Scintilla documentation for SCI_SETHOTSPOTACTIVEBACK

editor()->getHotspotActiveBack()

Get the back colour for active hotspots.

See Scintilla documentation for SCI_GETHOTSPOTACTIVEBACK

editor()->setHotspotActiveUnderline(underline)

Enable / Disable underlining active hotspots.

See Scintilla documentation for SCI_SETHOTSPOTACTIVEUNDERLINE

editor()->getHotspotActiveUnderline()

Get whether underlining for active hotspots.

See Scintilla documentation for SCI_GETHOTSPOTACTIVEUNDERLINE

editor()->setHotspotSingleLine(singleLine)

Limit hotspots to single line so hotspots on two lines don’t merge.

See Scintilla documentation for SCI_SETHOTSPOTSINGLELINE

editor()->getHotspotSingleLine()

Get the HotspotSingleLine property

See Scintilla documentation for SCI_GETHOTSPOTSINGLELINE

editor()->getCaretSticky()

Can the caret preferred x position only be changed by explicit movement commands?

See Scintilla documentation for SCI_GETCARETSTICKY

editor()->setCaretSticky(useCaretStickyBehaviour)

Stop the caret preferred x position changing when the user types.

See Scintilla documentation for SCI_SETCARETSTICKY

editor()->toggleCaretSticky()

Switch between sticky and non-sticky: meant to be bound to a key.

See Scintilla documentation for SCI_TOGGLECARETSTICKY

Character representations

editor()->setRepresentation(encodedCharacter, representation)

Set the way a character is drawn.

See Scintilla documentation for SCI_SETREPRESENTATION

editor()->getRepresentation()

Set the way a character is drawn.

See Scintilla documentation for SCI_GETREPRESENTATION

editor()->clearRepresentation(encodedCharacter)

Remove a character representation.

See Scintilla documentation for SCI_CLEARREPRESENTATION

editor()->setControlCharSymbol(symbol)

Change the way control characters are displayed: If symbol is < 32, keep the drawn way, else, use the given character.

See Scintilla documentation for SCI_SETCONTROLCHARSYMBOL

editor()->getControlCharSymbol()

Get the way control characters are displayed.

See Scintilla documentation for SCI_GETCONTROLCHARSYMBOL

Margins

editor()->setMargins

TODO

See Scintilla documentation for SCI_SETMARGINS

editor()->getMargins

TODO

See Scintilla documentation for SCI_GETMARGINS

editor()->setMarginTypeN(margin, marginType)

Set a margin to be either numeric or symbolic.

See Scintilla documentation for SCI_SETMARGINTYPEN

editor()->getMarginTypeN(margin)

Retrieve the type of a margin.

See Scintilla documentation for SCI_GETMARGINTYPEN

editor()->setMarginWidthN(margin, pixelWidth)

Set the width of a margin to a width expressed in pixels.

See Scintilla documentation for SCI_SETMARGINWIDTHN

editor()->getMarginWidthN(margin)

Retrieve the width of a margin in pixels.

See Scintilla documentation for SCI_GETMARGINWIDTHN

editor()->setMarginMaskN(margin, mask)

Set a mask that determines which markers are displayed in a margin.

See Scintilla documentation for SCI_SETMARGINMASKN

editor()->getMarginMaskN(margin)

Retrieve the marker mask of a margin.

See Scintilla documentation for SCI_GETMARGINMASKN

editor()->setMarginSensitiveN(margin, sensitive)

Make a margin sensitive or insensitive to mouse clicks.

See Scintilla documentation for SCI_SETMARGINSENSITIVEN

editor()->getMarginSensitiveN(margin)

Retrieve the mouse click sensitivity of a margin.

See Scintilla documentation for SCI_GETMARGINSENSITIVEN

editor()->setMarginCursorN(margin, cursor)

Set the cursor shown when the mouse is inside a margin.

See Scintilla documentation for SCI_SETMARGINCURSORN

editor()->getMarginCursorN(margin)

Retrieve the cursor shown in a margin.

See Scintilla documentation for SCI_GETMARGINCURSORN

editor()->styleGetCharacterSet(style)

Get the character get of the font in a style.

See Scintilla documentation for todo_SCI

editor()->setMarginBackN(margin, back)

TODO

See Scintilla documentation for SCI_SETMARGINBACKN

editor()->getMarginBackN

TODO

See Scintilla documentation for SCI_GETMARGINBACKN

editor()->setMarginLeft(pixelWidth)

Sets the size in pixels of the left margin.

See Scintilla documentation for SCI_SETMARGINLEFT

editor()->getMarginLeft()

Returns the size in pixels of the left margin.

See Scintilla documentation for SCI_GETMARGINLEFT

editor()->setMarginRight(pixelWidth)

Sets the size in pixels of the right margin.

See Scintilla documentation for SCI_SETMARGINRIGHT

editor()->getMarginRight()

Returns the size in pixels of the right margin.

See Scintilla documentation for SCI_GETMARGINRIGHT

editor()->setFoldMarginColour(useSetting, back)

Set the colours used as a chequerboard pattern in the fold margin

See Scintilla documentation for SCI_SETFOLDMARGINCOLOUR

editor()->setFoldMarginHiColour(useSetting, fore)

Set the colours used as a chequerboard pattern in the fold margin

See Scintilla documentation for SCI_SETFOLDMARGINHICOLOUR

editor()->marginSetText(line, text)

Set the text in the text margin for a line

See Scintilla documentation for SCI_MARGINSETTEXT

editor()->marginGetText(line)

Get the text in the text margin for a line

See Scintilla documentation for SCI_MARGINGETTEXT

editor()->marginSetStyle(line, style)

Set the style number for the text margin for a line

See Scintilla documentation for SCI_MARGINSETSTYLE

editor()->marginGetStyle(line)

Get the style number for the text margin for a line

See Scintilla documentation for SCI_MARGINGETSTYLE

editor()->marginSetStyles(line, styles)

Set the style in the text margin for a line

See Scintilla documentation for SCI_MARGINSETSTYLES

editor()->marginGetStyles(line)

Get the styles in the text margin for a line

See Scintilla documentation for SCI_MARGINGETSTYLES

editor()->marginTextClearAll()

Clear the margin text on all lines

See Scintilla documentation for SCI_MARGINTEXTCLEARALL

editor()->marginSetStyleOffset(style)

Get the start of the range of style numbers used for margin text

See Scintilla documentation for SCI_MARGINSETSTYLEOFFSET

editor()->marginGetStyleOffset()

Get the start of the range of style numbers used for margin text

See Scintilla documentation for SCI_MARGINGETSTYLEOFFSET

editor()->setMarginOptions(marginOptions)

Set the margin options.

See Scintilla documentation for SCI_SETMARGINOPTIONS

editor()->getMarginOptions()

Get the margin options.

See Scintilla documentation for SCI_GETMARGINOPTIONS

Annotations

editor()->annotationSetText(line, text)

Set the annotation text for a line

See Scintilla documentation for SCI_ANNOTATIONSETTEXT

editor()->annotationGetText(line)

Get the annotation text for a line

See Scintilla documentation for SCI_ANNOTATIONGETTEXT

editor()->annotationSetStyle(line, style)

Set the style number for the annotations for a line

See Scintilla documentation for SCI_ANNOTATIONSETSTYLE

editor()->annotationGetStyle(line)

Get the style number for the annotations for a line

See Scintilla documentation for SCI_ANNOTATIONGETSTYLE

editor()->annotationSetStyles(line, styles)

Set the annotation styles for a line

See Scintilla documentation for SCI_ANNOTATIONSETSTYLES

editor()->annotationGetStyles(line)

Get the annotation styles for a line

See Scintilla documentation for SCI_ANNOTATIONGETSTYLES

editor()->annotationGetLines(line)

Get the number of annotation lines for a line

See Scintilla documentation for SCI_ANNOTATIONGETLINES

editor()->annotationClearAll()

Clear the annotations from all lines

See Scintilla documentation for SCI_ANNOTATIONCLEARALL

editor()->annotationSetVisible(visible)

Set the visibility for the annotations for a view

See Scintilla documentation for SCI_ANNOTATIONSETVISIBLE

editor()->annotationGetVisible()

Get the visibility for the annotations for a view

See Scintilla documentation for SCI_ANNOTATIONGETVISIBLE

editor()->annotationSetStyleOffset(style)

Get the start of the range of style numbers used for annotations

See Scintilla documentation for SCI_ANNOTATIONSETSTYLEOFFSET

editor()->annotationGetStyleOffset()

Get the start of the range of style numbers used for annotations

See Scintilla documentation for SCI_ANNOTATIONGETSTYLEOFFSET

Other settings

editor()->getBufferedDraw()

Is drawing done first into a buffer or direct to the screen?

See Scintilla documentation for SCI_GETBUFFEREDDRAW

editor()->setBufferedDraw(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.

See Scintilla documentation for SCI_SETBUFFEREDDRAW

editor()->setPhasesDraw

TODO

See Scintilla documentation for SCI_SETPHASESDRAW

editor()->getPhasesDraw

TODO

See Scintilla documentation for SCI_GETPHASESDRAW

editor()->setTechnology(technology)

Set the technology used.

See Scintilla documentation for SCI_SETTECHNOLOGY

editor()->getTechnology()

Get the tech.

See Scintilla documentation for SCI_GETTECHNOLOGY

editor()->setFontQuality(fontQuality)

Choose the quality level for text from the FontQuality enumeration.

See Scintilla documentation for SCI_SETFONTQUALITY

editor()->getFontQuality()

Retrieve the quality level for text.

See Scintilla documentation for SCI_GETFONTQUALITY

editor()->setCodePage(codePage)

Set the code page used to interpret the bytes of the document as characters. The SC_CP_UTF8 value can be used to enter Unicode mode.

See Scintilla documentation for SCI_SETCODEPAGE

editor()->getCodePage()

Get the code page used to interpret the bytes of the document as characters.

See Scintilla documentation for SCI_GETCODEPAGE

editor()->setIMEInteraction

TODO

See Scintilla documentation for SCI_SETIMEINTERACTION

editor()->getIMEInteraction

TODO

See Scintilla documentation for SCI_GETIMEINTERACTION

editor()->setBirdirectional

TODO

See Scintilla documentation for SCI_SETBIDIRECTIONAL

editor()->getBidirectional

TODO

See Scintilla documentation for SCI_GETBIDIRECTIONAL

editor()->grabFocus()

Set the focus to this Scintilla widget.

See Scintilla documentation for SCI_GRABFOCUS

editor()->setFocus(focus)

Change internal focus flag.

See Scintilla documentation for SCI_SETFOCUS

editor()->getFocus()

Get internal focus flag.

See Scintilla documentation for SCI_GETFOCUS

Brace highlighting

editor()->braceHighlight(pos1, pos2)

Highlight the characters at two positions.

See Scintilla documentation for SCI_BRACEHIGHLIGHT

editor()->braceBadLight(pos)

Highlight the character at a position indicating there is no matching brace.

See Scintilla documentation for SCI_BRACEBADLIGHT

editor()->braceHighlightIndicator(useBraceHighlightIndicator, indicator)

Use specified indicator to highlight matching braces instead of changing their style.

See Scintilla documentation for SCI_BRACEHIGHLIGHTINDICATOR

editor()->braceBadLightIndicator(useBraceBadLightIndicator, indicator)

Use specified indicator to highlight non matching brace instead of changing its style.

See Scintilla documentation for SCI_BRACEBADLIGHTINDICATOR

editor()->braceMatch(pos)

Find the position of a matching brace or INVALID_POSITION if no match.

See Scintilla documentation for SCI_BRACEMATCH

Tabs and Indentation Guides

editor()->setTabWidth(tabWidth)

Change the visible size of a tab to be a multiple of the width of a space character.

See Scintilla documentation for SCI_SETTABWIDTH

editor()->getTabWidth()

Retrieve the visible size of a tab.

See Scintilla documentation for SCI_GETTABWIDTH

editor()->clearTabStops

TODO

See Scintilla documentation for SCI_CLEARTABSTOPS

editor()->addTabStop

TODO

See Scintilla documentation for SCI_ADDTABSTOP

editor()->getNextTabStop

TODO

See Scintilla documentation for SCI_GETNEXTTABSTOP

editor()->setUseTabs(useTabs)

Indentation will only use space characters if useTabs is false, otherwise it will use a combination of tabs and spaces.

See Scintilla documentation for SCI_SETUSETABS

editor()->getUseTabs()

Retrieve whether tabs will be used in indentation.

See Scintilla documentation for SCI_GETUSETABS

editor()->setIndent(indentSize)

Set the number of spaces used for one level of indentation.

See Scintilla documentation for SCI_SETINDENT

editor()->getIndent()

Retrieve indentation size.

See Scintilla documentation for SCI_GETINDENT

editor()->setTabIndents(tabIndents)

Sets whether a tab pressed when caret is within indentation indents.

See Scintilla documentation for SCI_SETTABINDENTS

editor()->getTabIndents()

Does a tab pressed when caret is within indentation indent?

See Scintilla documentation for SCI_GETTABINDENTS

editor()->setBackSpaceUnIndents(bsUnIndents)

Sets whether a backspace pressed when caret is within indentation unindents.

See Scintilla documentation for SCI_SETBACKSPACEUNINDENTS

editor()->getBackSpaceUnIndents()

Does a backspace pressed when caret is within indentation unindent?

See Scintilla documentation for SCI_GETBACKSPACEUNINDENTS

editor()->setLineIndentation(line, indentSize)

Change the indentation of a line to a number of columns.

See Scintilla documentation for SCI_SETLINEINDENTATION

editor()->getLineIndentation(line)

Retrieve the number of columns that a line is indented.

See Scintilla documentation for SCI_GETLINEINDENTATION

editor()->getLineIndentPosition(line)

Retrieve the position before the first non indentation character on a line.

See Scintilla documentation for SCI_GETLINEINDENTPOSITION

editor()->setIndentationGuides(indentView)

Show or hide indentation guides.

See Scintilla documentation for SCI_SETINDENTATIONGUIDES

editor()->getIndentationGuides()

Are the indentation guides visible?

See Scintilla documentation for SCI_GETINDENTATIONGUIDES

editor()->setHighlightGuide(column)

Set the highlighted indentation guide column. 0 = no highlighted guide.

See Scintilla documentation for SCI_SETHIGHLIGHTGUIDE

editor()->getHighlightGuide()

Get the highlighted indentation guide column.

See Scintilla documentation for SCI_GETHIGHLIGHTGUIDE

Markers

editor()->markerDefine(markerNumber, markerSymbol)

Set the symbol used for a particular marker number.

See Scintilla documentation for SCI_MARKERDEFINE

editor()->markerDefinePixmap(markerNumber, pixmap)

Define a marker from a pixmap.

See Scintilla documentation for SCI_MARKERDEFINEPIXMAP

editor()->rGBAImageSetWidth(width)

Set the width for future RGBA image data.

See Scintilla documentation for SCI_RGBAIMAGESETWIDTH

editor()->rGBAImageSetHeight(height)

Set the height for future RGBA image data.

See Scintilla documentation for SCI_RGBAIMAGESETHEIGHT

editor()->rGBAImageSetScale(scalePercent)

Set the scale factor in percent for future RGBA image data.

See Scintilla documentation for SCI_RGBAIMAGESETSCALE

editor()->markerDefineRGBAImage(markerNumber, pixels)

Define a marker from RGBA data. It has the width and height from RGBAImageSetWidth/Height

See Scintilla documentation for SCI_MARKERDEFINERGBAIMAGE

editor()->markerSymbolDefined(markerNumber)

Which symbol was defined for markerNumber with MarkerDefine

See Scintilla documentation for SCI_MARKERSYMBOLDEFINED

editor()->markerSetFore(markerNumber, fore)

Set the foreground colour used for a particular marker number.

See Scintilla documentation for SCI_MARKERSETFORE

editor()->markerSetBack(markerNumber, back)

Set the background colour used for a particular marker number.

See Scintilla documentation for SCI_MARKERSETBACK

editor()->markerSetBackSelected(markerNumber, back)

Set the background colour used for a particular marker number when its folding block is selected.

See Scintilla documentation for SCI_MARKERSETBACKSELECTED

editor()->markerEnableHighlight(enabled)

Enable/disable highlight for current folding bloc (smallest one that contains the caret)

See Scintilla documentation for SCI_MARKERENABLEHIGHLIGHT

editor()->markerSetAlpha(markerNumber, alpha)

Set the alpha used for a marker that is drawn in the text area, not the margin.

See Scintilla documentation for SCI_MARKERSETALPHA

editor()->markerAdd(line, markerNumber)

Add a marker to a line, returning an ID which can be used to find or delete the marker.

See Scintilla documentation for SCI_MARKERADD

editor()->markerAddSet(line, set)

Add a set of markers to a line.

See Scintilla documentation for SCI_MARKERADDSET

editor()->markerDelete(line, markerNumber)

Delete a marker from a line.

See Scintilla documentation for SCI_MARKERDELETE

editor()->markerDeleteAll(markerNumber)

Delete all markers with a particular number from all lines.

See Scintilla documentation for SCI_MARKERDELETEALL

editor()->markerGet(line)

Get a bit mask of all the markers set on a line.

See Scintilla documentation for SCI_MARKERGET

editor()->markerNext(lineStart, markerMask)

Find the next line at or after lineStart that includes a marker in mask. Return -1 when no more lines.

See Scintilla documentation for SCI_MARKERNEXT

editor()->markerPrevious(lineStart, markerMask)

Find the previous line before lineStart that includes a marker in mask.

See Scintilla documentation for SCI_MARKERPREVIOUS

editor()->markerLineFromHandle(handle)

Retrieve the line number at which a particular marker is located.

See Scintilla documentation for SCI_MARKERLINEFROMHANDLE

editor()->markerDeleteHandle(handle)

Delete a marker.

See Scintilla documentation for SCI_MARKERDELETEHANDLE

Indicators

editor()->indicSetStyle(indic, style)

Set an indicator to plain, squiggle or TT.

See Scintilla documentation for SCI_INDICSETSTYLE

editor()->indicGetStyle(indic)

Retrieve the style of an indicator.

See Scintilla documentation for SCI_INDICGETSTYLE

editor()->indicSetFore(indic, fore)

Set the foreground colour of an indicator.

See Scintilla documentation for SCI_INDICSETFORE

editor()->indicGetFore(indic)

Retrieve the foreground colour of an indicator.

See Scintilla documentation for SCI_INDICGETFORE

editor()->indicSetAlpha(indicator, alpha)

Set the alpha fill colour of the given indicator.

See Scintilla documentation for SCI_INDICSETALPHA

editor()->indicGetAlpha(indicator)

Get the alpha fill colour of the given indicator.

See Scintilla documentation for SCI_INDICGETALPHA

editor()->indicSetOutlineAlpha(indicator, alpha)

Set the alpha outline colour of the given indicator.

See Scintilla documentation for SCI_INDICSETOUTLINEALPHA

editor()->indicGetOutlineAlpha(indicator)

Get the alpha outline colour of the given indicator.

See Scintilla documentation for SCI_INDICGETOUTLINEALPHA

editor()->indicSetUnder(indic, under)

Set an indicator to draw under text or over(default).

See Scintilla documentation for SCI_INDICSETUNDER

editor()->indicGetUnder(indic)

Retrieve whether indicator drawn under or over text.

See Scintilla documentation for SCI_INDICGETUNDER

editor()->indicSetHoverStyle

TODO

See Scintilla documentation for SCI_INDICSETHOVERSTYLE

editor()->indicGetHoverStyle

TODO

See Scintilla documentation for SCI_INDICGETHOVERSTYLE

editor()->indicSetHoverFore

TODO

See Scintilla documentation for SCI_INDICSETHOVERFORE

editor()->indicGetHoverFore

TODO

See Scintilla documentation for SCI_INDICGETHOVERFORE

editor()->indicSetFlags

TODO

See Scintilla documentation for SCI_INDICSETFLAGS

editor()->indicGetFlags

TODO

See Scintilla documentation for SCI_INDICGETFLAGS

editor()->setIndicatorCurrent(indicator)

Set the indicator used for IndicatorFillRange and IndicatorClearRange

See Scintilla documentation for SCI_SETINDICATORCURRENT

editor()->getIndicatorCurrent()

Get the current indicator

See Scintilla documentation for SCI_GETINDICATORCURRENT

editor()->setIndicatorValue(value)

Set the value used for IndicatorFillRange

See Scintilla documentation for SCI_SETINDICATORVALUE

editor()->getIndicatorValue()

Get the current indicator value

See Scintilla documentation for SCI_GETINDICATORVALUE

editor()->indicatorFillRange(position, fillLength)

Turn a indicator on over a range.

See Scintilla documentation for SCI_INDICATORFILLRANGE

editor()->indicatorClearRange(position, clearLength)

Turn a indicator off over a range.

See Scintilla documentation for SCI_INDICATORCLEARRANGE

editor()->indicatorAllOnFor(position)

Are any indicators present at position?

See Scintilla documentation for SCI_INDICATORALLONFOR

editor()->indicatorValueAt(indicator, position)

What value does a particular indicator have at at a position?

See Scintilla documentation for SCI_INDICATORVALUEAT

editor()->indicatorStart(indicator, position)

Where does a particular indicator start?

See Scintilla documentation for SCI_INDICATORSTART

editor()->indicatorEnd(indicator, position)

Where does a particular indicator end?

See Scintilla documentation for SCI_INDICATOREND

editor()->findIndicatorShow(start, end)

On OS X, show a find indicator.

See Scintilla documentation for SCI_FINDINDICATORSHOW

editor()->findIndicatorFlash(start, end)

On OS X, flash a find indicator, then fade out.

See Scintilla documentation for SCI_FINDINDICATORFLASH

editor()->findIndicatorHide()

On OS X, hide the find indicator.

See Scintilla documentation for SCI_FINDINDICATORHIDE

Autocompletion

editor()->autoCShow(lenEntered, itemList)

Display a auto-completion list. The lenEntered parameter indicates how many characters before the caret should be used to provide context.

See Scintilla documentation for SCI_AUTOCSHOW

editor()->autoCCancel()

Remove the auto-completion list from the screen.

See Scintilla documentation for SCI_AUTOCCANCEL

editor()->autoCActive()

Is there an auto-completion list visible?

See Scintilla documentation for SCI_AUTOCACTIVE

editor()->autoCPosStart()

Retrieve the position of the caret when the auto-completion list was displayed.

See Scintilla documentation for SCI_AUTOCPOSSTART

editor()->autoCComplete()

User has selected an item so remove the list and insert the selection.

See Scintilla documentation for SCI_AUTOCCOMPLETE

editor()->autoCStops(characterSet)

Define a set of character that when typed cancel the auto-completion list.

See Scintilla documentation for SCI_AUTOCSTOPS

editor()->autoCSetSeparator(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.

See Scintilla documentation for SCI_AUTOCSETSEPARATOR

editor()->autoCGetSeparator()

Retrieve the auto-completion list separator character.

See Scintilla documentation for SCI_AUTOCGETSEPARATOR

editor()->autoCSelect(text)

Select the item in the auto-completion list that starts with a string.

See Scintilla documentation for SCI_AUTOCSELECT

editor()->autoCGetCurrent()

Get currently selected item position in the auto-completion list

See Scintilla documentation for SCI_AUTOCGETCURRENT

editor()->autoCGetCurrentText()

Get currently selected item text in the auto-completion list Returns the length of the item text

See Scintilla documentation for SCI_AUTOCGETCURRENTTEXT

editor()->autoCSetCancelAtStart(cancel)

Should the auto-completion list be cancelled if the user backspaces to a position before where the box was created.

See Scintilla documentation for SCI_AUTOCSETCANCELATSTART

editor()->autoCGetCancelAtStart()

Retrieve whether auto-completion cancelled by backspacing before start.

See Scintilla documentation for SCI_AUTOCGETCANCELATSTART

editor()->autoCSetFillUps(characterSet)

Define a set of characters that when typed will cause the autocompletion to choose the selected item.

See Scintilla documentation for SCI_AUTOCSETFILLUPS

editor()->autoCSetChooseSingle(chooseSingle)

Should a single item auto-completion list automatically choose the item.

See Scintilla documentation for SCI_AUTOCSETCHOOSESINGLE

editor()->autoCGetChooseSingle()

Retrieve whether a single item auto-completion list automatically choose the item.

See Scintilla documentation for SCI_AUTOCGETCHOOSESINGLE

editor()->autoCSetIgnoreCase(ignoreCase)

Set whether case is significant when performing auto-completion searches.

See Scintilla documentation for SCI_AUTOCSETIGNORECASE

editor()->autoCGetIgnoreCase()

Retrieve state of ignore case flag.

See Scintilla documentation for SCI_AUTOCGETIGNORECASE

editor()->autoCSetCaseInsensitiveBehaviour(behaviour)

Set auto-completion case insensitive behaviour to either prefer case-sensitive matches or have no preference.

See Scintilla documentation for SCI_AUTOCSETCASEINSENSITIVEBEHAVIOUR

editor()->autoCGetCaseInsensitiveBehaviour()

Get auto-completion case insensitive behaviour.

See Scintilla documentation for SCI_AUTOCGETCASEINSENSITIVEBEHAVIOUR

editor()->autoCSetMulti

TODO

See Scintilla documentation for SCI_AUTOCSETMULTI

editor()->autoCGetMulti

TODO

See Scintilla documentation for SCI_AUTOCGETMULTI

editor()->autoCSetOrder(order)

Set the way autocompletion lists are ordered.

See Scintilla documentation for SCI_AUTOCSETORDER

editor()->autoCGetOrder()

Get the way autocompletion lists are ordered.

See Scintilla documentation for SCI_AUTOCGETORDER

editor()->autoCSetAutoHide(autoHide)

Set whether or not autocompletion is hidden automatically when nothing matches.

See Scintilla documentation for SCI_AUTOCSETAUTOHIDE

editor()->autoCGetAutoHide()

Retrieve whether or not autocompletion is hidden automatically when nothing matches.

See Scintilla documentation for SCI_AUTOCGETAUTOHIDE

editor()->autoCSetDropRestOfWord(dropRestOfWord)

Set whether or not autocompletion deletes any word characters after the inserted text upon completion.

See Scintilla documentation for SCI_AUTOCSETDROPRESTOFWORD

editor()->autoCGetDropRestOfWord()

Retrieve whether or not autocompletion deletes any word characters after the inserted text upon completion.

See Scintilla documentation for SCI_AUTOCGETDROPRESTOFWORD

editor()->registerImage(type, xpmData)

Register an XPM image for use in autocompletion lists.

See Scintilla documentation for SCI_REGISTERIMAGE

editor()->registerRGBAImage(type, pixels)

Register an RGBA image for use in autocompletion lists. It has the width and height from RGBAImageSetWidth/Height

See Scintilla documentation for SCI_REGISTERRGBAIMAGE

editor()->clearRegisteredImages()

Clear all the registered XPM images.

See Scintilla documentation for SCI_CLEARREGISTEREDIMAGES

editor()->autoCGetTypeSeparator()

Retrieve the auto-completion list type-separator character.

See Scintilla documentation for SCI_AUTOCGETTYPESEPARATOR

editor()->autoCSetTypeSeparator(separatorCharacter)

Change the type-separator character in the string setting up an auto-completion list. Default is ‘?’ but can be changed if items contain ‘?’.

See Scintilla documentation for SCI_AUTOCSETTYPESEPARATOR

editor()->autoCSetMaxHeight(rowCount)

Set the maximum height, in rows, of auto-completion and user lists. The default is 5 rows.

See Scintilla documentation for SCI_AUTOCSETMAXHEIGHT

editor()->autoCGetMaxHeight()

Set the maximum height, in rows, of auto-completion and user lists.

See Scintilla documentation for SCI_AUTOCGETMAXHEIGHT

editor()->autoCSetMaxWidth(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.

See Scintilla documentation for SCI_AUTOCSETMAXWIDTH

editor()->autoCGetMaxWidth()

Get the maximum width, in characters, of auto-completion and user lists.

See Scintilla documentation for SCI_AUTOCGETMAXWIDTH

User lists

editor()->userListShow(listType, itemList)

Display a list of strings and send notification when user chooses one.

See Scintilla documentation for SCI_USERLISTSHOW

Call tips

editor()->callTipShow(pos, definition)

Show a call tip containing a definition near position pos.

See Scintilla documentation for SCI_CALLTIPSHOW

editor()->callTipCancel()

Remove the call tip from the screen.

See Scintilla documentation for SCI_CALLTIPCANCEL

editor()->callTipActive()

Is there an active call tip?

See Scintilla documentation for SCI_CALLTIPACTIVE

editor()->callTipPosStart()

Retrieve the position where the caret was before displaying the call tip.

See Scintilla documentation for SCI_CALLTIPPOSSTART

editor()->callTipSetPosStart(posStart)

Set the start position in order to change when backspacing removes the calltip.

See Scintilla documentation for SCI_CALLTIPSETPOSSTART

editor()->callTipSetHlt(start, end)

Highlight a segment of the definition.

See Scintilla documentation for SCI_CALLTIPSETHLT

editor()->callTipSetBack(back)

Set the background colour for the call tip.

See Scintilla documentation for SCI_CALLTIPSETBACK

editor()->callTipSetFore(fore)

Set the foreground colour for the call tip.

See Scintilla documentation for SCI_CALLTIPSETFORE

editor()->callTipSetForeHlt(fore)

Set the foreground colour for the highlighted part of the call tip.

See Scintilla documentation for SCI_CALLTIPSETFOREHLT

editor()->callTipUseStyle(tabSize)

Enable use of STYLE_CALLTIP and set call tip tab size in pixels.

See Scintilla documentation for SCI_CALLTIPUSESTYLE

editor()->callTipSetPosition(above)

Set position of calltip, above or below text.

See Scintilla documentation for SCI_CALLTIPSETPOSITION

Keyboard commands

editor()->lineDown()

Move caret down one line.

See Scintilla documentation for SCI_LINEDOWN

editor()->lineDownExtend()

Move caret down one line extending selection to new caret position.

See Scintilla documentation for SCI_LINEDOWNEXTEND

editor()->lineUp()

Move caret up one line.

See Scintilla documentation for SCI_LINEUP

editor()->lineUpExtend()

Move caret up one line extending selection to new caret position.

See Scintilla documentation for SCI_LINEUPEXTEND

editor()->charLeft()

Move caret left one character.

See Scintilla documentation for SCI_CHARLEFT

editor()->charLeftExtend()

Move caret left one character extending selection to new caret position.

See Scintilla documentation for SCI_CHARLEFTEXTEND

editor()->charRight()

Move caret right one character.

See Scintilla documentation for SCI_CHARRIGHT

editor()->charRightExtend()

Move caret right one character extending selection to new caret position.

See Scintilla documentation for SCI_CHARRIGHTEXTEND

editor()->wordLeft()

Move caret left one word.

See Scintilla documentation for SCI_WORDLEFT

editor()->wordLeftExtend()

Move caret left one word extending selection to new caret position.

See Scintilla documentation for SCI_WORDLEFTEXTEND

editor()->wordRight()

Move caret right one word.

See Scintilla documentation for SCI_WORDRIGHT

editor()->wordRightExtend()

Move caret right one word extending selection to new caret position.

See Scintilla documentation for SCI_WORDRIGHTEXTEND

editor()->home()

Move caret to first position on line.

See Scintilla documentation for SCI_HOME

editor()->homeExtend()

Move caret to first position on line extending selection to new caret position.

See Scintilla documentation for SCI_HOMEEXTEND

editor()->lineEnd()

Move caret to last position on line.

See Scintilla documentation for SCI_LINEEND

editor()->lineEndExtend()

Move caret to last position on line extending selection to new caret position.

See Scintilla documentation for SCI_LINEENDEXTEND

editor()->documentStart()

Move caret to first position in document.

See Scintilla documentation for SCI_DOCUMENTSTART

editor()->documentStartExtend()

Move caret to first position in document extending selection to new caret position.

See Scintilla documentation for SCI_DOCUMENTSTARTEXTEND

editor()->documentEnd()

Move caret to last position in document.

See Scintilla documentation for SCI_DOCUMENTEND

editor()->documentEndExtend()

Move caret to last position in document extending selection to new caret position.

See Scintilla documentation for SCI_DOCUMENTENDEXTEND

editor()->pageUp()

Move caret one page up.

See Scintilla documentation for SCI_PAGEUP

editor()->pageUpExtend()

Move caret one page up extending selection to new caret position.

See Scintilla documentation for SCI_PAGEUPEXTEND

editor()->pageDown()

Move caret one page down.

See Scintilla documentation for SCI_PAGEDOWN

editor()->pageDownExtend()

Move caret one page down extending selection to new caret position.

See Scintilla documentation for SCI_PAGEDOWNEXTEND

editor()->editToggleOvertype()

Switch from insert to overtype mode or the reverse.

See Scintilla documentation for SCI_EDITTOGGLEOVERTYPE

editor()->cancel()

Cancel any modes such as call tip or auto-completion list display.

See Scintilla documentation for SCI_CANCEL

editor()->deleteBack()

Delete the selection or if no selection, the character before the caret.

See Scintilla documentation for SCI_DELETEBACK

editor()->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.

See Scintilla documentation for SCI_TAB

editor()->backTab()

Dedent the selected lines.

See Scintilla documentation for SCI_BACKTAB

editor()->newLine()

Insert a new line, may use a CRLF, CR or LF depending on EOL mode.

See Scintilla documentation for SCI_NEWLINE

editor()->formFeed()

Insert a Form Feed character.

See Scintilla documentation for SCI_FORMFEED

editor()->vCHome()

Move caret to before first visible character on line. If already there move to first character on line.

See Scintilla documentation for SCI_VCHOME

editor()->vCHomeExtend()

Like VCHome but extending selection to new caret position.

See Scintilla documentation for SCI_VCHOMEEXTEND

editor()->delWordLeft()

Delete the word to the left of the caret.

See Scintilla documentation for SCI_DELWORDLEFT

editor()->delWordRight()

Delete the word to the right of the caret.

See Scintilla documentation for SCI_DELWORDRIGHT

editor()->delWordRightEnd()

Delete the word to the right of the caret, but not the trailing non-word characters.

See Scintilla documentation for SCI_DELWORDRIGHTEND

editor()->lineCut()

Cut the line containing the caret.

See Scintilla documentation for SCI_LINECUT

editor()->lineDelete()

Delete the line containing the caret.

See Scintilla documentation for SCI_LINEDELETE

editor()->lineTranspose()

Switch the current line with the previous.

See Scintilla documentation for SCI_LINETRANSPOSE

editor()->lineDuplicate()

Duplicate the current line.

See Scintilla documentation for SCI_LINEDUPLICATE

editor()->lowerCase()

Transform the selection to lower case.

See Scintilla documentation for SCI_LOWERCASE

editor()->upperCase()

Transform the selection to upper case.

See Scintilla documentation for SCI_UPPERCASE

editor()->lineScrollDown()

Scroll the document down, keeping the caret visible.

See Scintilla documentation for SCI_LINESCROLLDOWN

editor()->lineScrollUp()

Scroll the document up, keeping the caret visible.

See Scintilla documentation for SCI_LINESCROLLUP

editor()->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.

See Scintilla documentation for SCI_DELETEBACKNOTLINE

editor()->homeDisplay()

Move caret to first position on display line.

See Scintilla documentation for SCI_HOMEDISPLAY

editor()->homeDisplayExtend()

Move caret to first position on display line extending selection to new caret position.

See Scintilla documentation for SCI_HOMEDISPLAYEXTEND

editor()->lineEndDisplay()

Move caret to last position on display line.

See Scintilla documentation for SCI_LINEENDDISPLAY

editor()->lineEndDisplayExtend()

Move caret to last position on display line extending selection to new caret position.

See Scintilla documentation for SCI_LINEENDDISPLAYEXTEND

editor()->homeWrap()

These are like their namesakes Home(Extend)?, LineEnd(Extend)?, VCHome(Extend)? except they behave differently when word-wrap is enabled: They go first to the start / end of the display line, like (Home|LineEnd)Display The difference is that, the cursor is already at the point, it goes on to the start or end of the document line, as appropriate for (Home|LineEnd|VCHome)(Extend)?.

See Scintilla documentation for SCI_HOMEWRAP

editor()->homeWrapExtend()

These are like their namesakes Home(Extend)?, LineEnd(Extend)?, VCHome(Extend)? except they behave differently when word-wrap is enabled: They go first to the start / end of the display line, like (Home|LineEnd)Display The difference is that, the cursor is already at the point, it goes on to the start or end of the document line, as appropriate for (Home|LineEnd|VCHome)(Extend)?.

See Scintilla documentation for SCI_HOMEWRAPEXTEND

editor()->lineEndWrap()

These are like their namesakes Home(Extend)?, LineEnd(Extend)?, VCHome(Extend)? except they behave differently when word-wrap is enabled: They go first to the start / end of the display line, like (Home|LineEnd)Display The difference is that, the cursor is already at the point, it goes on to the start or end of the document line, as appropriate for (Home|LineEnd|VCHome)(Extend)?.

See Scintilla documentation for SCI_LINEENDWRAP

editor()->lineEndWrapExtend()

These are like their namesakes Home(Extend)?, LineEnd(Extend)?, VCHome(Extend)? except they behave differently when word-wrap is enabled: They go first to the start / end of the display line, like (Home|LineEnd)Display The difference is that, the cursor is already at the point, it goes on to the start or end of the document line, as appropriate for (Home|LineEnd|VCHome)(Extend)?.

See Scintilla documentation for SCI_LINEENDWRAPEXTEND

editor()->vCHomeWrap()

These are like their namesakes Home(Extend)?, LineEnd(Extend)?, VCHome(Extend)? except they behave differently when word-wrap is enabled: They go first to the start / end of the display line, like (Home|LineEnd)Display The difference is that, the cursor is already at the point, it goes on to the start or end of the document line, as appropriate for (Home|LineEnd|VCHome)(Extend)?.

See Scintilla documentation for SCI_VCHOMEWRAP

editor()->vCHomeWrapExtend()

These are like their namesakes Home(Extend)?, LineEnd(Extend)?, VCHome(Extend)? except they behave differently when word-wrap is enabled: They go first to the start / end of the display line, like (Home|LineEnd)Display The difference is that, the cursor is already at the point, it goes on to the start or end of the document line, as appropriate for (Home|LineEnd|VCHome)(Extend)?.

See Scintilla documentation for SCI_VCHOMEWRAPEXTEND

editor()->lineCopy()

Copy the line containing the caret.

See Scintilla documentation for SCI_LINECOPY

editor()->wordPartLeft()

Move to the previous change in capitalisation.

See Scintilla documentation for SCI_WORDPARTLEFT

editor()->wordPartLeftExtend()

Move to the previous change in capitalisation extending selection to new caret position.

See Scintilla documentation for SCI_WORDPARTLEFTEXTEND

editor()->wordPartRight()

Move to the change next in capitalisation.

See Scintilla documentation for SCI_WORDPARTRIGHT

editor()->wordPartRightExtend()

Move to the next change in capitalisation extending selection to new caret position.

See Scintilla documentation for SCI_WORDPARTRIGHTEXTEND

editor()->delLineLeft()

Delete back from the current position to the start of the line.

See Scintilla documentation for SCI_DELLINELEFT

editor()->delLineRight()

Delete forwards from the current position to the end of the line.

See Scintilla documentation for SCI_DELLINERIGHT

editor()->paraDown()

Move caret between paragraphs (delimited by empty lines).

See Scintilla documentation for SCI_PARADOWN

editor()->paraDownExtend()

Move caret between paragraphs (delimited by empty lines).

See Scintilla documentation for SCI_PARADOWNEXTEND

editor()->paraUp()

Move caret between paragraphs (delimited by empty lines).

See Scintilla documentation for SCI_PARAUP

editor()->paraUpExtend()

Move caret between paragraphs (delimited by empty lines).

See Scintilla documentation for SCI_PARAUPEXTEND

editor()->lineDownRectExtend()

Move caret down one line, extending rectangular selection to new caret position.

See Scintilla documentation for SCI_LINEDOWNRECTEXTEND

editor()->lineUpRectExtend()

Move caret up one line, extending rectangular selection to new caret position.

See Scintilla documentation for SCI_LINEUPRECTEXTEND

editor()->charLeftRectExtend()

Move caret left one character, extending rectangular selection to new caret position.

See Scintilla documentation for SCI_CHARLEFTRECTEXTEND

editor()->charRightRectExtend()

Move caret right one character, extending rectangular selection to new caret position.

See Scintilla documentation for SCI_CHARRIGHTRECTEXTEND

editor()->homeRectExtend()

Move caret to first position on line, extending rectangular selection to new caret position.

See Scintilla documentation for SCI_HOMERECTEXTEND

editor()->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.

See Scintilla documentation for SCI_VCHOMERECTEXTEND

editor()->lineEndRectExtend()

Move caret to last position on line, extending rectangular selection to new caret position.

See Scintilla documentation for SCI_LINEENDRECTEXTEND

editor()->pageUpRectExtend()

Move caret one page up, extending rectangular selection to new caret position.

See Scintilla documentation for SCI_PAGEUPRECTEXTEND

editor()->pageDownRectExtend()

Move caret one page down, extending rectangular selection to new caret position.

See Scintilla documentation for SCI_PAGEDOWNRECTEXTEND

editor()->stutteredPageUp()

Move caret to top of page, or one page up if already at top of page.

See Scintilla documentation for SCI_STUTTEREDPAGEUP

editor()->stutteredPageUpExtend()

Move caret to top of page, or one page up if already at top of page, extending selection to new caret position.

See Scintilla documentation for SCI_STUTTEREDPAGEUPEXTEND

editor()->stutteredPageDown()

Move caret to bottom of page, or one page down if already at bottom of page.

See Scintilla documentation for SCI_STUTTEREDPAGEDOWN

editor()->stutteredPageDownExtend()

Move caret to bottom of page, or one page down if already at bottom of page, extending selection to new caret position.

See Scintilla documentation for SCI_STUTTEREDPAGEDOWNEXTEND

editor()->wordLeftEnd()

Move caret left one word, position cursor at end of word.

See Scintilla documentation for SCI_WORDLEFTEND

editor()->wordLeftEndExtend()

Move caret left one word, position cursor at end of word, extending selection to new caret position.

See Scintilla documentation for SCI_WORDLEFTENDEXTEND

editor()->wordRightEnd()

Move caret right one word, position cursor at end of word.

See Scintilla documentation for SCI_WORDRIGHTEND

editor()->wordRightEndExtend()

Move caret right one word, position cursor at end of word, extending selection to new caret position.

See Scintilla documentation for SCI_WORDRIGHTENDEXTEND

editor()->selectionDuplicate()

Duplicate the selection. If selection empty duplicate the line containing the caret.

See Scintilla documentation for SCI_SELECTIONDUPLICATE

editor()->verticalCentreCaret()

Centre current line in window.

See Scintilla documentation for SCI_VERTICALCENTRECARET

editor()->scrollToStart()

Scroll to start of document.

See Scintilla documentation for SCI_SCROLLTOSTART

editor()->scrollToEnd()

Scroll to end of document.

See Scintilla documentation for SCI_SCROLLTOEND

editor()->vCHomeDisplay()

Move caret to before first visible character on display line. If already there move to first character on display line.

See Scintilla documentation for SCI_VCHOMEDISPLAY

editor()->vCHomeDisplayExtend()

Like VCHomeDisplay but extending selection to new caret position.

See Scintilla documentation for SCI_VCHOMEDISPLAYEXTEND

Key bindings

editor()->assignCmdKey(km, msg)

When key+modifier combination km is pressed perform msg.

See Scintilla documentation for SCI_ASSIGNCMDKEY

editor()->clearCmdKey(km)

When key+modifier combination km is pressed do nothing.

See Scintilla documentation for SCI_CLEARCMDKEY

editor()->clearAllCmdKeys()

Drop all key mappings.

See Scintilla documentation for SCI_CLEARALLCMDKEYS

editor()->null()

Null operation.

See Scintilla documentation for SCI_NULL

editor()->usePopUp(allowPopUp)

Set whether a pop up menu is displayed automatically when the user presses the wrong mouse button.

See Scintilla documentation for SCI_USEPOPUP

Macro recording

editor()->startRecord()

Start notifying the container of all key presses and commands.

See Scintilla documentation for SCI_STARTRECORD

editor()->stopRecord()

Stop notifying the container of all key presses and commands.

See Scintilla documentation for SCI_STOPRECORD

Printing

TODO: editor()->formatRange

NOT YET IMPLEMENTED

Might not be in the initial release

See Scintilla documentation for SCI_FORMATRANGE

editor()->setPrintMagnification(magnification)

Sets the print magnification added to the point size of each style for printing.

See Scintilla documentation for SCI_SETPRINTMAGNIFICATION

editor()->getPrintMagnification()

Returns the print magnification.

See Scintilla documentation for SCI_GETPRINTMAGNIFICATION

editor()->setPrintColourMode(mode)

Modify colours when printing for clearer printed text.

See Scintilla documentation for SCI_SETPRINTCOLOURMODE

editor()->getPrintColourMode()

Returns the print colour mode.

See Scintilla documentation for SCI_GETPRINTCOLOURMODE

editor()->setPrintWrapMode(mode)

Set printing to line wrapped (SC_WRAP_WORD) or not line wrapped (SC_WRAP_NONE).

See Scintilla documentation for SCI_SETPRINTWRAPMODE

editor()->getPrintWrapMode()

Is printing line wrapped?

See Scintilla documentation for SCI_GETPRINTWRAPMODE

Direct access

editor()->getDirectFunction()

Retrieve a pointer to a function that processes messages for this Scintilla.

See Scintilla documentation for SCI_GETDIRECTFUNCTION

editor()->getDirectPointer()

Retrieve a pointer value to use as the first argument when calling the function returned by GetDirectFunction.

See Scintilla documentation for SCI_GETDIRECTPOINTER

editor()->getCharacterPointer()

Gets a copy of the text of the document, without first allowing Scintilla to make its copy of it. In practice, that means it does exactly the same as Editor.getText, however, if you have the possibility of the user interfering with the document _whilst_ getCharacterPointer() is running, then it’s safer to use getText(). On larger documents, getCharacterPointer() could be noticable quicker.

See Scintilla documentation for SCI_GETCHARACTERPOINTER

editor()->getRangePointer

TODO

See Scintilla documentation for SCI_GETRANGEPOINTER

editor()->getGapPosition()

Return a position which, to avoid performance costs, should not be within the range of a call to GetRangePointer.

See Scintilla documentation for SCI_GETGAPPOSITION

Multiple views

editor()->getDocPointer()

Retrieve a pointer to the document object.

See Scintilla documentation for SCI_GETDOCPOINTER

editor()->setDocPointer(pointer)

Change the document object used.

See Scintilla documentation for SCI_SETDOCPOINTER

editor()->createDocument()

Create a new document object. Starts with reference count of 1 and not selected into editor.

See Scintilla documentation for SCI_CREATEDOCUMENT

editor()->addRefDocument(doc)

Extend life of document.

See Scintilla documentation for SCI_ADDREFDOCUMENT

editor()->releaseDocument(doc)

Release a reference to the document, deleting document if it fades to black.

See Scintilla documentation for SCI_RELEASEDOCUMENT

editor()->getDocumentOptions

TODO

See Scintilla documentation for SCI_GETDOCUMENTOPTIONS

Background loading and saving

editor()->createLoader(bytes)

Create an ILoader*.

See Scintilla documentation for SCI_CREATELOADER

Folding

editor()->visibleFromDocLine(line)

Find the display line of a document line taking hidden lines into account.

See Scintilla documentation for SCI_VISIBLEFROMDOCLINE

editor()->docLineFromVisible(lineDisplay)

Find the document line of a display line taking hidden lines into account.

See Scintilla documentation for SCI_DOCLINEFROMVISIBLE

editor()->showLines(lineStart, lineEnd)

Make a range of lines visible.

See Scintilla documentation for SCI_SHOWLINES

editor()->hideLines(lineStart, lineEnd)

Make a range of lines invisible.

See Scintilla documentation for SCI_HIDELINES

editor()->getLineVisible(line)

Is a line visible?

See Scintilla documentation for SCI_GETLINEVISIBLE

editor()->getAllLinesVisible()

Are all lines visible?

See Scintilla documentation for SCI_GETALLLINESVISIBLE

editor()->setFoldLevel(line, 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.

See Scintilla documentation for SCI_SETFOLDLEVEL

editor()->getFoldLevel(line)

Retrieve the fold level of a line.

See Scintilla documentation for SCI_GETFOLDLEVEL

editor()->setAutomaticFold(automaticFold)

Set automatic folding behaviours.

See Scintilla documentation for SCI_SETAUTOMATICFOLD

editor()->getAutomaticFold()

Get automatic folding behaviours.

See Scintilla documentation for SCI_GETAUTOMATICFOLD

editor()->setFoldFlags(flags)

Set some style options for folding.

See Scintilla documentation for SCI_SETFOLDFLAGS

editor()->getLastChild(line, level)

Find the last child line of a header line.

See Scintilla documentation for SCI_GETLASTCHILD

editor()->getFoldParent(line)

Find the parent line of a child line.

See Scintilla documentation for SCI_GETFOLDPARENT

editor()->setFoldExpanded(line, expanded)

Show the children of a header line.

See Scintilla documentation for SCI_SETFOLDEXPANDED

editor()->getFoldExpanded(line)

Is a header line expanded?

See Scintilla documentation for SCI_GETFOLDEXPANDED

editor()->contractedFoldNext(lineStart)

Find the next line at or after lineStart that is a contracted fold header line. Return -1 when no more lines.

See Scintilla documentation for SCI_CONTRACTEDFOLDNEXT

editor()->toggleFold(line)

Switch a header line between expanded and contracted.

See Scintilla documentation for SCI_TOGGLEFOLD

editor()->toggleFoldShowText

TODO

See Scintilla documentation for SCI_TOGGLEFOLDSHOWTEXT

editor()->foldDisplayTextSetStyle

TODO

See Scintilla documentation for SCI_FOLDDISPLAYTEXTSETSTYLE

editor()->foldDisplayTextGetStyle

TODO

See Scintilla documentation for SCI_FOLDDISPLAYTEXTGETSTYLE

editor()->setDefaultFoldDisplayText

TODO

See Scintilla documentation for SCI_SETDEFAULTFOLDDISPLAYTEXT

editor()->getDefaultFoldDisplayText

TODO

See Scintilla documentation for SCI_GETDEFAULTFOLDDISPLAYTEXT

editor()->foldLine(line, action)

Expand or contract a fold header.

See Scintilla documentation for SCI_FOLDLINE

editor()->foldChildren(line, action)

Expand or contract a fold header and its children.

See Scintilla documentation for SCI_FOLDCHILDREN

editor()->foldAll(action)

Expand or contract all fold headers.

See Scintilla documentation for SCI_FOLDALL

editor()->expandChildren(line, level)

Expand a fold header and all children. Use the level argument instead of the line’s current level.

See Scintilla documentation for SCI_EXPANDCHILDREN

editor()->ensureVisible(line)

Ensure a particular line is visible by expanding any header line hiding it.

See Scintilla documentation for SCI_ENSUREVISIBLE

editor()->ensureVisibleEnforcePolicy(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.

See Scintilla documentation for SCI_ENSUREVISIBLEENFORCEPOLICY

Line wrapping

editor()->setWrapMode(mode)

Sets whether text is word wrapped.

See Scintilla documentation for SCI_SETWRAPMODE

editor()->getWrapMode()

Retrieve whether text is word wrapped.

See Scintilla documentation for SCI_GETWRAPMODE

editor()->setWrapVisualFlags(wrapVisualFlags)

Set the display mode of visual flags for wrapped lines.

See Scintilla documentation for SCI_SETWRAPVISUALFLAGS

editor()->getWrapVisualFlags()

Retrive the display mode of visual flags for wrapped lines.

See Scintilla documentation for SCI_GETWRAPVISUALFLAGS

editor()->setWrapVisualFlagsLocation(wrapVisualFlagsLocation)

Set the location of visual flags for wrapped lines.

See Scintilla documentation for SCI_SETWRAPVISUALFLAGSLOCATION

editor()->getWrapVisualFlagsLocation()

Retrive the location of visual flags for wrapped lines.

See Scintilla documentation for SCI_GETWRAPVISUALFLAGSLOCATION

editor()->setWrapIndentMode(mode)

Sets how wrapped sublines are placed. Default is fixed.

See Scintilla documentation for SCI_SETWRAPINDENTMODE

editor()->getWrapIndentMode()

Retrieve how wrapped sublines are placed. Default is fixed.

See Scintilla documentation for SCI_GETWRAPINDENTMODE

editor()->setWrapStartIndent(indent)

Set the start indent for wrapped lines.

See Scintilla documentation for SCI_SETWRAPSTARTINDENT

editor()->getWrapStartIndent()

Retrive the start indent for wrapped lines.

See Scintilla documentation for SCI_GETWRAPSTARTINDENT

editor()->setLayoutCache(mode)

Sets the degree of caching of layout information.

See Scintilla documentation for SCI_SETLAYOUTCACHE

editor()->getLayoutCache()

Retrieve the degree of caching of layout information.

See Scintilla documentation for SCI_GETLAYOUTCACHE

editor()->setPositionCache(size)

Set number of entries in position cache

See Scintilla documentation for SCI_SETPOSITIONCACHE

editor()->getPositionCache()

How many entries are allocated to the position cache?

See Scintilla documentation for SCI_GETPOSITIONCACHE

editor()->linesSplit(pixelWidth)

Split the lines in the target into lines that are less wide than pixelWidth where possible.

See Scintilla documentation for SCI_LINESSPLIT

editor()->linesJoin()

Join the lines in the target.

See Scintilla documentation for SCI_LINESJOIN

editor()->wrapCount(line)

The number of display lines needed to wrap a document line

See Scintilla documentation for SCI_WRAPCOUNT

Zooming

editor()->zoomIn()

Magnify the displayed text by increasing the sizes by 1 point.

See Scintilla documentation for SCI_ZOOMIN

editor()->zoomOut()

Make the displayed text smaller by decreasing the sizes by 1 point.

See Scintilla documentation for SCI_ZOOMOUT

editor()->setZoom(zoom)

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.

See Scintilla documentation for SCI_SETZOOM

editor()->getZoom()

Retrieve the zoom level.

See Scintilla documentation for SCI_GETZOOM

Long lines

editor()->getEdgeMode()

Retrieve the edge highlight mode.

See Scintilla documentation for SCI_GETEDGEMODE

editor()->setEdgeMode(mode)

The edge may be displayed by a line (EDGE_LINE) or by highlighting text that goes beyond it (EDGE_BACKGROUND) or not displayed at all (EDGE_NONE).

See Scintilla documentation for SCI_SETEDGEMODE

editor()->getEdgeColumn()

Retrieve the column number which text should be kept within.

See Scintilla documentation for SCI_GETEDGECOLUMN

editor()->setEdgeColumn(column)

Set the column number of the edge. If text goes past the edge then it is highlighted.

See Scintilla documentation for SCI_SETEDGECOLUMN

editor()->getEdgeColour()

Retrieve the colour used in edge indication.

See Scintilla documentation for SCI_GETEDGECOLOUR

editor()->setEdgeColour(edgeColour)

Change the colour used in edge indication.

See Scintilla documentation for SCI_SETEDGECOLOUR

editor()->multiEdgeAddLine

TODO

See Scintilla documentation for SCI_MULTIEDGEADDLINE

editor()->multiEdgeClearAll

TODO

See Scintilla documentation for SCI_MULTIEDGECLEARALL

Accessibility

editor()->setAccessibility

TODO

See Scintilla documentation for SCI_SETACCESSIBILITY

editor()->getAccessibility

TODO

See Scintilla documentation for SCI_GETACCESSIBILITY

Lexer

editor()->setLexer(lexer)

Set the lexing language of the document.

See Scintilla documentation for SCI_SETLEXER

editor()->getLexer()

Retrieve the lexing language of the document.

See Scintilla documentation for SCI_GETLEXER

editor()->setLexerLanguage(language)

Set the lexing language of the document based on string name.

See Scintilla documentation for SCI_SETLEXERLANGUAGE

editor()->getLexerLanguage()

Retrieve the name of the lexer. Return the length of the text.

See Scintilla documentation for SCI_GETLEXERLANGUAGE

editor()->loadLexerLibrary(path)

Load a lexer library (dll / so).

See Scintilla documentation for SCI_LOADLEXERLIBRARY

editor()->colourise(start, end)

Colourise a segment of the document using the current lexing language.

See Scintilla documentation for SCI_COLOURISE

editor()->changeLexerState(start, end)

Indicate that the internal state of a lexer has changed over a range and therefore there may be a need to redraw.

See Scintilla documentation for SCI_CHANGELEXERSTATE

editor()->propertyNames()

Retrieve a ‘\n’ separated list of properties understood by the current lexer.

See Scintilla documentation for SCI_PROPERTYNAMES

editor()->propertyType(name)

Retrieve the type of a property.

See Scintilla documentation for SCI_PROPERTYTYPE

editor()->describeProperty()

Describe a property.

See Scintilla documentation for SCI_DESCRIBEPROPERTY

editor()->setProperty(key, value)

Set up a value that may be used by a lexer for some optional feature.

See Scintilla documentation for SCI_SETPROPERTY

editor()->getProperty(key)

Retrieve a “property” value previously set with SetProperty.

See Scintilla documentation for SCI_GETPROPERTY

editor()->getPropertyExpanded(key)

Retrieve a “property” value previously set with SetProperty, with “$()” variable replacement on returned buffer.

See Scintilla documentation for SCI_GETPROPERTYEXPANDED

editor()->getPropertyInt(key)

Retrieve a “property” value previously set with SetProperty, interpreted as an int AFTER any “$()” variable replacement.

See Scintilla documentation for SCI_GETPROPERTYINT

editor()->describeKeyWordSets()

Retrieve a ‘\n’ separated list of descriptions of the keyword sets understood by the current lexer.

See Scintilla documentation for SCI_DESCRIBEKEYWORDSETS

editor()->setKeyWords(keywordSet, keyWords)

Set up the key words used by the lexer.

See Scintilla documentation for SCI_SETKEYWORDS

editor()->getSubStyleBases()

Get the set of base styles that can be extended with sub styles

See Scintilla documentation for SCI_GETSUBSTYLEBASES

editor()->distanceToSecondaryStyles()

Where styles are duplicated by a feature such as active/inactive code return the distance between the two types.

See Scintilla documentation for SCI_DISTANCETOSECONDARYSTYLES

editor()->allocateSubStyles(styleBase, numberStyles)

Allocate a set of sub styles for a particular base style, returning start of range

See Scintilla documentation for SCI_ALLOCATESUBSTYLES

editor()->freeSubStyles()

Free allocated sub styles

See Scintilla documentation for SCI_FREESUBSTYLES

editor()->getSubStylesStart(styleBase)

The starting style number for the sub styles associated with a base style

See Scintilla documentation for SCI_GETSUBSTYLESSTART

editor()->getSubStylesLength(styleBase)

The number of sub styles associated with a base style

See Scintilla documentation for SCI_GETSUBSTYLESLENGTH

editor()->getStyleFromSubStyle(subStyle)

For a sub style, return the base style, else return the argument.

See Scintilla documentation for SCI_GETSTYLEFROMSUBSTYLE

editor()->getPrimaryStyleFromStyle(style)

For a secondary style, return the primary style, else return the argument.

See Scintilla documentation for SCI_GETPRIMARYSTYLEFROMSTYLE

editor()->setIdentifiers(style, identifiers)

Set the identifiers that are shown in a particular style

See Scintilla documentation for SCI_SETIDENTIFIERS

editor()->privateLexerCall(operation, pointer)

For private communication between an application and a known lexer.

See Scintilla documentation for SCI_PRIVATELEXERCALL

editor()->getNamedStyles

TODO

See Scintilla documentation for SCI_GETNAMEDSTYLES

editor()->nameOfStyle

TODO

See Scintilla documentation for SCI_NAMEOFSTYLE

editor()->tagsOfStyle

TODO

See Scintilla documentation for SCI_TAGSOFSTYLE

editor()->descriptionOfStyle

TODO

See Scintilla documentation for SCI_DESCRIPTIONOFSTYLE

Notifications

editor()->setModEventMask(mask)

Set which document modification events are sent to the container.

See Scintilla documentation for SCI_SETMODEVENTMASK

editor()->getModEventMask()

Get which document modification events are sent to the container.

See Scintilla documentation for SCI_GETMODEVENTMASK

editor()->setCommandEvents

TODO

See Scintilla documentation for SCI_SETCOMMANDEVENTS

editor()->getCommandEvents

TODO

See Scintilla documentation for SCI_GETCOMMANDEVENTS

editor()->setMouseDwellTime(periodMilliseconds)

Sets the time the mouse must sit still to generate a mouse dwell event.

See Scintilla documentation for SCI_SETMOUSEDWELLTIME

editor()->getMouseDwellTime()

Retrieve the time the mouse must sit still to generate a mouse dwell event.

See Scintilla documentation for SCI_GETMOUSEDWELLTIME

editor()->setIdentifier(identifier)

Set the identifier reported as idFrom in notification messages.

See Scintilla documentation for SCI_SETIDENTIFIER

editor()->getIdentifier()

Get the identifier.

See Scintilla documentation for SCI_GETIDENTIFIER

editor()->research(...)

TODO: need to grab the docs for .research(), .pyreplace, .pymlreplace, .pysearch, .pymnlsearch again

Other Messages

notepad()->SendMessage( $msgid, $wparam, $lparam )

For any messages not implemented in the API, if you know the appropriate $msgid, and what are needed as $wparam and $lparam, you can send the message to the Notepad GUI directly.

If you have developed a wrapper for a missing message, feel free to send in a Pull Request, or open an issue, including your wrapper code.

INSTALLATION

Installed as part of Win32::Mechanize::NotepadPlusPlus

AUTHOR

Peter C. Jones <petercj AT cpan DOT org>

Please report any bugs or feature requests emailing <bug-Win32-Mechanize-NotepadPlusPlus AT rt.cpan.org> or thru the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Win32-Mechanize-NotepadPlusPlus, or thru the repository's interface at https://github.com/pryrt/Win32-Mechanize-NotepadPlusPlus/issues.

COPYRIGHT

Copyright (C) 2019,2020 Peter C. Jones

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License. See http://dev.perl.org/licenses/ for more information.