mirror of
https://github.com/sbt/sbt.git
synced 2026-08-28 17:13:56 +02:00
Merge
This commit is contained in:
@@ -133,7 +133,7 @@ object SessionSettings
|
||||
val offs = adjusted.size + 1
|
||||
val newWithPos = newSettings zip Range(offs, offs + 2*newSettings.size, 2) map {
|
||||
case ((s, text), line) => (s withPos RangePosition(path, LineRange(line, line + 1)), text)
|
||||
}
|
||||
}
|
||||
(newWithPos, other ++ oldShifted)
|
||||
}
|
||||
def needsTrailingBlank(lines: Seq[String]) = !lines.isEmpty && !lines.takeRight(1).exists(_.trim.isEmpty)
|
||||
|
||||
Reference in New Issue
Block a user