Sfoglia il codice sorgente

Fixes #265 - use ClosedOpen decoration behavior

main
Eric Amodio 6 anni fa
parent
commit
73f58b0b54
3 ha cambiato i file con 6 aggiunte e 2 eliminazioni
  1. +4
    -0
      CHANGELOG.md
  2. +1
    -1
      src/annotations/annotationController.ts
  3. +1
    -1
      src/currentLineController.ts

+ 4
- 0
CHANGELOG.md Vedi File

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

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

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

Caricamento…
Annulla
Salva