Scintilla icon Scintilla

Scintilla Documentation

There is an overview of the internal design of Scintilla.

Some notes on using Scintilla.

How to use the Scintilla Edit Control on Windows.

A simple sample using Scintilla from C++ on Windows.

A simple sample using Scintilla from Visual Basic.

A detailed description of how to write a lexer, including a discussion of folding.

The coding style used in Scintilla and SciTE are worth following if you want to contribute code to Scintilla but are not compulsory.

For now, the best way to work out how to develop using Scintilla is to see how SciTE uses it. SciTE exercises most of Scintilla's facilities.

The Windows version of Scintilla is a Windows Control. As such, its primary programming interface is through Windows messages. Early versions of Scintilla emulated much of the API defined by the standard Windows Edit and Richedit controls but those APIs are now deprecated in favour of Scintilla's own, more consistent API. In addition to messages performing the actions of a normal Edit control, Scintilla allows control of syntax styling, markers, auto-completion and call tips.

The GTK+ version also uses messages in a similar way to the Windows version. This is different to normal GTK+ practice but made it easier to implement rapidly.

The messages are (with wParam and lParam use)

Text retrieval and modification.

SCI_GETTEXT(int length, char *text)
SCI_SETTEXT(<unused>, char *text)
SCI_GETLINE(int line, char *text)
SCI_REPLACESEL(<unused>, char *text)
SCI_SETREADONLY(bool readOnly)
SCI_GETREADONLY
SCI_GETTEXTRANGE(<unused>, TEXTRANGE *tr)
SCI_ADDTEXT(int length, char *s)
SCI_ADDSTYLEDTEXT(int length, cell *s)
SCI_INSERTTEXT(int pos, char *text)
SCI_CLEARALL
SCI_CLEARDOCUMENTSTYLE
SCI_GETCHARAT(int position)
SCI_GETSTYLEAT(int position)
SCI_GETSTYLEDTEXT(<unused>, TEXTRANGE *tr)
SCI_SETSTYLEBITS(int bits)
SCI_GETSTYLEBITS

Each character in a Scintilla document is followed by an associated byte of styling information. The combination of a character byte and a style byte is called a cell. Style bytes are interpreted as a style index in the low 5 bits and as 3 individual bits of indicators. This allows 32 fundamental styles which is enough for most languages and three independent indicators so that, for example, syntax errors, deprecated names and bad indentation could all be displayed at once. Indicators may be displayed as simple underlines, squiggly underlines, a line of small 'T' shapes, a line of diagonal hatching or as strike-out. Additional indicators such as blurred could be defined in the future. The number of bits used for styles can be altered with SCI_SETSTYLEBITS up to a maximum of 7 bits. The remaining bits can be used for indicators.

Positions within the Scintilla document refer to a character or the gap before that character. The caret exists between character positions and can be located from before the first character to after the last character. There are places where the caret can not go where two character bytes make up one character. This occurs when a DBCS character from a language like Japanese is included in the document or when line ends are marked with the CP/M standard of a carriage return followed by a line feed. The INVALID_POSITION constant (-1) represents an invalid position within the document.

All lines of text in Scintilla are the same height, and this height is calculated from the largest font in any current style. This restriction is for performance as if lines differed in height then calculations involving positioning of text would require that text to be styled first.

When wanting to completely restyle the document, for example after choosing a lexer, the SCI_CLEARDOCUMENTSTYLE can be used to clear all styling information and reset the folding state.

SCI_SETTARGETSTART(int pos) 
SCI_GETTARGETSTART 
SCI_SETTARGETEND(int pos)
SCI_GETTARGETEND
SCI_REPLACETARGET(int length, char *text)
SCI_REPLACETARGETRE(int length, char *text)
SCI_SETSEARCHFLAGS(int flags)
SCI_GETSEARCHFLAGS
SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text where d is a digit from 1 to 9 and substitutes in the values of tagged matches from the most recent regular expression search.

Searching can be performed within the target range with SCI_SEARCHINTARGET which uses a counted string to allow searching for null characters. Returns length of range or -1 for failure in which GETRE(int length, char *text) SCI_SETSEARCHFLAGS(int flags) SCI_GETSEARCHFLAGS SCI_SEARCHINTARGET(int length, string text)

Using SCI_REPLACESEL, modifications cause scrolling and other visible changes which may take some time and cause unwanted display updates. If performing many changes, such as a replace all command, the target can be used instead. First set the range to be replaced. Then call SCI_REPLACETARGET or SCI_REPLACETARGETRE which returns the length taken by the replacement string. The difference between SCI_REPLACETARGET and SCI_REPLACETARGETRE is that SCI_REPLACETARGETRE looks for \d patterns in the replacement text