RFC: Different approach to Editor tutorial (see #189) (#883)

Update test/editor code and tutorial (#189, #883)

Different, sequential approach to Editor tutorial
Co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
This commit is contained in:
Matthias Melcher 2024-01-29 11:43:34 +01:00 committed by GitHub
parent fa8799bcef
commit d9612e3cc7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1585 additions and 1194 deletions

File diff suppressed because it is too large Load Diff

View File

@ -448,7 +448,8 @@ void Fl_Text_Display::highlight_data(Fl_Text_Buffer *styleBuffer,
mHighlightCBArg = cbArg; mHighlightCBArg = cbArg;
mColumnScale = 0; mColumnScale = 0;
mStyleBuffer->canUndo(0); if (mStyleBuffer)
mStyleBuffer->canUndo(0);
damage(FL_DAMAGE_EXPOSE); damage(FL_DAMAGE_EXPOSE);
} }

File diff suppressed because it is too large Load Diff