-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show clipboard contents in multiple line paste warning dialog #8744
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,26 @@ the MIT License. See LICENSE in the project root for license information. --> | |
x:Name="MultiLinePasteDialog" | ||
x:Uid="MultiLinePasteDialog" | ||
DefaultButton="Primary"> | ||
<StackPanel> | ||
<TextBlock | ||
x:Uid="MultiLineWarningText" | ||
TextWrapping="Wrap"> | ||
</TextBlock> | ||
<TextBlock | ||
x:Uid="ClipboardTextHeader" | ||
Margin="0,16,0,0"> | ||
</TextBlock> | ||
<ScrollViewer | ||
Margin="0,8,0,0" | ||
x:Name="ClipboardContentScrollViewer" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We don't need to name infrastructural components unless we refer to them in code 😄 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We actually refer to this one! To reset the scroll offset (the scroll offset does not reset automatically in between calls to open the dialog) |
||
MaxHeight="100"> | ||
<TextBlock | ||
x:Name="ClipboardText" | ||
PankajBhojwani marked this conversation as resolved.
Show resolved
Hide resolved
|
||
TextWrapping="Wrap" | ||
FontFamily="Cascadia Mono"> | ||
</TextBlock> | ||
</ScrollViewer> | ||
</StackPanel> | ||
</ContentDialog> | ||
|
||
<ContentDialog | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i wish we didn't have to change the key for this. I know why we have to, but this will trigger a re-localization for a string that is almost exactly the same.