Nathan Hawes
e5426ecfa5
Revert "[SyntaxColor] Improve highligting of multiline strings"
...
This reverts commit 86d0fc37bc .
This was causing a performance regression.
Resolves rdar://problem/32434045
2017-05-26 16:46:03 -07:00
Nathan Hawes
56fb4a5d9f
[SyntaxColor] Improve highligting of multiline strings
...
Multiline strings (and multiline tokens in general) were not well supported by the existing highlighting logic. Edits
on one line can make tokens appear/disappear on previous and later lines, which broke assumptions in the existing
logic, and left odd ranges of source unhighlighted or out of date. This patch accounts for these changes, and also
changes unterminated multiline (and regular strings) to still be highlighted as strings, so the rest of the
file doesn't look like plain text.
Resolves rdar://problem/32148117.
2017-05-22 16:53:32 -07:00
Xi Ge
df64cd7686
Formatting: Avoid formatting multi-line string literals since it may change behavior. rdar://32135036 ( #9582 )
2017-05-13 18:21:18 -07:00
practicalswift
6d1ae2a39c
[gardening] 2016 → 2017
2017-01-06 16:41:22 +01:00
practicalswift
797b80765f
[gardening] Use the correct base URL ( https://swift.org ) in references to the Swift website
...
Remove all references to the old non-TLS enabled base URL (http://swift.org )
2016-11-20 17:36:03 +01:00
Daniel Duan
d0de084a79
[swift-format] add option to indent switch block
...
add a boolean option to indent switch's block:
```
// with -indent-switch-case
switch xyz {
case .x:
doSomething()
}
```
```
// without -indent-switch-case
switch xyz {
case .x:
doSomething()
}
```
2016-11-03 19:48:41 -07:00
practicalswift
d00a5ef814
[gardening] Weekly gardening: typos, duplicate includes, header formatting, etc.
2016-03-24 22:41:10 +01:00
practicalswift
ac87f428ea
[gardening] Fix formatting of recently introduced headers.
2016-03-22 21:36:09 +01:00
John Regner
5b9fc3d832
[SourceKit] Add reformat function to libIDE
...
Move all the rest of the code formatters and helper classes out of the interface.
2016-03-18 21:37:00 -07:00
John Regner
e63678579b
[SourceKit] Moved Formatting files into place in libIDE
2016-03-18 21:19:57 -07:00