1199
1205
# and then the foreground. This avoids chopping off characters that overlap the next run.
1200
1206
set void SetTwoPhaseDraw=2284(bool twoPhase,)
1208
# Control font anti-aliasing.
1210
enu FontQuality=SC_EFF_
1211
val SC_EFF_QUALITY_MASK=0xF
1212
val SC_EFF_QUALITY_DEFAULT=0
1213
val SC_EFF_QUALITY_NON_ANTIALIASED=1
1214
val SC_EFF_QUALITY_ANTIALIASED=2
1215
val SC_EFF_QUALITY_LCD_OPTIMIZED=3
1217
# Choose the quality level for text from the FontQuality enumeration.
1218
set void SetFontQuality=2611(int fontQuality,)
1220
# Retrieve the quality level for text.
1221
get int GetFontQuality=2612(,)
1223
# Scroll so that a display line is at the top of the display.
1224
set void SetFirstVisibleLine=2613(int lineDisplay,)
1226
enu MultiPaste=SC_MULTIPASTE_
1227
val SC_MULTIPASTE_ONCE=0
1228
val SC_MULTIPASTE_EACH=1
1230
# Change the effect of pasting when there are multiple selections.
1231
set void SetMultiPaste=2614(int multiPaste,)
1233
# Retrieve the effect of pasting when there are multiple selections..
1234
get int GetMultiPaste=2615(,)
1236
# Retrieve the value of a tag from a regular expression search.
1237
fun int GetTag=2616(int tagNumber, stringresult tagValue)
1202
1239
# Make the target range start and end be the same as the selection range start and end.
1203
1240
fun void TargetFromSelection=2287(,)
1926
1968
# Return INVALID_POSITION if not close to text.
1927
1969
fun position CharPositionFromPointClose=2562(int x, int y)
1971
# Set whether multiple selections can be made
1972
set void SetMultipleSelection=2563(bool multipleSelection,)
1974
# Whether multiple selections can be made
1975
get bool GetMultipleSelection=2564(,)
1977
# Set whether typing can be performed into multiple selections
1978
set void SetAdditionalSelectionTyping=2565(bool additionalSelectionTyping,)
1980
# Whether typing can be performed into multiple selections
1981
get bool GetAdditionalSelectionTyping=2566(,)
1983
# Set whether additional carets will blink
1984
set void SetAdditionalCaretsBlink=2567(bool additionalCaretsBlink,)
1986
# Whether additional carets will blink
1987
get bool GetAdditionalCaretsBlink=2568(,)
1989
# Set whether additional carets are visible
1990
set void SetAdditionalCaretsVisible=2608(bool additionalCaretsBlink,)
1992
# Whether additional carets are visible
1993
get bool GetAdditionalCaretsVisible=2609(,)
1995
# How many selections are there?
1996
get int GetSelections=2570(,)
1998
# Clear selections to a single empty stream selection
1999
fun void ClearSelections=2571(,)
2001
# Set a simple selection
2002
fun int SetSelection=2572(int caret,int anchor)
2005
fun int AddSelection=2573(int caret,int anchor)
2007
# Set the main selection
2008
set void SetMainSelection=2574(int selection,)
2010
# Which selection is the main selection
2011
get int GetMainSelection=2575(,)
2013
set void SetSelectionNCaret=2576(int selection, position pos)
2014
get position GetSelectionNCaret=2577(int selection,)
2015
set void SetSelectionNAnchor=2578(int selection, position posAnchor)
2016
get position GetSelectionNAnchor=2579(int selection,)
2017
set void SetSelectionNCaretVirtualSpace=2580(int selection, int space)
2018
get int GetSelectionNCaretVirtualSpace=2581(int selection,)
2019
set void SetSelectionNAnchorVirtualSpace=2582(int selection, int space)
2020
get int GetSelectionNAnchorVirtualSpace=2583(int selection,)
2022
# Sets the position that starts the selection - this becomes the anchor.
2023
set void SetSelectionNStart=2584(int selection, position pos)
2025
# Returns the position at the start of the selection.
2026
get position GetSelectionNStart=2585(int selection,)
2028
# Sets the position that ends the selection - this becomes the currentPosition.
2029
set void SetSelectionNEnd=2586(int selection, position pos,)
2031
# Returns the position at the end of the selection.
2032
get position GetSelectionNEnd=2587(int selection,)
2034
set void SetRectangularSelectionCaret=2588(position pos,)
2035
get position GetRectangularSelectionCaret=2589(,)
2036
set void SetRectangularSelectionAnchor=2590(position posAnchor,)
2037
get position GetRectangularSelectionAnchor=2591(,)
2038
set void SetRectangularSelectionCaretVirtualSpace=2592(int space,)
2039
get int GetRectangularSelectionCaretVirtualSpace=2593(,)
2040
set void SetRectangularSelectionAnchorVirtualSpace=2594(int space,)
2041
get int GetRectangularSelectionAnchorVirtualSpace=2595(,)
2043
enu VirtualSpace=SCVS_
2045
val SCVS_RECTANGULARSELECTION=1
2046
val SCVS_USERACCESSIBLE=2
2048
set void SetVirtualSpaceOptions=2596(int virtualSpaceOptions,)
2049
get int GetVirtualSpaceOptions=2597(,)
2051
# On GTK+, allow selecting the modifier key to use for mouse-based
2052
# rectangular selection. Often the window manager requires Alt+Mouse Drag
2053
# for moving windows.
2054
# Valid values are SCMOD_CTRL(default), SCMOD_ALT, or SCMOD_SUPER.
2056
set void SetRectangularSelectionModifier=2598(int modifier,)
2058
# Get the modifier key used for rectangular selection.
2059
get int GetRectangularSelectionModifier=2599(,)
2061
# Set the foreground colour of additional selections.
2062
# Must have previously called SetSelFore with non-zero first argument for this to have an effect.
2063
set void SetAdditionalSelFore=2600(colour fore,)
2065
# Set the background colour of additional selections.
2066
# Must have previously called SetSelBack with non-zero first argument for this to have an effect.
2067
set void SetAdditionalSelBack=2601(colour back,)
2069
# Set the alpha of the selection.
2070
set void SetAdditionalSelAlpha=2602(int alpha,)
2072
# Get the alpha of the selection.
2073
get int GetAdditionalSelAlpha=2603(,)
2075
# Set the foreground colour of additional carets.
2076
set void SetAdditionalCaretFore=2604(colour fore,)
2078
# Get the foreground colour of additional carets.
2079
get colour GetAdditionalCaretFore=2605(,)
2081
# Set the main selection to the next selection.
2082
fun void RotateSelection=2606(,)
2084
# Swap that caret and anchor of the main selection.
2085
fun void SwapMainAnchorCaret=2607(,)
1929
2087
# Start notifying the container of all key presses and commands.
1930
2088
fun void StartRecord=3001(,)