-
Notifications
You must be signed in to change notification settings - Fork 7.5k
CmdPal: Plain text viewer and image viewer IContent [Experiment] #43964
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
base: main
Are you sure you want to change the base?
CmdPal: Plain text viewer and image viewer IContent [Experiment] #43964
Conversation
| if (height > 0) | ||
| { | ||
| var pageLimit = Math.Max(0, height - MaxHeightSafetyPadding); | ||
| if (ViewModel?.MaxHeight is double vmh and > 0) |
Check failure
Code scanning / check-spelling
Unrecognized Spelling Error
| var pageLimit = Math.Max(0, height - MaxHeightSafetyPadding); | ||
| if (ViewModel?.MaxHeight is double vmh and > 0) | ||
| { | ||
| ImageBorder.MaxHeight = Math.Min(pageLimit, vmh); |
Check failure
Code scanning / check-spelling
Unrecognized Spelling Error
| ImageBorder.MaxHeight = pageLimit; | ||
| } | ||
| } | ||
| else if (ViewModel?.MaxHeight is double vmh2 and > 0) |
Check failure
Code scanning / check-spelling
Unrecognized Spelling Error
| } | ||
| else if (ViewModel?.MaxHeight is double vmh2 and > 0) | ||
| { | ||
| ImageBorder.MaxHeight = vmh2; // fallback if page height not ready |
Check failure
Code scanning / check-spelling
Unrecognized Spelling Error
| Text = """ | ||
| # Sample Plain Text Content | ||
| This is a sample plain text content page. | ||
| Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. |
Check failure
Code scanning / check-spelling
Unrecognized Spelling Error
| Text = """ | ||
| # Sample Plain Text Content | ||
| This is a sample plain text content page. | ||
| Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. |
Check warning
Code scanning / check-spelling
Candidate Pattern Warning
@check-spelling-bot Report🔴 Please reviewSee the 📂 files view, the 📜action log, or 📝 job summary for details.Unrecognized words (2)Letraset To accept these unrecognized words as correct, you could run the following commands... in a clone of the [email protected]:jiripolasek/PowerToys.git repository curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/c635c2f3f714eec2fcf27b643a1919b9a811ef2e/apply.pl' |
perl - 'https://github.com/microsoft/PowerToys/actions/runs/19779793930/attempts/1' &&
git commit -m 'Update check-spelling metadata'Pattern suggestions ✂️ (1)You could add these patterns to Alternatively, if a pattern suggestion doesn't make sense for this project, add a Notices ℹ️ (1)See the 📂 files view, the 📜action log, or 📝 job summary for details.
See ℹ️ Event descriptions for more information. If the flagged items are 🤯 false positivesIf items relate to a ...
|
Summary of the Pull Request
This ii a bit ahead of its time. I need as part of yet another PoC, but it’s best to keep it separate.
This PR introduces new types of IContent:
Pictures? Pictures!
Plain text content:
Image viewer content:
Recording.2025-11-29.064042.mp4
PR Checklist
Detailed Description of the Pull Request / Additional comments
Validation Steps Performed