-
Notifications
You must be signed in to change notification settings - Fork 35
Commit 61d53b2
committed
Add new Markdown source file type.
Added sfMarkdown element to TSourceFileType enumerated type.
The new sfMarkdown element broke TSaveSnippetMgr.GetFileTypeDesc and
TSaveUnitMgr.GetFileTypeDesc which assumed that all TSourceFileType
values were supported, and so don't check for any file type that may not
be supported. To enable such checks to be made a new
TSourceFileInfo.SupportsFileType method was added to check if a file
type is supported.
Updated the Code Formatting tab of the Preferences dialogue box with the
options to set Markdown as the default source file type.1 parent 6934645 commit 61d53b2
File tree
5 files changed
+37
-10
lines changed- Src
5 files changed
+37
-10
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
130 | + | ||
130 | 131 |
| |
131 | 132 |
| |
132 | 133 |
| |
133 | 134 |
| |
134 | 135 |
| |
135 | - | ||
136 | + | ||
137 | + | ||
136 | 138 |
| |
137 | 139 |
| |
138 | 140 |
| |
|
Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
171 | 171 |
| |
172 | 172 |
| |
173 | 173 |
| |
174 | - | ||
174 | + | ||
175 | + | ||
175 | 176 |
| |
176 | 177 |
| |
178 | + | ||
179 | + | ||
177 | 180 |
| |
178 | 181 |
| |
179 | 182 |
| |
|
Lines changed: 10 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
181 | 181 |
| |
182 | 182 |
| |
183 | 183 |
| |
184 | - | ||
185 | - | ||
186 | - | ||
187 | - | ||
188 | - | ||
184 | + | ||
185 | + | ||
186 | + | ||
187 | + | ||
188 | + | ||
189 | + | ||
190 | + | ||
191 | + | ||
189 | 192 |
| |
190 | 193 |
| |
191 | 194 |
| |
| |||
317 | 320 |
| |
318 | 321 |
| |
319 | 322 |
| |
320 | - | ||
323 | + | ||
324 | + | ||
321 | 325 |
| |
322 | 326 |
| |
323 | 327 |
| |
|
Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
242 | 242 |
| |
243 | 243 |
| |
244 | 244 |
| |
245 | - | ||
245 | + | ||
246 | + | ||
246 | 247 |
| |
247 | 248 |
| |
249 | + | ||
250 | + | ||
248 | 251 |
| |
249 | 252 |
| |
250 | 253 |
| |
|
Lines changed: 16 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 | - | ||
35 | + | ||
36 | + | ||
36 | 37 |
| |
37 | 38 |
| |
38 | 39 |
| |
| |||
132 | 133 |
| |
133 | 134 |
| |
134 | 135 |
| |
136 | + | ||
137 | + | ||
138 | + | ||
139 | + | ||
140 | + | ||
141 | + | ||
142 | + | ||
135 | 143 |
| |
136 | 144 |
| |
137 | 145 |
| |
138 | 146 |
| |
139 | 147 |
| |
140 | 148 |
| |
141 | 149 |
| |
150 | + | ||
142 | 151 |
| |
143 | 152 |
| |
144 | 153 |
| |
| |||
243 | 252 |
| |
244 | 253 |
| |
245 | 254 |
| |
255 | + | ||
256 | + | ||
257 | + | ||
258 | + | ||
259 | + | ||
260 | + | ||
246 | 261 |
| |
247 | 262 |
| |
248 | 263 |
| |
|
0 commit comments