DerTeta and Jesse Duffield
0fbde05928
Add a menu item and keybinding to } to increase the context size
2021-12-06 22:37:28 +11:00
DerTeta and Jesse Duffield
ba844c18a5
Add the DecreaseContextInDiffView function
2021-12-06 22:37:28 +11:00
DerTeta and Jesse Duffield
e1cf6912db
Add the IncreaseContextInDiffView function
2021-12-06 22:37:28 +11:00
DerTeta and Jesse Duffield
c99d373e13
Use DiffContextSize in ShowStashEntryCmdStr
2021-12-06 22:37:28 +11:00
DerTeta and Jesse Duffield
ecfafb6fbe
Use DiffContextSize in ShowCmdStr
2021-12-06 22:37:28 +11:00
DerTeta and Jesse Duffield
14d9e776be
Use DiffContextSize in ShowFileDiffStr
2021-12-06 22:37:28 +11:00
DerTeta and Jesse Duffield
ca88620e8f
Use DiffContextSize in WorkTreeFileDiffCmdStr
2021-12-06 22:37:28 +11:00
DerTeta and Jesse Duffield
9feaf5d70f
Add the DiffContextSize setting to GitConfig
...
It defaults to 3 lines, which is the default value for git.
2021-12-06 22:37:28 +11:00
DerTeta and Jesse Duffield
3e3151f86a
Fix: Don't access a view if it's nil
...
The way the `if` expression in `deactivateContext` was composed,
it was possible to have it to evaluate to `true` even though the
`view` variable was `nil`.
As far as I can tell, this seems to be only possible during tests.
Nonetheless, I think the expression looks more "correct" this way.
2021-12-06 22:37:28 +11:00