1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 15:26:00 +02:00

Fix incorrect search & replace for "char => char8" in comments

This commit is contained in:
miere43 2021-10-30 00:11:37 +03:00
parent b10edc6f0a
commit c0b787cbf0
12 changed files with 32 additions and 32 deletions

View file

@ -112,13 +112,13 @@ namespace Beefy.gfx
enum MarkPosition
{
AboveC, // Center
AboveR, // Left edge of mark aligned on center of char8
AboveE, // Center of mark aligned on right edge of char8
AboveR, // Left edge of mark aligned on center of char
AboveE, // Center of mark aligned on right edge of char
BelowC,
BelowR,
OverC,
OverE,
TopR, // Center of edge aligned to top of char8
TopR, // Center of edge aligned to top of char
}
const int32 LOW_CHAR_COUNT = 128;
@ -798,7 +798,7 @@ namespace Beefy.gfx
else if (newMatrix.tx > clipRect.mX + clipRect.mWidth)
{
isFullyClipped = true;
if ((newMatrix.a > 0) && (fontMetrics == null)) // Forward? If so, all future char8s will clip
if ((newMatrix.a > 0) && (fontMetrics == null)) // Forward? If so, all future chars will clip
break;
}
}

View file

@ -459,7 +459,7 @@ namespace Beefy.widgets
public UndoManager mUndoManager = new UndoManager() ~ delete _;
public int32 mNextCharId = 1; //
public int32 mCurTextVersionId = 1; // Changes when text is modified
//public int mCurComplexChangeId = 1; // Changes when text is modified by more than a single-char8acter insertion or deletion
//public int mCurComplexChangeId = 1; // Changes when text is modified by more than a single-character insertion or deletion
public List<EditWidgetContent> mUsers = new List<EditWidgetContent>() ~ delete _;