diff --git a/QuickLook.Plugin/QuickLook.Plugin.TextViewer/TextViewerPanel.cs b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/TextViewerPanel.cs index 0b65957..14755ed 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.TextViewer/TextViewerPanel.cs +++ b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/TextViewerPanel.cs @@ -124,6 +124,13 @@ public partial class TextViewerPanel : TextEditor, IDisposable else if (Keyboard.IsKeyDown(Key.LeftShift)) FlowDirection = System.Windows.FlowDirection.LeftToRight; } + else if (Keyboard.IsKeyDown(Key.LeftAlt) || Keyboard.IsKeyDown(Key.RightAlt)) + { + if (Keyboard.IsKeyDown(Key.Z)) + { + WordWrap = !WordWrap; + } + } } private class TruncateLongLines : VisualLineElementGenerator