C# 클래스 _3PA.MainFeatures.Style

This class handles the Styles of scintilla
파일 보기 프로젝트 열기: jcaillon/3P

공개 메소드들

메소드 설명
ImportList ( ) : void

Called when the list of themes is imported

InstallUdl ( bool onlyCheckInstall = false ) : bool

check if the User Defined Language for "OpenEdgeABL" exists in the userDefineLang.xml file, if it does it updates it, if it doesn't exists it creates it and asks the user to restart Notepad++ Can also only check and not install it by setting onlyCheckInstall to true

IsCarretInNormalContext ( int curPos ) : bool

Is the caret not in : an include, a string, a comment

IsNormalContext ( UdlStyles context ) : bool

Is the caret not in : a string, a comment

SetFontStyle ( byte styleNumber, StyleThemeItem styleItem ) : void
SetSyntaxStyles ( ) : void

Call this method to set the back/fore color and font type of each type used in 3P according to the styles defined in the SyntaxHighlighting file

비공개 메소드들

메소드 설명
SetErrorStyles ( byte errorLevel, Color bgColor, Color fgColor ) : void

Sets a style for an Error annotation (reduced font + segoe ui) and for markers

메소드 상세

ImportList() 공개 정적인 메소드

Called when the list of themes is imported
public static ImportList ( ) : void
리턴 void

InstallUdl() 공개 정적인 메소드

check if the User Defined Language for "OpenEdgeABL" exists in the userDefineLang.xml file, if it does it updates it, if it doesn't exists it creates it and asks the user to restart Notepad++ Can also only check and not install it by setting onlyCheckInstall to true
public static InstallUdl ( bool onlyCheckInstall = false ) : bool
onlyCheckInstall bool
리턴 bool

IsCarretInNormalContext() 공개 정적인 메소드

Is the caret not in : an include, a string, a comment
public static IsCarretInNormalContext ( int curPos ) : bool
curPos int
리턴 bool

IsNormalContext() 공개 정적인 메소드

Is the caret not in : a string, a comment
public static IsNormalContext ( UdlStyles context ) : bool
context UdlStyles
리턴 bool

SetFontStyle() 공개 정적인 메소드

public static SetFontStyle ( byte styleNumber, StyleThemeItem styleItem ) : void
styleNumber byte
styleItem StyleThemeItem
리턴 void

SetSyntaxStyles() 공개 정적인 메소드

Call this method to set the back/fore color and font type of each type used in 3P according to the styles defined in the SyntaxHighlighting file
public static SetSyntaxStyles ( ) : void
리턴 void