@440bx: the types and variables naming is good (in accordance with the adopted naming convention). At most, OP should correct the name of the constant (should be in SNAKE_UPPER_CASE) and unify the indents.
The problem is that the online syntax highlighter (in this forum too) treats the name word as reserved word, not as keyword, so it sets the bold style for these words. However, the code editor in Lazarus easily distinguishes the context and always sets the correct style.