Is there a way to easily determine the current character location of the cursor from Notepad++? It would be ideal to have functionality similar to the Ln / Col / Sel area, but specifically detailing the character count up to the cursor point. Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I submitted a patch that fixes this and a few other issues with the displayed char count, a couple weeks ago. Hopefully it makes it into release code some day.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Also, just to clarify, I tried selecting the text from the first character up to the location I wanted to know the character count for, but all tabs were counted as multiple chars (# of spaces set for 'tab size'), so this isn't a good option.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Actually I just realized that it is not the tabs causing an issue in the character count, but line breaks. In any case, the characters as counted in php using strpos() produces different results than reflected in Notepad++'s 'Sel:' field. I thought this was worth noting even though it is a separate issue from my original post.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Is there a way to easily determine the current character location of the cursor from Notepad++? It would be ideal to have functionality similar to the Ln / Col / Sel area, but specifically detailing the character count up to the cursor point. Thanks.
I submitted a patch that fixes this and a few other issues with the displayed char count, a couple weeks ago. Hopefully it makes it into release code some day.
CChris
Cool, thanks for the reply. I hope it makes it in as well.
Also, just to clarify, I tried selecting the text from the first character up to the location I wanted to know the character count for, but all tabs were counted as multiple chars (# of spaces set for 'tab size'), so this isn't a good option.
Actually I just realized that it is not the tabs causing an issue in the character count, but line breaks. In any case, the characters as counted in php using strpos() produces different results than reflected in Notepad++'s 'Sel:' field. I thought this was worth noting even though it is a separate issue from my original post.