diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ba24a5..b3851b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [Unreleased] +### Fixed +- Fixes [#265](https://github.com/eamodio/vscode-gitlens/issues/265) - Delete line pushes screen to the right (even if word wrap is on) + ## [7.5.8] - 2018-01-29 ### Fixed - Fixes regression working with submodules diff --git a/src/annotations/annotationController.ts b/src/annotations/annotationController.ts index 8ae84c6..8eb6607 100644 --- a/src/annotations/annotationController.ts +++ b/src/annotations/annotationController.ts @@ -26,7 +26,7 @@ export enum AnnotationClearReason { export const Decorations = { blameAnnotation: window.createTextEditorDecorationType({ isWholeLine: true, - rangeBehavior: DecorationRangeBehavior.ClosedClosed, + rangeBehavior: DecorationRangeBehavior.ClosedOpen, textDecoration: 'none' } as DecorationRenderOptions), blameHighlight: undefined as TextEditorDecorationType | undefined, diff --git a/src/currentLineController.ts b/src/currentLineController.ts index 5223ea1..547576d 100644 --- a/src/currentLineController.ts +++ b/src/currentLineController.ts @@ -15,7 +15,7 @@ const annotationDecoration: TextEditorDecorationType = window.createTextEditorDe margin: '0 0 0 3em', textDecoration: 'none' }, - rangeBehavior: DecorationRangeBehavior.ClosedClosed + rangeBehavior: DecorationRangeBehavior.ClosedOpen } as DecorationRenderOptions); class AnnotationState {