Dear All!
Observing the strange highlighting depending on the presence of a [seemingly irrelevant] apostrophe:
Is rendered as (Stata 17, Windows, language setting: ado):

I prefer the way it is rendered in line 6, but have no idea why the apostrophe triggers a different treatment. The problem is not there when I use regular double-quotes instead of the compound quotes as shown.
The problem seems to apply to the do-editor only, the code runs correctly in Stata regardless of how it is highlighted in do-editor.
Best, Sergiy
Observing the strange highlighting depending on the presence of a [seemingly irrelevant] apostrophe:
Code:
display as error `"Error! Something doesnt have a variable label yet."' display as error `"Error! Something doesn't have a variable label yet."'
I prefer the way it is rendered in line 6, but have no idea why the apostrophe triggers a different treatment. The problem is not there when I use regular double-quotes instead of the compound quotes as shown.
The problem seems to apply to the do-editor only, the code runs correctly in Stata regardless of how it is highlighted in do-editor.
Best, Sergiy