some changes in themes
[C++] changes in the 'directive' state
[PHP] improved namespace recognition
minor fixes in stylesheet
fixed setTextAfter
update demo