Vixen
02b45cc4
csharp
public sealed class EditorSessionOptions

How big the editor is, where it keeps its things, and how patient a command is.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ The two directories are separate because the editor treats them as separate. One holds the user's layouts, keymap and theme; the other is the project being edited. A scenario that restarts the editor with a fresh project and the same preferences — or the reverse — is testing something real, and it cannot be written if the harness has conflated them.

Fields and properties (7)

  • public float Width

    The window's width in device-independent pixels.

  • public float Height
  • public string? DataDirectory

    Where the user's layouts, keymap and theme go, or for a fresh one.

  • public string? ProjectRoot

    The project to open, or for the scratch one under the data directory.

  • public IEditorRegistry? Extensions

    Where this session's contributions go, or for one of its own.

  • public bool InstallFonts

    Whether to borrow a font off the machine.

  • public UiTestOptions? Ui

    What the document harness underneath is given.

Used by (6)

  • DeclaredContributionTestsVixen.Editor.App.Tests
  • EditorScriptWorkflowTestsVixen.Editor.App.Tests
  • EditorSessionVixen.Editor.Testing
  • MilestoneE3TestsVixen.Editor.App.Tests
  • OutOfTreePluginTestsVixen.Editor.App.Tests
  • SettingsWindowTestsVixen.Editor.App.Tests