aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/printing/SyntaxHighlighting.scala
Commit message (Collapse)AuthorAgeFilesLines
* Move compiler and compiler tests to compiler dirFelix Mulder2016-11-221-304/+0
|
* Fix reporting of ErrorTypes in highlighted segmentsFelix Mulder2016-10-101-14/+0
|
* Refactor explanation interpolatorFelix Mulder2016-10-101-1/+1
|
* Unrainbow syntax highlightingFelix Mulder2016-10-101-1/+3
|
* Better operator highlightingFelix Mulder2016-10-101-4/+5
|
* Improve syntax highlighting on polymorphic defsFelix Mulder2016-10-101-2/+5
|
* Improve syntax highlighting for ValDefsFelix Mulder2016-10-101-17/+37
|
* Make `FancyConsoleReporter` and `Highlighting` obey color settingFelix Mulder2016-10-101-2/+11
| | | | | | | Fancy console reporter and the string interpolator for highlighting now obey the color setting - this means that the next step towards unifying the reporters is to make sure the tests work with `FancyConsoleReporter` under the `-color:never` flag.
* Refactor common error messages to `diagnostic.basic`Felix Mulder2016-10-101-1/+1
|
* Add ability to choose between fancy and non-fancy outputFelix Mulder2016-10-101-2/+3
|
* Simplify "hl" interpolatorFelix Mulder2016-10-101-11/+2
|
* Add highlighting for `???`Felix Mulder2016-10-101-1/+6
|
* Return iterable from highlighting function instead of vectorFelix Mulder2016-10-101-2/+2
|
* Add highlighter string interpolatorFelix Mulder2016-10-101-0/+16
|
* Make inline a keywordMartin Odersky2016-10-021-1/+1
| | | | | | | `inline` is now a modifier keyword. To keep disruption tolerable, we still allow `@inline` as an annotation as well. Other uses of `inline` are supported only under `-language:Scala2` and are rewritten to identifiers in backticks.
* Fix: #1375, Infinite loop in interpreterCsongor Kiss2016-07-121-4/+9
|
* Fix #1292: give position when failing to emit switch on annotated matchFelix Mulder2016-06-021-8/+11
| | | | | | | | | | | | | | | | This fix gives the position and refactors the code that gave off warnings, but it also begs the question - should we be able to handle emitting a switch for the following case: ```scala (x: @switch) match { case 'a' if somePredicate(x) => // ... case 'b' => // ... } ``` Currently if there is a guard, the patternmatcher will fail to emit a switch. Scalac can handle these cases currently.
* Fix keywords sometimes not highlighted in multilnFelix Mulder2016-04-291-2/+2
| | | | | When enter pressed immediately after keyword, the highlighting would be aborted
* Add Ammonite's MIT licenseFelix Mulder2016-04-291-0/+262