Skip to content

Add additional rendering Technologies#174

Merged
desjarlais merged 1 commit intodesjarlais:masterfrom
fuzzyoctopus:master
Mar 12, 2026
Merged

Add additional rendering Technologies#174
desjarlais merged 1 commit intodesjarlais:masterfrom
fuzzyoctopus:master

Conversation

@fuzzyoctopus
Copy link
Contributor

Includes an extra check for Windows 8 for Direct Write 1.1 support

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands Scintilla.NET’s rendering technology options and adds a guard to prevent selecting the DirectWrite 1.1-based mode on unsupported Windows versions.

Changes:

  • Expose additional Scintilla rendering technologies (DirectWriteRetain, DirectWriteDc, DirectWrite1) via the Technology enum.
  • Add a Windows version check when setting Scintilla.Technology to fall back from DirectWrite1 on unsupported OS versions.
  • Add the missing native constant for the DirectWrite 1.1 technology value.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
Scintilla.NET/Technology.cs Adds new Technology enum members for additional DirectWrite modes.
Scintilla.NET/Scintilla.cs Adds an OS/version gate when setting Technology.DirectWrite1.
Scintilla.NET/NativeMethods.cs Adds the native constant for the new technology mode.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@desjarlais desjarlais self-assigned this Mar 11, 2026
@desjarlais desjarlais merged commit bb904af into desjarlais:master Mar 12, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants