
Hi guys,
I'm not really sure if this is a bug or by design, but it seems that if a character is not a part of the language definition, it will still be read as a token, but its key will be set to null. This can be seen e.g. in the PHP language, where ; (which means the same in PHP as in C#) has not been defined. In the SDI Code Editor you can even see that the key is null by setting the cursor just before a semicolon. Is this by design? In SE for WinForms, the key would be set to Default, which I think makes pretty good sense. My problem obviously is that I have quite a bit of code which doesn't really expects a null reference when the token is defined. Please let me know your thoughts on this :)
I'm not really sure if this is a bug or by design, but it seems that if a character is not a part of the language definition, it will still be read as a token, but its key will be set to null. This can be seen e.g. in the PHP language, where ; (which means the same in PHP as in C#) has not been defined. In the SDI Code Editor you can even see that the key is null by setting the cursor just before a semicolon. Is this by design? In SE for WinForms, the key would be set to Default, which I think makes pretty good sense. My problem obviously is that I have quite a bit of code which doesn't really expects a null reference when the token is defined. Please let me know your thoughts on this :)