⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scintilla.iface

📁 porting scintilla to qt
💻 IFACE
📖 第 1 页 / 共 5 页
字号:
# Enable / Disable underlining active hotspots.set void SetHotspotActiveUnderline=2412(bool underline,)# Get whether underlining for active hotspots.get bool GetHotspotActiveUnderline=2496(,)# Limit hotspots to single line so hotspots on two lines don't merge.set void SetHotspotSingleLine=2421(bool singleLine,)# Get the HotspotSingleLine propertyget bool GetHotspotSingleLine=2497(,)# Move caret between paragraphs (delimited by empty lines).fun void ParaDown=2413(,)fun void ParaDownExtend=2414(,)fun void ParaUp=2415(,)fun void ParaUpExtend=2416(,)# Given a valid document position, return the previous position taking code# page into account. Returns 0 if passed 0.fun position PositionBefore=2417(position 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.fun position PositionAfter=2418(position pos,)# Copy a range of text to the clipboard. Positions are clipped into the document.fun void CopyRange=2419(position start, position end)# Copy argument text to the clipboard.fun void CopyText=2420(int length, string text)enu SelectionMode=SC_SEL_val SC_SEL_STREAM=0val SC_SEL_RECTANGLE=1val SC_SEL_LINES=2# Set the selection mode to stream (SC_SEL_STREAM) or rectangular (SC_SEL_RECTANGLE) or# by lines (SC_SEL_LINES).set void SetSelectionMode=2422(int mode,)# Get the mode of the current selection.get int GetSelectionMode=2423(,)# Retrieve the position of the start of the selection at the given line (INVALID_POSITION if no selection on this line).fun position GetLineSelStartPosition=2424(int line,)# Retrieve the position of the end of the selection at the given line (INVALID_POSITION if no selection on this line).fun position GetLineSelEndPosition=2425(int line,)## RectExtended rectangular selection moves# Move caret down one line, extending rectangular selection to new caret position.fun void LineDownRectExtend=2426(,)# Move caret up one line, extending rectangular selection to new caret position.fun void LineUpRectExtend=2427(,)# Move caret left one character, extending rectangular selection to new caret position.fun void CharLeftRectExtend=2428(,)# Move caret right one character, extending rectangular selection to new caret position.fun void CharRightRectExtend=2429(,)# Move caret to first position on line, extending rectangular selection to new caret position.fun void HomeRectExtend=2430(,)# 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.fun void VCHomeRectExtend=2431(,)# Move caret to last position on line, extending rectangular selection to new caret position.fun void LineEndRectExtend=2432(,)# Move caret one page up, extending rectangular selection to new caret position.fun void PageUpRectExtend=2433(,)# Move caret one page down, extending rectangular selection to new caret position.fun void PageDownRectExtend=2434(,)# Move caret to top of page, or one page up if already at top of page.fun void StutteredPageUp=2435(,)# Move caret to top of page, or one page up if already at top of page, extending selection to new caret position.fun void StutteredPageUpExtend=2436(,)# Move caret to bottom of page, or one page down if already at bottom of page.fun void StutteredPageDown=2437(,)# Move caret to bottom of page, or one page down if already at bottom of page, extending selection to new caret position.fun void StutteredPageDownExtend=2438(,)# Move caret left one word, position cursor at end of word.fun void WordLeftEnd=2439(,)# Move caret left one word, position cursor at end of word, extending selection to new caret position.fun void WordLeftEndExtend=2440(,)# Move caret right one word, position cursor at end of word.fun void WordRightEnd=2441(,)# Move caret right one word, position cursor at end of word, extending selection to new caret position.fun void WordRightEndExtend=2442(,)# Set the set of characters making up whitespace for when moving or selecting by word.# Should be called after SetWordChars.set void SetWhitespaceChars=2443(, string characters)# Reset the set of characters for whitespace and word characters to the defaults.fun void SetCharsDefault=2444(,)# Get currently selected item position in the auto-completion listfun int AutoCGetCurrent=2445(,)# Enlarge the document to a particular size of text bytes.fun void Allocate=2446(int bytes,)# Returns the target converted to UTF8.# Return the length in bytes.fun int TargetAsUTF8=2447(, stringresult s)# Set the length of the utf8 argument for calling EncodedFromUTF8.# Set to -1 and the string will be measured to the first nul.fun void SetLengthForEncode=2448(int bytes,)# Translates a UTF8 string into the document encoding.# Return the length of the result in bytes.# On error return 0.fun int EncodedFromUTF8=2449(string utf8, stringresult encoded)# 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.fun int FindColumn=2456(int line, int column)# Can the caret preferred x position only be changed by explicit movement commands?get bool GetCaretSticky=2457(,)# Stop the caret preferred x position changing when the user types.set void SetCaretSticky=2458(bool useCaretStickyBehaviour,)# Switch between sticky and non-sticky: meant to be bound to a key.fun void ToggleCaretSticky=2459(,)# Enable/Disable convert-on-paste for line endingsset void SetPasteConvertEndings=2467(bool convert,)# Get convert-on-paste settingget bool GetPasteConvertEndings=2468(,)# Duplicate the selection. If selection empty duplicate the line containing the caret.fun void SelectionDuplicate=2469(,)val SC_ALPHA_TRANSPARENT=0val SC_ALPHA_OPAQUE=255val SC_ALPHA_NOALPHA=256# Set background alpha of the caret line.set void SetCaretLineBackAlpha=2470(int alpha,)# Get the background alpha of the caret line.get int GetCaretLineBackAlpha=2471(,)enu CaretStyle=CARETSTYLE_val CARETSTYLE_INVISIBLE=0val CARETSTYLE_LINE=1val CARETSTYLE_BLOCK=2# Set the style of the caret to be drawn.set void SetCaretStyle=2512(int caretStyle,)# Returns the current style of the caret.get int GetCaretStyle=2513(,)# Set the indicator used for IndicatorFillRange and IndicatorClearRangeset void SetIndicatorCurrent=2500(int indicator,)# Get the current indicatorget int GetIndicatorCurrent=2501(,)# Set the value used for IndicatorFillRangeset void SetIndicatorValue=2502(int value,)# Get the current indicator vaueget int GetIndicatorValue=2503(,)# Turn a indicator on over a range.fun void IndicatorFillRange=2504(int position, int fillLength)# Turn a indicator off over a range.fun void IndicatorClearRange=2505(int position, int clearLength)# Are any indicators present at position?fun int IndicatorAllOnFor=2506(int position,)# What value does a particular indicator have at at a position?fun int IndicatorValueAt=2507(int indicator, int position)# Where does a particular indicator start?fun int IndicatorStart=2508(int indicator, int position)# Where does a particular indicator end?fun int IndicatorEnd=2509(int indicator, int position)# Set number of entries in position cacheset void SetPositionCache=2514(int size,)# How many entries are allocated to the position cache?get int GetPositionCache=2515(,)# Copy the selection, if selection empty copy the line with the caretfun void CopyAllowLine=2519(,)# Start notifying the container of all key presses and commands.fun void StartRecord=3001(,)# Stop notifying the container of all key presses and commands.fun void StopRecord=3002(,)# Set the lexing language of the document.set void SetLexer=4001(int lexer,)# Retrieve the lexing language of the document.get int GetLexer=4002(,)# Colourise a segment of the document using the current lexing language.fun void Colourise=4003(position start, position end)# Set up a value that may be used by a lexer for some optional feature.set void SetProperty=4004(string key, string value)# Maximum value of keywordSet parameter of SetKeyWords.val KEYWORDSET_MAX=8# Set up the key words used by the lexer.set void SetKeyWords=4005(int keywordSet, string keyWords)# Set the lexing language of the document based on string name.set void SetLexerLanguage=4006(, string language)# Load a lexer library (dll / so).fun void LoadLexerLibrary=4007(, string path)# Retrieve a "property" value previously set with SetProperty.fun int GetProperty=4008(string key, stringresult buf)# Retrieve a "property" value previously set with SetProperty,# with "$()" variable replacement on returned buffer.fun int GetPropertyExpanded=4009(string key, stringresult buf)# Retrieve a "property" value previously set with SetProperty,# interpreted as an int AFTER any "$()" variable replacement.get int GetPropertyInt=4010(string key,)# Retrieve the number of bits the current lexer needs for styling.get int GetStyleBitsNeeded=4011(,)# Notifications# Type of modification and the action which caused the modification.# These are defined as a bit mask to make it easy to specify which notifications are wanted.# One bit is set from each of SC_MOD_* and SC_PERFORMED_*.enu ModificationFlags=SC_MOD_ SC_PERFORMED_ SC_LASTval SC_MOD_INSERTTEXT=0x1val SC_MOD_DELETETEXT=0x2val SC_MOD_CHANGESTYLE=0x4val SC_MOD_CHANGEFOLD=0x8val SC_PERFORMED_USER=0x10val SC_PERFORMED_UNDO=0x20val SC_PERFORMED_REDO=0x40val SC_MULTISTEPUNDOREDO=0x80val SC_LASTSTEPINUNDOREDO=0x100val SC_MOD_CHANGEMARKER=0x200val SC_MOD_BEFOREINSERT=0x400val SC_MOD_BEFOREDELETE=0x800val SC_MULTILINEUNDOREDO=0x1000val SC_STARTACTION=0x2000val SC_MOD_CHANGEINDICATOR=0x4000val SC_MOD_CHANGELINESTATE=0x8000val SC_MODEVENTMASKALL=0xFFFF# For compatibility, these go through the COMMAND notification rather than NOTIFY# and should have had exactly the same values as the EN_* constants.# Unfortunately the SETFOCUS and KILLFOCUS are flipped over from EN_*# As clients depend on these constants, this will not be changed.val SCEN_CHANGE=768val SCEN_SETFOCUS=512val SCEN_KILLFOCUS=256# Symbolic key codes and modifier flags.# ASCII and other printable characters below 256.# Extended keys above 300.enu Keys=SCK_val SCK_DOWN=300val SCK_UP=301val SCK_LEFT=302val SCK_RIGHT=303val SCK_HOME=304val SCK_END=305val SCK_PRIOR=306val SCK_NEXT=307val SCK_DELETE=308val SCK_INSERT=309val SCK_ESCAPE=7val SCK_BACK=8val SCK_TAB=9val SCK_RETURN=13val SCK_ADD=310val SCK_SUBTRACT=311val SCK_DIVIDE=312val SCK_WIN=313val SCK_RWIN=314val SCK_MENU=315enu KeyMod=SCMOD_val SCMOD_NORM=0val SCMOD_SHIFT=1val SCMOD_CTRL=2val SCMOD_ALT=4################################################# For SciLexer.henu Lexer=SCLEX_val SCLEX_CONTAINER=0val SCLEX_NULL=1val SCLEX_PYTHON=2val SCLEX_CPP=3val SCLEX_HTML=4val SCLEX_XML=5val SCLEX_PERL=6val SCLEX_SQL=7val SCLEX_VB=8val SCLEX_PROPERTIES=9val SCLEX_ERRORLIST=10val SCLEX_MAKEFILE=11val SCLEX_BATCH=12val SCLEX_XCODE=13val SCLEX_LATEX=14val SCLEX_LUA=15val SCLEX_DIFF=16val SCLEX_CONF=17val SCLEX_PASCAL=18val SCLEX_AVE=19val SCLEX_ADA=20val SCLEX_LISP=21val SCLEX_RUBY=22val SCLEX_EIFFEL=23val SCLEX_EIFFELKW=24val SCLEX_TCL=25val SCLEX_NNCRONTAB=26val SCLEX_BULLANT=27val SCLEX_VBSCRIPT=28val SCLEX_BAAN=31val SCLEX_MATLAB=32val SCLEX_SCRIPTOL=33val SCLEX_ASM=34val SCLEX_CPPNOCASE=35val SCLEX_FORTRAN=36val SCLEX_F77=37val SCLEX_CSS=38val SCLEX_POV=39val SCLEX_LOUT=40val SCLEX_ESCRIPT=41val SCLEX_PS=42val SCLEX_NSIS=43val SCLEX_MMIXAL=44val SCLEX_CLW=45val SCLEX_CLWNOCASE=46val SCLEX_LOT=47val SCLEX_YAML=48val SCLEX_TEX=49val SCLEX_METAPOST=50val SCLEX_POWERBASIC=51val SCLEX_FORTH=52val SCLEX_ERLANG=53val SCLEX_OCTAVE=54val SCLEX_MSSQL=55val SCLEX_VERILOG=56val SCLEX_KIX=57val SCLEX_GUI4CLI=58val SCLEX_SPECMAN=59val SCLEX_AU3=60val SCLEX_APDL=61val SCLEX_BASH=62val SCLEX_ASN1=63val SCLEX_VHDL=64val SCLEX_CAML=65val SCLEX_BLITZBASIC=66val SCLEX_PUREBASIC=67val SCLEX_HASKELL=68val SCLEX_PHPSCRIPT=69val S

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -