I am filing as a non-resident having left Canada in February 2022. In the statement of world income, should I only report only what I have earned when I was a resident?

Here https://www.canada.ca/en/revenue-agency/services/forms-publications/publications/t4055/t4055-newcome... it says that "You have to report your world income (in Canadian dollars) for the part of the year that you were considered a resident of Canada." so I assume the statement of world income should only report what I have earned as a resident of Canada. Could you please clarify?