Bug 498399

Summary: Make character count start from 0 in Kate and KWrite
Product: [Applications] kate Reporter: letsdiskuss <kdediscuss>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: task CC: fanzhuyifan
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description letsdiskuss 2025-01-08 21:29:41 UTC
Character count starts from 1 in both Kate and KWrite, this means that when 5 characters are typed the indicator marks 6.
This is quite confusing and different from all other text editors.
Character count should start from 0, so it displays 5 after 5 characters are typed.
Comment 1 fanzhuyifan 2025-01-12 20:18:58 UTC
If you are referring to the 1:x thing, then it is linenumber:column number, and not a character count. The colume number starts from 1 instead of 0 because what you type will be inserted into the first colume.