KiCad PCB EDA Suite
Loading...
Searching...
No Matches
EDITOR_SNAPSHOT Struct Reference

What the open editors and the project settings looked like on disk before an operation that may rewrite them. More...

#include <git_editor_snapshot.h>

Public Attributes

std::map< FRAME_T, DOCUMENT_SNAPSHOT > editors
 
DOCUMENT_SNAPSHOT settings
 

Detailed Description

What the open editors and the project settings looked like on disk before an operation that may rewrite them.

A default constructed snapshot holds no entries, so every file found afterwards counts as changed.

Definition at line 54 of file git_editor_snapshot.h.

Member Data Documentation

◆ editors

std::map<FRAME_T, DOCUMENT_SNAPSHOT> EDITOR_SNAPSHOT::editors

Definition at line 56 of file git_editor_snapshot.h.

Referenced by CaptureOpenEditorDocs(), and ReloadOpenEditors().

◆ settings

DOCUMENT_SNAPSHOT EDITOR_SNAPSHOT::settings

Definition at line 57 of file git_editor_snapshot.h.

Referenced by CaptureOpenEditorDocs(), and ReloadOpenEditors().


The documentation for this struct was generated from the following file: