Kaynağa Gözat

Fixes #265 - use ClosedOpen decoration behavior

main
Eric Amodio 6 yıl önce
ebeveyn
işleme
73f58b0b54
3 değiştirilmiş dosya ile 6 ekleme ve 2 silme
  1. +4
    -0
      CHANGELOG.md
  2. +1
    -1
      src/annotations/annotationController.ts
  3. +1
    -1
      src/currentLineController.ts

+ 4
- 0
CHANGELOG.md Dosyayı Görüntüle

@ -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

+ 1
- 1
src/annotations/annotationController.ts Dosyayı Görüntüle

@ -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,

+ 1
- 1
src/currentLineController.ts Dosyayı Görüntüle

@ -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 {

Yükleniyor…
İptal
Kaydet