eric6/QScintilla/Lexers/LexerQSS.py

changeset 7267
aedc309827c7
parent 7229
53054eb5b15a
child 7360
9190402e4505
equal deleted inserted replaced
7266:d001bc703c29 7267:aedc309827c7
85 85
86 @param kwSet number of the keyword set (integer) 86 @param kwSet number of the keyword set (integer)
87 @return string giving the keywords (string) or None 87 @return string giving the keywords (string) or None
88 """ 88 """
89 if kwSet == 1: 89 if kwSet == 1:
90 return "alternate-background-color background background-color" \ 90 return (
91 " background-image background-repeat background-position" \ 91 "alternate-background-color background background-color"
92 " background-attachment background-clip background-origin" \ 92 " background-image background-repeat background-position"
93 " border border-top border-right border-bottom border-left" \ 93 " background-attachment background-clip background-origin"
94 " border-color border-top-color border-right-color" \ 94 " border border-top border-right border-bottom border-left"
95 " border-bottom-color border-left-color border-image" \ 95 " border-color border-top-color border-right-color"
96 " border-radius border-top-left-radius" \ 96 " border-bottom-color border-left-color border-image"
97 " border-top-right-radius border-bottom-right-radius" \ 97 " border-radius border-top-left-radius"
98 " border-bottom-left-radius border-style border-top-style" \ 98 " border-top-right-radius border-bottom-right-radius"
99 " border-right-style border-bottom-style border-left-style" \ 99 " border-bottom-left-radius border-style border-top-style"
100 " border-width border-top-width border-right-width" \ 100 " border-right-style border-bottom-style border-left-style"
101 " border-bottom-width border-left-width bottom button-layout" \ 101 " border-width border-top-width border-right-width"
102 " color dialogbuttonbox-buttons-have-icons font font-family" \ 102 " border-bottom-width border-left-width bottom button-layout"
103 " font-size font-style font-weight gridline-color" \ 103 " color dialogbuttonbox-buttons-have-icons font font-family"
104 " height icon-size image image-position left" \ 104 " font-size font-style font-weight gridline-color"
105 " lineedit-password-character margin margin-top margin-right" \ 105 " height icon-size image image-position left"
106 " margin-bottom margin-left max-height max-width" \ 106 " lineedit-password-character margin margin-top margin-right"
107 " messagebox-text-interaction-flags min-height min-width" \ 107 " margin-bottom margin-left max-height max-width"
108 " opacity outline padding padding-top padding-right" \ 108 " messagebox-text-interaction-flags min-height min-width"
109 " padding-bottom padding-left" \ 109 " opacity outline padding padding-top padding-right"
110 " paint-alternating-row-colors-for-empty-area" \ 110 " padding-bottom padding-left"
111 " position right selection-background-color selection-color" \ 111 " paint-alternating-row-colors-for-empty-area"
112 " show-decoration-selected spacing subcontrol-origin" \ 112 " position right selection-background-color selection-color"
113 " subcontrol-position text-align text-decoration" \ 113 " show-decoration-selected spacing subcontrol-origin"
114 " top width" \ 114 " subcontrol-position text-align text-decoration"
115 "" \ 115 " top width"
116 " backward-icon cd-icon computer-icon desktop-icon" \ 116 ""
117 " dialog-apply-icon dialog-cancel-icon dialog-close-icon" \ 117 " backward-icon cd-icon computer-icon desktop-icon"
118 " dialog-discard-icon dialog-help-icon dialog-no-icon" \ 118 " dialog-apply-icon dialog-cancel-icon dialog-close-icon"
119 " dialog-ok-icon dialog-open-icon dialog-reset-icon" \ 119 " dialog-discard-icon dialog-help-icon dialog-no-icon"
120 " dialog-save-icon dialog-yes-icon directory-closed-icon" \ 120 " dialog-ok-icon dialog-open-icon dialog-reset-icon"
121 " directory-icon directory-link-icon directory-open-icon" \ 121 " dialog-save-icon dialog-yes-icon directory-closed-icon"
122 " dockwidget-close-icon downarrow-icon dvd-icon file-icon" \ 122 " directory-icon directory-link-icon directory-open-icon"
123 " file-link-icon filedialog-contentsview-icon" \ 123 " dockwidget-close-icon downarrow-icon dvd-icon file-icon"
124 " filedialog-detailedview-icon filedialog-end-icon" \ 124 " file-link-icon filedialog-contentsview-icon"
125 " filedialog-infoview-icon filedialog-listview-icon" \ 125 " filedialog-detailedview-icon filedialog-end-icon"
126 " filedialog-new-directory-icon" \ 126 " filedialog-infoview-icon filedialog-listview-icon"
127 " filedialog-parent-directory-icon filedialog-start-icon" \ 127 " filedialog-new-directory-icon"
128 " floppy-icon forward-icon harddisk-icon home-icon" \ 128 " filedialog-parent-directory-icon filedialog-start-icon"
129 " leftarrow-icon messagebox-critical-icon" \ 129 " floppy-icon forward-icon harddisk-icon home-icon"
130 " messagebox-information-icon messagebox-question-icon" \ 130 " leftarrow-icon messagebox-critical-icon"
131 " messagebox-warning-icon network-icon rightarrow-icon" \ 131 " messagebox-information-icon messagebox-question-icon"
132 " titlebar-contexthelp-icon titlebar-maximize-icon" \ 132 " messagebox-warning-icon network-icon rightarrow-icon"
133 " titlebar-menu-icon titlebar-minimize-icon" \ 133 " titlebar-contexthelp-icon titlebar-maximize-icon"
134 " titlebar-normal-icon titlebar-shade-icon" \ 134 " titlebar-menu-icon titlebar-minimize-icon"
135 " titlebar-normal-icon titlebar-shade-icon"
135 " titlebar-unshade-icon trash-icon uparrow-icon" 136 " titlebar-unshade-icon trash-icon uparrow-icon"
137 )
136 elif kwSet == 2: 138 elif kwSet == 2:
137 return "active adjoins-item alternate bottom checked closable" \ 139 return (
138 " closed default disabled editable edit-focus enabled" \ 140 "active adjoins-item alternate bottom checked closable"
139 " exclusive first flat floatable focus has-children" \ 141 " closed default disabled editable edit-focus enabled"
140 " has-siblings horizontal hover indeterminate last left" \ 142 " exclusive first flat floatable focus has-children"
141 " maximized middle minimized movable no-frame" \ 143 " has-siblings horizontal hover indeterminate last left"
142 " non-exclusive off on only-one open next-selected" \ 144 " maximized middle minimized movable no-frame"
143 " pressed previous-selected read-only right selected top" \ 145 " non-exclusive off on only-one open next-selected"
144 " unchecked vertical window" \ 146 " pressed previous-selected read-only right selected top"
145 "" \ 147 " unchecked vertical window"
146 " add-line add-page branch chunk close-button corner" \ 148 ""
147 " down-arrow down-button drop-down float-button groove" \ 149 " add-line add-page branch chunk close-button corner"
148 " indicator handle icon item left-arrow left-corner" \ 150 " down-arrow down-button drop-down float-button groove"
149 " menu-arrow menu-button menu-indicator right-arrow" \ 151 " indicator handle icon item left-arrow left-corner"
150 " pane right-corner scroller section separator sub-line" \ 152 " menu-arrow menu-button menu-indicator right-arrow"
151 " sub-page tab tab-bar tear tearoff text title up-arrow" \ 153 " pane right-corner scroller section separator sub-line"
154 " sub-page tab tab-bar tear tearoff text title up-arrow"
152 " up-button" 155 " up-button"
156 )
153 157
154 return None 158 return None
155 159
156 def language(self): 160 def language(self):
157 """ 161 """

eric ide

mercurial