~ubuntu-branches/ubuntu/natty/geany/natty

« back to all changes in this revision

Viewing changes to scintilla/include/Scintilla.iface

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2010-08-07 03:23:12 UTC
  • mfrom: (1.4.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20100807032312-ot70ac9d50cn79we
Tags: upstream-0.19
ImportĀ upstreamĀ versionĀ 0.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
477
477
# Set a style to be a hotspot or not.
478
478
set void StyleSetHotSpot=2409(int style, bool hotspot)
479
479
 
480
 
# Set the foreground colour of the selection and whether to use this setting.
 
480
# Set the foreground colour of the main and additional selections and whether to use this setting.
481
481
fun void SetSelFore=2067(bool useSetting, colour fore)
482
482
 
483
 
# Set the background colour of the selection and whether to use this setting.
 
483
# Set the background colour of the main and additional selections and whether to use this setting.
484
484
fun void SetSelBack=2068(bool useSetting, colour back)
485
485
 
486
486
# Get the alpha of the selection.
571
571
# Set the background colour of all whitespace and whether to use this setting.
572
572
fun void SetWhitespaceBack=2085(bool useSetting, colour back)
573
573
 
 
574
# Set the size of the dots used to mark space characters.
 
575
set void SetWhitespaceSize=2086(int size,)
 
576
 
 
577
# Get the size of the dots used to mark space characters.
 
578
get int GetWhitespaceSize=2087(,)
 
579
 
574
580
# Divide each styling byte into lexical class bits (default: 5) and indicator
575
581
# bits (default: 3). If a lexer requires more than 32 lexical states, then this
576
582
# is used to expand the possible states.
1199
1205
# and then the foreground. This avoids chopping off characters that overlap the next run.
1200
1206
set void SetTwoPhaseDraw=2284(bool twoPhase,)
1201
1207
 
 
1208
# Control font anti-aliasing.
 
1209
 
 
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
 
1216
 
 
1217
# Choose the quality level for text from the FontQuality enumeration.
 
1218
set void SetFontQuality=2611(int fontQuality,)
 
1219
 
 
1220
# Retrieve the quality level for text.
 
1221
get int GetFontQuality=2612(,)
 
1222
 
 
1223
# Scroll so that a display line is at the top of the display.
 
1224
set void SetFirstVisibleLine=2613(int lineDisplay,)
 
1225
 
 
1226
enu MultiPaste=SC_MULTIPASTE_
 
1227
val SC_MULTIPASTE_ONCE=0
 
1228
val SC_MULTIPASTE_EACH=1
 
1229
 
 
1230
# Change the effect of pasting when there are multiple selections.
 
1231
set void SetMultiPaste=2614(int multiPaste,)
 
1232
 
 
1233
# Retrieve the effect of pasting when there are multiple selections..
 
1234
get int GetMultiPaste=2615(,)
 
1235
 
 
1236
# Retrieve the value of a tag from a regular expression search.
 
1237
fun int GetTag=2616(int tagNumber, stringresult tagValue)
 
1238
 
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(,)
1204
1241
 
1637
1674
val SC_SEL_STREAM=0
1638
1675
val SC_SEL_RECTANGLE=1
1639
1676
val SC_SEL_LINES=2
 
1677
val SC_SEL_THIN=3
1640
1678
 
1641
 
# Set the selection mode to stream (SC_SEL_STREAM) or rectangular (SC_SEL_RECTANGLE) or
 
1679
# Set the selection mode to stream (SC_SEL_STREAM) or rectangular (SC_SEL_RECTANGLE/SC_SEL_THIN) or
1642
1680
# by lines (SC_SEL_LINES).
1643
1681
set void SetSelectionMode=2422(int mode,)
1644
1682
 
1717
1755
# Get currently selected item position in the auto-completion list
1718
1756
fun int AutoCGetCurrent=2445(,)
1719
1757
 
 
1758
# Get currently selected item text in the auto-completion list
 
1759
# Returns the length of the item text
 
1760
fun int AutoCGetCurrentText=2610(, stringresult s)
 
1761
 
1720
1762
# Enlarge the document to a particular size of text bytes.
1721
1763
fun void Allocate=2446(int bytes,)
1722
1764
 
1926
1968
# Return INVALID_POSITION if not close to text.
1927
1969
fun position CharPositionFromPointClose=2562(int x, int y)
1928
1970
 
 
1971
# Set whether multiple selections can be made
 
1972
set void SetMultipleSelection=2563(bool multipleSelection,)
 
1973
 
 
1974
# Whether multiple selections can be made
 
1975
get bool GetMultipleSelection=2564(,)
 
1976
 
 
1977
# Set whether typing can be performed into multiple selections
 
1978
set void SetAdditionalSelectionTyping=2565(bool additionalSelectionTyping,)
 
1979
 
 
1980
# Whether typing can be performed into multiple selections
 
1981
get bool GetAdditionalSelectionTyping=2566(,)
 
1982
 
 
1983
# Set whether additional carets will blink
 
1984
set void SetAdditionalCaretsBlink=2567(bool additionalCaretsBlink,)
 
1985
 
 
1986
# Whether additional carets will blink
 
1987
get bool GetAdditionalCaretsBlink=2568(,)
 
1988
 
 
1989
# Set whether additional carets are visible
 
1990
set void SetAdditionalCaretsVisible=2608(bool additionalCaretsBlink,)
 
1991
 
 
1992
# Whether additional carets are visible
 
1993
get bool GetAdditionalCaretsVisible=2609(,)
 
1994
 
 
1995
# How many selections are there?
 
1996
get int GetSelections=2570(,)
 
1997
 
 
1998
# Clear selections to a single empty stream selection
 
1999
fun void ClearSelections=2571(,)
 
2000
 
 
2001
# Set a simple selection
 
2002
fun int SetSelection=2572(int caret,int anchor)
 
2003
 
 
2004
# Add a selection
 
2005
fun int AddSelection=2573(int caret,int anchor)
 
2006
 
 
2007
# Set the main selection
 
2008
set void SetMainSelection=2574(int selection,)
 
2009
 
 
2010
# Which selection is the main selection
 
2011
get int GetMainSelection=2575(,)
 
2012
 
 
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,)
 
