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?

Investors and rental owners

Yes, it's just as the CRA says. For the part of the year you were a resident, you would have to report your world income, and for the time you were a non-resident, you only have to report the Canadian source income that's listed on the page.