diff --git a/Greenshot/Forms/ImageEditorForm.cs b/Greenshot/Forms/ImageEditorForm.cs
index 070ff4d41..7afa3d9ac 100644
--- a/Greenshot/Forms/ImageEditorForm.cs
+++ b/Greenshot/Forms/ImageEditorForm.cs
@@ -854,6 +854,12 @@ namespace Greenshot {
case Keys.OemPeriod: // Rotate CW Ctrl + .
RotateCwToolstripButtonClick(sender, e);
break;
+ case Keys.Add: // Ctrl + +
+ EnlargeCanvasToolStripMenuItemClick(sender, e);
+ break;
+ case Keys.Subtract: // Ctrl + -
+ ShrinkCanvasToolStripMenuItemClick(sender, e);
+ break;
}
}
}
@@ -1297,6 +1303,36 @@ namespace Greenshot {
UpdateUndoRedoSurfaceDependencies();
}
+ ///
+ /// Added for FEATURE-919, increasing the canvas by 25 pixels in every direction.
+ ///
+ ///
+ ///
+ private void EnlargeCanvasToolStripMenuItemClick(object sender, EventArgs e)
+ {
+ _surface.ApplyBitmapEffect(new ResizeCanvasEffect(25, 25, 25, 25));
+ UpdateUndoRedoSurfaceDependencies();
+ }
+
+ ///
+ /// Added for FEATURE-919, to make the capture as small as possible again.
+ ///
+ ///
+ ///
+ private void ShrinkCanvasToolStripMenuItemClick(object sender, EventArgs e)
+ {
+ Rectangle cropRectangle;
+ using (Image tmpImage = GetImageForExport())
+ {
+ cropRectangle = ImageHelper.FindAutoCropRectangle(tmpImage, coreConfiguration.AutoCropDifference);
+ }
+ if (_surface.IsCropPossible(ref cropRectangle))
+ {
+ _surface.ApplyCrop(cropRectangle);
+ UpdateUndoRedoSurfaceDependencies();
+ }
+ }
+
///
/// This is used when the dropshadow button is used
///
diff --git a/Greenshot/releases/additional_files/readme.txt.template b/Greenshot/releases/additional_files/readme.txt.template
index 5f93deaf5..a102c0066 100644
--- a/Greenshot/releases/additional_files/readme.txt.template
+++ b/Greenshot/releases/additional_files/readme.txt.template
@@ -9,17 +9,27 @@ All details to our tickets can be found here: https://greenshot.atlassian.net
@DETAILVERSION@
+Fixed:
+* BUG-1876: Already running message, multi user environment
+* BUG-1884: OCR has trailing blank spaces
+* BUG-1887: hang on exit - hang time proportional to number of objects
+* BUG-1890: Slight cropping around window on Windows 10
+* BUG-1892: Greenshot saves blank JPG file with reduce colors
+* BUG-1898: Specify GPLv3 in the license text
+* BUG-1918: Speechbubble issue: Artifacts appeared when shadow is on and transparency is used
+* BUG-1933: Greenshot Installer sets bad registry key permission
+* BUG-1935: Delay when pasting and ShapeShifter from FlameFusion is running
+* BUG-1941: Error when creating speech bubble
+* BUG-1945: Failure starting Greenshot at system startup
+* BUG-1949: Can't delete Imgur upload
+* BUG-1965: Activation border around window is visible in the capture
+* FEATURE-919: Allow adding of space around screenshot
+* FEATURE-945: Added environment variables to the external command
+
Open issues planned for this version:
-BUG-1887: hang on exit - hang time proportional to number of objects
BUG-1872: OneDrive prevents Greenshot hotkeys from working
-BUG-1876: Already running message, multi user environment
-BUG-1892: Greenshot saves blank JPG file with reduce colors
-BUG-1898: Specify it's GPLv3 in the license text
-BUG-1912: Translation (Enu)
FEATURE-916: Save file as icon
-FEATURE-919: Allow adding of space around screenshot
FEATURE-912: [Storage Location] Define directory pattern
-BUG-1918: Speechbubble issue: Artifacts appeared when shadow is on
1.2.8.12-cab854b RELEASE