editor.indentguide = true: show indentation guides ( v0.90+).editor.fontsize = 11: set font size (the default value is 12 on macOS).editor.fontname = "Courier New": set font name.Other values (can be combined): wxstc.wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED (draw line above if expanded), wxstc.wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED (draw line above if contracted), wxstc.wxSTC_FOLDFLAG_LINEAFTER_EXPANDED (draw line below if expanded), and wxstc.wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED (draw line below if contracted). editor.foldflags = wxstc.wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED: set folding flags that control how folded lines are indicated in the text area ( v0.51+) set to 0 to disable all indicator lines.editor.foldtype = 'box': set folding style with box, circle, arrow, and plus as accepted values ( v0.51+).editor.foldcompact = true: set compact fold that includes empty lines after a block.editor.fold = true: enable folding ( v0.39+).editor.extradescent = nil: extra spacing (in pixels) below the baseline ( v0.61+).editor.extraascent = nil: extra spacing (in pixels) above the baseline ( v0.51+).Set to false to allow scrolling one page below the last line. editor.endatlastline = true: set the scroll range so that maximum scroll position has the last line at the bottom of the view ( v1.71+).The color of the characters or the edge line is controlled by configuration setting. Set to wxstc.wxSTC_EDGE_BACKGROUND to display as a different background color of characters after the column limit. Set to wxstc.wxSTC_EDGE_LINE to display as a line or editor.edgemode = wxstc.wxSTC_EDGE_NONE: set how the edge for the long lines is displayed ( v1.61+).Set to true to enable (at 80 columns) or to a number to set to specific column. editor.edge = false: set editor edge to mark lines that exceed a given length ( v1.61+).faulteol = nil: default EOL encoding ( wxstc.wxSTC_EOL_CRLF or wxstc.wxSTC_EOL_LF).When set to true, each line is toggled individually (so commented lines will be uncommented),īut when set to false, all lines will be commented out. The difference can be seen on a fragment that includes a mix of regular and commented lines mentlinetoggle = false: set to toggle comments all at once (when set to false) or line-by-line (when set to true) ( v1.31+).editor.checkeol = true: check for mixed end-of-line encodings in loaded files set to nil or false to disable.editor.caretline = true: show caret line.editor.calltipdelay = 500: calltip delay set to nil or 0 to disable.editor.backspaceunindent = true: remove one level of indentation when use backspace on a tab stop set to false to disable.toreload = true: auto-reload externally modified files (if no conflict detected).toactivate = false: auto-activate files during debugging.To modify default editor preferences, you can use these commands and apply themĪs described in the configuration section
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |