|
KiCad PCB EDA Suite
|
Go to the source code of this file.
Classes | |
| class | DIALOG_TEXT_DIFF |
| Read-only line diff, for the file types that have no visual diff. More... | |
Functions | |
| void | FillTextDiffControl (wxStyledTextCtrl *aCtrl, const std::vector< KIGIT::TEXT_DIFF_LINE > &aLines) |
| Fill aCtrl with a line diff, added and removed lines in the diff colours, and make it read only. | |
| void FillTextDiffControl | ( | wxStyledTextCtrl * | aCtrl, |
| const std::vector< KIGIT::TEXT_DIFF_LINE > & | aLines ) |
Fill aCtrl with a line diff, added and removed lines in the diff colours, and make it read only.
Definition at line 33 of file dialog_text_diff.cpp.
References KIGIT::ADDED, KICAD_DIFF::DIFF_COLOR_THEME::added, KIGIT::CONTEXT, KICAD_DIFF::DIFF_COLOR_THEME::ForText(), KIUI::GetMonospacedUIFont(), KIPLATFORM::UI::IsDarkTheme(), KIGIT::REMOVED, KICAD_DIFF::DIFF_COLOR_THEME::removed, STYLE_ADDED, STYLE_REMOVED, and KIGFX::COLOR4D::ToColour().
Referenced by DIALOG_TEXT_DIFF::DIALOG_TEXT_DIFF(), and GIT_FILE_DIFF_AREA::showTextDiff().