2021
 
 
2022
# Sets the position that starts the selection - this becomes the anchor.
 
2023
set void SetSelectionNStart=2584(int selection, position pos)
 
2024
 
 
2025
# Returns the position at the start of the selection.
 
2026
get position GetSelectionNStart=2585(int selection,)
 
2027
 
 
2028
# Sets the position that ends the selection - this becomes the currentPosition.
 
2029
set void SetSelectionNEnd=2586(int selection, position pos,)
 
2030
 
 
2031
# Returns the position at the end of the selection.
 
2032
get position GetSelectionNEnd=2587(int selection,)
 
2033
 
 
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(,)
 
2042
 
 
2043
enu VirtualSpace=SCVS_
 
2044
val SCVS_NONE=0
 
2045
val SCVS_RECTANGULARSELECTION=1
 
2046
val SCVS_USERACCESSIBLE=2
 
2047
 
 
2048
set void SetVirtualSpaceOptions=2596(int virtualSpaceOptions,)
 
2049
get int GetVirtualSpaceOptions=2597(,)
 
2050
 
 
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.
 
2055
 
 
2056
set void SetRectangularSelectionModifier=2598(int modifier,)
 
2057
 
 
2058
# Get the modifier key used for rectangular selection.
 
2059
get int GetRectangularSelectionModifier=2599(,)
 
2060
 
 
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,)
 
2064
 
 
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,)
 
2068
 
 
2069
# Set the alpha of the selection.
 
2070
set void SetAdditionalSelAlpha=2602(int alpha,)
 
2071
 
 
2072
# Get the alpha of the selection.
 
2073
get int GetAdditionalSelAlpha=2603(,)
 
2074
 
 
2075
# Set the foreground colour of additional carets.
 
2076
set void SetAdditionalCaretFore=2604(colour fore,)
 
2077
 
 
2078
# Get the foreground colour of additional carets.
 
2079
get colour GetAdditionalCaretFore=2605(,)
 
2080
 
 
2081
# Set the main selection to the next selection.
 
2082
fun void RotateSelection=2606(,)
 
2083
 
 
2084
# Swap that caret and anchor of the main selection.
 
2085
fun void SwapMainAnchorCaret=2607(,)
 
2086
 
1929
2087
# Start notifying the container of all key presses and commands.
1930
2088
fun void StartRecord=3001(,)
1931
2089
 
1970
2128
# Retrieve the number of bits the current lexer needs for styling.
1971
2129
get int GetStyleBitsNeeded=4011(,)
1972
2130
 
 
2131
# Retrieve the name of the lexer.
 
2132
# Return the length of the text.
 
2133
get int GetLexerLanguage=4012(, stringresult text)
 
2134
 
1973
2135
# Notifications
1974
2136
# Type of modification and the action which caused the modification.
1975
2137
# These are defined as a bit mask to make it easy to specify which notifications are wanted.
2035
2197
val SCMOD_SHIFT=1
2036
2198
val SCMOD_CTRL=2
2037
2199
val SCMOD_ALT=4
 
2200
val SCMOD_SUPER=8
2038
2201
 
2039
2202
################################################
2040
2203
# For SciLexer.h
2743
2906
val SCE_CSS_EXTENDED_IDENTIFIER=19
2744
2907
val SCE_CSS_EXTENDED_PSEUDOCLASS=20
2745
2908
val SCE_CSS_EXTENDED_PSEUDOELEMENT=21
 
2909
val SCE_CSS_MEDIA=22
2746
2910
# Lexical states for SCLEX_POV
2747
2911
lex POV=SCLEX_POV SCE_POV_
2748
2912
val SCE_POV_DEFAULT=0
2918
3082
val SCE_ERLANG_CHARACTER=9
2919
3083
val SCE_ERLANG_MACRO=10
2920
3084
val SCE_ERLANG_RECORD=11
2921
 
val SCE_ERLANG_SEPARATOR=12
 
3085
val SCE_ERLANG_PREPROC=12
2922
3086
val SCE_ERLANG_NODE_NAME=13
 
3087
val SCE_ERLANG_COMMENT_FUNCTION=14
 
3088
val SCE_ERLANG_COMMENT_MODULE=15
 
3089
val SCE_ERLANG_COMMENT_DOC=16
 
3090
val SCE_ERLANG_COMMENT_DOC_MACRO=17
 
3091
val SCE_ERLANG_ATOM_QUOTED=18
 
3092
val SCE_ERLANG_MACRO_QUOTED=19
 
3093
val SCE_ERLANG_RECORD_QUOTED=20
 
3094
val SCE_ERLANG_NODE_NAME_QUOTED=21
 
3095
val SCE_ERLANG_BIFS=22
 
3096
val SCE_ERLANG_MODULES=23
 
3097
val SCE_ERLANG_MODULES_ATT=24
2923
3098
val SCE_ERLANG_UNKNOWN=31
2924
3099
# Lexical states for SCLEX_OCTAVE are identical to MatLab
2925
3100
lex Octave=SCLEX_OCTAVE SCE_MATLAB_
3214
3389
val SCE_ST_CHARACTER=15
3215
3390
val SCE_ST_SPEC_SEL=16
3216
3391
# Lexical states for SCLEX_FLAGSHIP (clipper)
3217
 
lex FlagShip=SCLEX_FLAGSHIP SCE_B_
 
3392
lex FlagShip=SCLEX_FLAGSHIP SCE_FS_
3218
3393
val SCE_FS_DEFAULT=0
3219
3394
val SCE_FS_COMMENT=1
3220
3395
val SCE_FS_COMMENTLINE=2
3234
3409
val SCE_FS_DATE=16
3235
3410
val SCE_FS_STRINGEOL=17
3236
3411
val SCE_FS_CONSTANT=18
3237
 
val SCE_FS_ASM=19
3238
 
val SCE_FS_LABEL=20
3239
 
val SCE_FS_ERROR=21
3240
 
val SCE_FS_HEXNUMBER=22
3241
 
val SCE_FS_BINNUMBER=23
 
3412
val SCE_FS_WORDOPERATOR=19
 
3413
val SCE_FS_DISABLEDCODE=20
 
3414
val SCE_FS_DEFAULT_C=21
 
3415
val SCE_FS_COMMENTDOC_C=22
 
3416
val SCE_FS_COMMENTLINEDOC_C=23
 
3417
val SCE_FS_KEYWORD_C=24
 
3418
val SCE_FS_KEYWORD2_C=25
 
3419
val SCE_FS_NUMBER_C=26
 
3420
val SCE_FS_STRING_C=27
 
3421
val SCE_FS_PREPROCESSOR_C=28
 
3422
val SCE_FS_OPERATOR_C=29
 
3423
val SCE_FS_IDENTIFIER_C=30
 
3424
val SCE_FS_STRINGEOL_C=31
3242
3425
# Lexical states for SCLEX_CSOUND
3243
3426
lex Csound=SCLEX_CSOUND SCE_CSOUND_
3244
3427
val SCE_CSOUND_DEFAULT=0
3265
3448
val SCE_INNO_PARAMETER=3
3266
3449
val SCE_INNO_SECTION=4
3267
3450
val SCE_INNO_PREPROC=5
3268
 
val SCE_INNO_PREPROC_INLINE=6
3269
3451
val SCE_INNO_INLINE_EXPANSION=6
3270
3452
val SCE_INNO_COMMENT_PASCAL=7
3271
3453
val SCE_INNO_KEYWORD_PASCAL=8