Show Object related errors in X/26 triplet list

This commit is contained in:
G.K.MacGregor
2022-04-05 22:11:01 +01:00
parent e16bb15310
commit 661a85066b
3 changed files with 31 additions and 16 deletions

View File

@@ -140,10 +140,14 @@ private:
int columnHighlight;
};
const tripletErrorShow m_tripletErrors[3] {
// Needs to be in the same order as enum X26TripletError in x26triplets.h
const tripletErrorShow m_tripletErrors[6] {
{ "", 0 }, // No error
{ "Active Position can't move up", 0 },
{ "Active Position can't move left within row", 1 }
{ "Active Position can't move left within row", 1 },
{ "Invocation not pointing to Object Definition", 3 },
{ "Invoked and Defined Object types don't match", 2 },
{ "Origin Modifier not followed by Object Invocation", 2 }
};
};