Warning, /plasma-bigscreen/bigscreen-debos-image-rpi4/overlays/mark2/usr/share/nano/qml.nanorc is written in an unsupported language. File is not indexed.
0001 ## Syntax highlighting for QML 0002 0003 syntax "QtModelingLanguage" "\.qml$" 0004 comment "//" 0005 0006 # NOTE: Colors = black, white, blue, green, red, cyan, yellow, magenta and bright* 0007 0008 # Blocks 0009 color white start="\{" end="\}" 0010 color brightblue start="\(" end="\)" 0011 color brightwhite start=":" end="([;^\{]|$)" 0012 0013 # Javascript flow control and special keywords. 0014 color brightyellow "\b(do|while|in|if|else|switch|new|delete|instanceof|typeof)\b" 0015 color brightyellow "\b(Array|Boolean|Date|Function|Number|Object|String|RegExp)\b" 0016 color brightyellow "\b(action|alias|bool|color|date|double|enumeration|font|int)\b" 0017 color brightyellow "\b(list|point|real|rect|size|string|time|url|variant|vector3d)\b" 0018 color brightyellow "\b(with|arguments|this|var|case|default|try|catch|finally)\b" 0019 color brightyellow "\b(throw|alert|confirm|prompt|status|self|property|signal)\b" 0020 color brightyellow "\b(abstract|boolean|byte|char|class|const|debugger|enum)\b" 0021 color brightyellow "\b(export|extends|final|float|goto|implements|import|interface)\b" 0022 color brightyellow "\b(native|package|pragma|private|protected|public|short)\b" 0023 color brightyellow "\b(readonly|long|static|super|synchronized|throws|transient|volatile)\b" 0024 # Questionable keywords (remove?) 0025 color brightyellow "\b(as|await|for|each|of)\b" 0026 0027 # "Exit" points. 0028 color magenta "\b(break|continue|return|yield)\b" 0029 0030 # Base QML Classes 0031 color green "\b(Text|Item|Column|Rectangle|Canvas|Layout|ColumnLayout|RowLayout|Image|TextInput)\b" 0032 0033 # Unrecognized properties 0034 color brightblack "^\s*[a-z,A-Z,0-9\.]*:" 0035 # Special Properties 0036 color brightgreen "id:|width:|height:" 0037 color magenta "\b(true|false|undefined|null)\b" 0038 # Common Properties 0039 color brightgreen "UnknownProperty:|BackgroundColor:|Color:|Float:|Font:|FontFamily:|FontSize:" 0040 color brightgreen "FontStyle:|FontWeight:|Margin:|MarginBottom:|MarginLeft:|MarginRight:" 0041 color brightgreen "MarginTop:|QtBlockIndent:|QtListIndent:|QtParagraphType:|QtTableType:" 0042 color brightgreen "QtUserState:|TextDecoration:|TextIndent:|TextUnderlineStyle:|VerticalAlignment:" 0043 color brightgreen "Whitespace:|QtSelectionForeground:|QtSelectionBackground:|Border:|BorderLeft:" 0044 color brightgreen "BorderRight:|BorderTop:|BorderBottom:|Padding:|PaddingLeft:|PaddingRight:" 0045 color brightgreen "PaddingTop:|PaddingBottom:|PageBreakBefore:|PageBreakAfter:|QtAlternateBackground:" 0046 color brightgreen "BorderLeftStyle:|BorderRightStyle:|BorderTopStyle:|BorderBottomStyle:|BorderStyles:" 0047 color brightgreen "BorderLeftColor:|BorderRightColor:|BorderTopColor:|BorderBottomColor:|BorderColor:" 0048 color brightgreen "BorderLeftWidth:|BorderRightWidth:|BorderTopWidth:|BorderBottomWidth:|BorderWidth:" 0049 color brightgreen "BorderTopLeftRadius:|BorderTopRightRadius:|BorderBottomLeftRadius:" 0050 color brightgreen "BorderBottomRightRadius:|BorderRadius:|Background:|BackgroundOrigin:|BackgroundClip:" 0051 color brightgreen "BackgroundRepeat:|BackgroundPosition:|BackgroundAttachment:|BackgroundImage:" 0052 color brightgreen "BorderImage:|QtSpacing:|Width:|Height:|MinimumWidth:|MinimumHeight:|MaximumWidth:" 0053 color brightgreen "MaximumHeight:|QtImage:|Left:|Right:|Top:|Bottom:|QtOrigin:|QtPosition:|Position:" 0054 color brightgreen "QtStyleFeatures:|QtBackgroundRole:|ListStyleType:|ListStyle:|QtImageAlignment:" 0055 color brightgreen "TextAlignment:|Outline:|OutlineOffset:|OutlineWidth:|OutlineColor:|OutlineStyle:" 0056 color brightgreen "OutlineRadius:|OutlineTopLeftRadius:|OutlineTopRightRadius:|OutlineBottomLeftRadius:" 0057 color brightgreen "OutlineBottomRightRadius:|FontVariant:|TextTransform:|QtListNumberPrefix:" 0058 color brightgreen "QtListNumberSuffix:|LineHeight:|QtLineHeightType:|FontKerning:|NumProperties:" 0059 0060 # Octal/decimal and hexadecimal numbers. 0061 color brightmagenta "\<[0-9]+\>" "\<0x[0-9A-Fa-f]+\>" 0062 0063 # Strings. 0064 color brightblack ""(\\.|[^"])*"" "'(\\.|[^'])*'" "`(\\.|[^`])*`" 0065 0066 # Comments. 0067 color cyan "//.*$" 0068 color cyan start="/\*" end="\*/" 0069 0070 # Trailing whitespace. 0071 color ,green "[[:space:]]+$" 0072 0073 # Special characters 0074 color white "&&|\|\||=|!==|==|;|:|\{|\}"